ADD_DEFINITIONS(-DPYCONSOLE_EXPORTS -DHAVE_DEBUG_PYTHON)
-ADD_LIBRARY(PyConsole STATIC
+ADD_LIBRARY(PyConsole SHARED
${PROJECT_HEADERS}
${PROJECT_SOURCES}
${TEXT_RESOURCES}
TARGET_LINK_LIBRARIES(PyConsole ${PROJECT_LIBRARIES})
-#INSTALL(TARGETS PyConsole DESTINATION bin)
+INSTALL(TARGETS PyConsole DESTINATION bin)
ADD_DEFINITIONS(-DPYEVENT_EXPORTS)
-ADD_LIBRARY(PyEvent STATIC
+ADD_LIBRARY(PyEvent SHARED
${PROJECT_SOURCES}
${PROJECT_HEADERS}
)
TARGET_LINK_LIBRARIES(PyEvent ${QT_LIBRARIES})
-#INSTALL(TARGETS PyEvent DESTINATION bin)
+INSTALL(TARGETS PyEvent DESTINATION bin)
${PROJECT_SOURCE_DIR}/src/PyEvent
)
-ADD_LIBRARY(PyInterp STATIC
+ADD_LIBRARY(PyInterp SHARED
${PROJECT_SOURCES}
${PROJECT_HEADERS}
)
TARGET_LINK_LIBRARIES(PyInterp ${PROJECT_LIBRARIES})
-#INSTALL(TARGETS PyInterp DESTINATION bin)
+INSTALL(TARGETS PyInterp DESTINATION bin)