]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Add dependencies for parallel compilation : we can depend on corba headers without...
authornge <nge>
Wed, 13 Feb 2013 09:23:16 +0000 (09:23 +0000)
committernge <nge>
Wed, 13 Feb 2013 09:23:16 +0000 (09:23 +0000)
src/Communication_SWIG/CMakeLists.txt
src/DSC/DSC_User/Datastream/Palm/CMakeLists.txt
src/NamingService/CMakeLists.txt

index 6741aa09b925de86cfc4b8bd80e6d10d5319f9ed..49bdecdd4077c31b91f264e034369d85c56240d9 100755 (executable)
@@ -57,5 +57,7 @@ IF(${MACHINE} STREQUAL WINDOWS)
   SET_TARGET_PROPERTIES(_libSALOME_Comm PROPERTIES DEBUG_OUTPUT_NAME _libSALOME_Comm_d)
 ENDIF(${MACHINE} STREQUAL WINDOWS)
 
+ADD_DEPENDENCIES(_libSALOME_Comm SalomeIDLKernel)
+
 INSTALL(TARGETS _libSALOME_Comm DESTINATION ${KERNEL_salomepythondir})
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libSALOME_Comm.py DESTINATION ${KERNEL_salomepythondir})
index 6a5cacff2dd8d2c70b86ad39195baf901deb8724..fecc247bdf20be991f5c1970fe50ec1e49943fb0 100755 (executable)
@@ -32,12 +32,14 @@ INCLUDE_DIRECTORIES(
   ${CMAKE_BINARY_DIR}/idl
 )
 
+
 ADD_DEFINITIONS(${OMNIORB_DEFINITIONS})
 
 ADD_LIBRARY(SalomePalm palm_port_factory.cxx)
 TARGET_LINK_LIBRARIES(SalomePalm SalomeDSCSuperv ${OMNIORB_LIBRARIES})
 
 ADD_EXECUTABLE(test_DataIdContainer_Palm test_DataIdContainer.cxx)
+ADD_DEPENDENCIES(test_DataIdContainer_Palm SalomeIDLKernel)
 TARGET_LINK_LIBRARIES(test_DataIdContainer_Palm ${OMNIORB_LIBRARIES})
 
 FILE(GLOB COMMON_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
index 8859acd399bc1ffffd4dbfeab469b92f3e2576b6..53cc261e16ddd93c9deb05ef1ecd80dcc6d4d1b3 100755 (executable)
@@ -33,9 +33,12 @@ SET(SalomeNS_SOURCES
   NamingService_WaitForServerReadiness.cxx
 )
 
+
 ADD_DEFINITIONS(${OMNIORB_DEFINITIONS})
 ADD_LIBRARY(SalomeNS ${SalomeNS_SOURCES})
+ADD_DEPENDENCIES(SalomeNS SalomeIDLKernel)
 TARGET_LINK_LIBRARIES(SalomeNS OpUtil)
+
 INSTALL(TARGETS SalomeNS DESTINATION ${KERNEL_salomelib_LIBS})
 
 # Executable scripts to be installed