]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Swig module under Windows in debug.
authorrnv <rnv@opencascade.com>
Tue, 1 Jun 2021 22:13:10 +0000 (01:13 +0300)
committerrnv <rnv@opencascade.com>
Tue, 1 Jun 2021 22:13:10 +0000 (01:13 +0300)
src/Basics/CMakeLists.txt
src/KernelHelpers/CMakeLists.txt
src/Launcher/CMakeLists.txt
src/Launcher_SWIG/CMakeLists.txt
src/ModuleCatalog/CMakeLists.txt
src/NamingService/CMakeLists.txt
src/SALOMEDS/CMakeLists.txt

index 9bffcca3f508df5d649f3fd97ed4992793f1484a..2894a235f47a38468bfc2d84fbab3c1cc52156ec 100644 (file)
@@ -55,6 +55,9 @@ IF(${CMAKE_VERSION} VERSION_LESS "3.8.0")
 ELSE()
   SWIG_ADD_LIBRARY(KernelBasis LANGUAGE python SOURCES ${KernelBasis_SOURCES})
 ENDIF()
+IF(${MACHINE} STREQUAL WINDOWS)
+  SET_TARGET_PROPERTIES(_KernelBasis PROPERTIES DEBUG_OUTPUT_NAME _KernelBasis_d)
+ENDIF(${MACHINE} STREQUAL WINDOWS)
 SWIG_LINK_LIBRARIES(KernelBasis ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} SALOMEBasics)
 install(TARGETS _KernelBasis DESTINATION ${SALOME_INSTALL_LIBS})
 install(FILES ${KernelBasis_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
index f03b04cd7e70207d3346983e70dfff4178141f7e..4905d890e9d5b47cdd50288601fef6e797cb070d 100644 (file)
@@ -86,6 +86,9 @@ IF(${CMAKE_VERSION} VERSION_LESS "3.8.0")
 ELSE()
   SWIG_ADD_LIBRARY(KernelServices LANGUAGE python SOURCES ${KernelServices_SOURCES})
 ENDIF()
+IF(${MACHINE} STREQUAL WINDOWS)
+  SET_TARGET_PROPERTIES(_KernelServices PROPERTIES DEBUG_OUTPUT_NAME _KernelServices_d)
+ENDIF(${MACHINE} STREQUAL WINDOWS)
 SWIG_LINK_LIBRARIES(KernelServices ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} SalomeKernelHelpers)
 install(TARGETS _KernelServices DESTINATION ${SALOME_INSTALL_LIBS})
 install(FILES ${KernelServices_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
index f1460e4724e08aad134ed3b8708a60f8c3960e39..6b1c85c8591e6f5285388e007a1863443ad9f5c9 100644 (file)
@@ -154,6 +154,9 @@ IF(${CMAKE_VERSION} VERSION_LESS "3.8.0")
 ELSE()
   SWIG_ADD_LIBRARY(KernelLauncher LANGUAGE python SOURCES ${KernelLauncher_SOURCES})
 ENDIF()
+IF(${MACHINE} STREQUAL WINDOWS)
+  SET_TARGET_PROPERTIES(_KernelLauncher PROPERTIES DEBUG_OUTPUT_NAME _KernelLauncher_d)
+ENDIF(${MACHINE} STREQUAL WINDOWS)
 SWIG_LINK_LIBRARIES(KernelLauncher ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} SalomeDS SalomeKernelHelpers)
 install(TARGETS _KernelLauncher DESTINATION ${SALOME_INSTALL_LIBS})
 install(FILES ${KernelLauncher_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
index 9d309dfdddd1aa9af0ae7ce8945ab1a1d1742de0..3cec3c4d9ed01afd714f0cf7b93f347371b360f7 100644 (file)
@@ -41,6 +41,10 @@ INCLUDE_DIRECTORIES(
 
 SWIG_ADD_LIBRARY(${Launcher_target_name} LANGUAGE python SOURCES Launcher.i)
 
+IF(${MACHINE} STREQUAL WINDOWS)
+  SET_TARGET_PROPERTIES(_${Launcher_target_name} PROPERTIES DEBUG_OUTPUT_NAME _${Launcher_target_name}_d)
+ENDIF(${MACHINE} STREQUAL WINDOWS)
+
 SWIG_LINK_LIBRARIES(${Launcher_target_name} ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} Launcher)
 
 SWIG_CHECK_GENERATION(${Launcher_target_name})
index ec7655310346733a0b8025181fcf9e6c386c0cc1..1c87af853b2241ce412a3a8824f93d76f92b570f 100644 (file)
@@ -78,6 +78,9 @@ IF(${CMAKE_VERSION} VERSION_LESS "3.8.0")
 ELSE()
   SWIG_ADD_LIBRARY(KernelModuleCatalog LANGUAGE python SOURCES ${KernelModuleCatalog_SOURCES})
 ENDIF()
+IF(${MACHINE} STREQUAL WINDOWS)
+  SET_TARGET_PROPERTIES(_KernelModuleCatalog PROPERTIES DEBUG_OUTPUT_NAME _KernelModuleCatalog_d)
+ENDIF(${MACHINE} STREQUAL WINDOWS)
 SWIG_LINK_LIBRARIES(KernelModuleCatalog ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} SalomeCatalog SalomeKernelHelpers)
 install(TARGETS _KernelModuleCatalog DESTINATION ${SALOME_INSTALL_LIBS})
 install(FILES ${KernelModuleCatalog_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
index 051bfb4bba39dcede1c46c397695374977a28f0a..b875c88531688637de2475d066a4c2dfd7ef2789 100644 (file)
@@ -69,6 +69,9 @@ IF(${CMAKE_VERSION} VERSION_LESS "3.8.0")
 ELSE()
   SWIG_ADD_LIBRARY(NamingService LANGUAGE python SOURCES ${NamingService_SOURCES})
 ENDIF()
+IF(${MACHINE} STREQUAL WINDOWS)
+  SET_TARGET_PROPERTIES(_NamingService PROPERTIES DEBUG_OUTPUT_NAME _NamingService_d)
+ENDIF(${MACHINE} STREQUAL WINDOWS)
 SWIG_LINK_LIBRARIES(NamingService ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} SalomeNS)
 install(TARGETS _NamingService DESTINATION ${SALOME_INSTALL_LIBS})
 install(FILES ${NamingService_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
index c1d4bc5a787ee54af38771189740391e0786dd60..88c2570c0879f395c269d691874a9f03939c9aa6 100644 (file)
@@ -172,6 +172,9 @@ IF(${CMAKE_VERSION} VERSION_LESS "3.8.0")
 ELSE()
   SWIG_ADD_LIBRARY(KernelDS LANGUAGE python SOURCES ${KernelDS_SOURCES})
 ENDIF()
+IF(${MACHINE} STREQUAL WINDOWS)
+  SET_TARGET_PROPERTIES(_KernelDS PROPERTIES DEBUG_OUTPUT_NAME _KernelDS_d)
+ENDIF(${MACHINE} STREQUAL WINDOWS)
 SWIG_LINK_LIBRARIES(KernelDS ${PYTHON_LIBRARIES} ${PLATFORM_LIBS} SalomeDS SalomeKernelHelpers)
 install(TARGETS _KernelDS DESTINATION ${SALOME_INSTALL_LIBS})
 install(FILES ${KernelDS_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})