From a3e1f7c4c052eec3e0ca7f702f5616e69d413c7e Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 17 Apr 2014 15:36:40 +0400 Subject: [PATCH] Make PyConsole as shared library --- src/PyConsole/CMakeLists.txt | 4 ++-- src/PyEvent/CMakeLists.txt | 4 ++-- src/PyInterp/CMakeLists.txt | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/PyConsole/CMakeLists.txt b/src/PyConsole/CMakeLists.txt index 8cd815158..0ee0c35cf 100644 --- a/src/PyConsole/CMakeLists.txt +++ b/src/PyConsole/CMakeLists.txt @@ -51,7 +51,7 @@ INCLUDE_DIRECTORIES( ADD_DEFINITIONS(-DPYCONSOLE_EXPORTS -DHAVE_DEBUG_PYTHON) -ADD_LIBRARY(PyConsole STATIC +ADD_LIBRARY(PyConsole SHARED ${PROJECT_HEADERS} ${PROJECT_SOURCES} ${TEXT_RESOURCES} @@ -60,6 +60,6 @@ ADD_LIBRARY(PyConsole STATIC TARGET_LINK_LIBRARIES(PyConsole ${PROJECT_LIBRARIES}) -#INSTALL(TARGETS PyConsole DESTINATION bin) +INSTALL(TARGETS PyConsole DESTINATION bin) diff --git a/src/PyEvent/CMakeLists.txt b/src/PyEvent/CMakeLists.txt index 833c4616f..2d5d28bd8 100644 --- a/src/PyEvent/CMakeLists.txt +++ b/src/PyEvent/CMakeLists.txt @@ -14,11 +14,11 @@ SET(PROJECT_SOURCES 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) diff --git a/src/PyInterp/CMakeLists.txt b/src/PyInterp/CMakeLists.txt index 7684af37f..6373f65ef 100644 --- a/src/PyInterp/CMakeLists.txt +++ b/src/PyInterp/CMakeLists.txt @@ -37,11 +37,11 @@ INCLUDE_DIRECTORIES( ${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) -- 2.39.2