# sources / static
SET(PROJECT_SOURCES
- PyInterp_Dispatcher.cxx
- PyInterp_Event.cxx
- PyInterp_Interp.cxx
- PyInterp_Request.cxx
+ PyInterp_Dispatcher.cpp
+ PyInterp_Event.cpp
+ PyInterp_Interp.cpp
+ PyInterp_Request.cpp
)
SET(PROJECT_LIBRARIES
${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)