)
# sources / static
SET(PROJECT_SOURCES
- PyConsole_Console.cxx
- PyConsole_Editor.cxx
- PyConsole_EnhEditor.cxx
- PyConsole_EnhInterp.cxx
- PyConsole_Event.cxx
- PyConsole_Interp.cxx
- PyConsole_Request.cxx
+ PyConsole_Console.cpp
+ PyConsole_Editor.cpp
+ PyConsole_EnhEditor.cpp
+ PyConsole_EnhInterp.cpp
+ PyConsole_Event.cpp
+ PyConsole_Interp.cpp
+ PyConsole_Request.cpp
)
SET(PROJECT_LIBRARIES
PyInterp
${QT_LIBRARIES}
+ ${PYTHON_LIBRARIES}
)
QT4_ADD_TRANSLATION(QM_RESOURCES ${TEXT_RESOURCES})
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)