]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Make PyConsole as shared library
authorvsv <vitaly.smetannikov@opencascade.com>
Thu, 17 Apr 2014 11:36:40 +0000 (15:36 +0400)
committervsv <vitaly.smetannikov@opencascade.com>
Thu, 17 Apr 2014 11:36:40 +0000 (15:36 +0400)
src/PyConsole/CMakeLists.txt
src/PyEvent/CMakeLists.txt
src/PyInterp/CMakeLists.txt

index 8cd815158e043db3616e0ac0f5528f839aa20a16..0ee0c35cffae8f798a1b62ec3e0cd88a9345f15a 100644 (file)
@@ -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)
 
 
index 833c4616f6fba272fab8cc4098291b663128e8f4..2d5d28bd8b2fd687f253a7effc40622285c3f91c 100644 (file)
@@ -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)
index 7684af37fdc49fd74a20114626947bb53d2e7942..6373f65efa15354a80ce3d852cdd5fa833913761 100644 (file)
@@ -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)