# Our own set of macros:
LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/salome_adm/cmake_files")
-INCLUDE(${CMAKE_SOURCE_DIR}/salome_adm/cmake_files/SalomeMacros.cmake)
+INCLUDE(${PROJECT_SOURCE_DIR}/salome_adm/cmake_files/SalomeMacros.cmake)
# Platform setup
# ==============
FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/env_s.${EXT} "${SCR}")
-ADD_CUSTOM_TARGET(html_docs ${CALL_STR} ${CMAKE_CURRENT_BINARY_DIR}/env_s.${EXT} && ${SPHINX_EXECUTABLE} -c ${CMAKE_BINARY_DIR}/doc/docutils -b html ${ALLSPHINXOPTS} docutils
+ADD_CUSTOM_TARGET(html_docs ${CALL_STR} ${CMAKE_CURRENT_BINARY_DIR}/env_s.${EXT} && ${SPHINX_EXECUTABLE} -c ${PROJECT_BINARY_DIR}/doc/docutils -b html ${ALLSPHINXOPTS} docutils
)
-INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${CMAKE_BINARY_DIR} --target html_docs)")
+INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs)")
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/docutils DESTINATION share/doc/salome/tui/KERNEL)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/doc/salome/tui/images/head.png DESTINATION share/doc/salome/tui/KERNEL)
+INSTALL(FILES ${PROJECT_SOURCE_DIR}/doc/salome/tui/images/head.png DESTINATION share/doc/salome/tui/KERNEL)
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(top_builddir ${CMAKE_BINARY_DIR})
-SET(top_srcdir ${CMAKE_SOURCE_DIR})
+SET(top_builddir ${PROJECT_BINARY_DIR})
+SET(top_srcdir ${PROJECT_SOURCE_DIR})
SET(srcdir ${CMAKE_CURRENT_SOURCE_DIR})
SET(builddir ${CMAKE_CURRENT_BINARY_DIR})
SET(datadir ${CMAKE_INSTALL_PREFIX}/share)
ADD_DEPENDENCIES(usr_docs html_docs)
-INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${CMAKE_BINARY_DIR} --target usr_docs)")
+INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target usr_docs)")
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/KERNEL DESTINATION share/doc/salome/gui)
INSTALL(FILES images/head.png DESTINATION share/doc/salome/gui/KERNEL)
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-SET(top_builddir ${CMAKE_BINARY_DIR})
-SET(top_srcdir ${CMAKE_SOURCE_DIR})
+SET(top_builddir ${PROJECT_BINARY_DIR})
+SET(top_srcdir ${PROJECT_SOURCE_DIR})
SET(srcdir ${CMAKE_CURRENT_SOURCE_DIR})
SET(builddir ${CMAKE_CURRENT_BINARY_DIR})
SET(datadir ${CMAKE_INSTALL_PREFIX}/share)
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-INCLUDE(${CMAKE_SOURCE_DIR}/salome_adm/cmake_files/UseOmniORB.cmake)
+INCLUDE(${PROJECT_SOURCE_DIR}/salome_adm/cmake_files/UseOmniORB.cmake)
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
${OMNIORB_INCLUDE_DIR}
${MPI_CXX_INCLUDE_PATH}
${PYTHON_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../Utils
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
SET(COMMON_LIBS
INCLUDE_DIRECTORIES(
${PYTHON_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../Communication
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../Utils
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
ADD_DEFINITIONS(${OMNIORB_DEFINITIONS})
${HDF5_INCLUDE_DIRS}
${LIBXML2_INCLUDE_DIR}
${PYTHON_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../NamingService
${CMAKE_CURRENT_SOURCE_DIR}/../HDFPersist
${CMAKE_CURRENT_SOURCE_DIR}/../GenericObj
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMETraceCollector/Test
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
SET(SCRIPTS
INCLUDE_DIRECTORIES(
${PTHREAD_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
- ${CMAKE_SOURCE_DIR}/src/Container
- ${CMAKE_SOURCE_DIR}/src/GenericObj
- ${CMAKE_SOURCE_DIR}/src/Notification
- ${CMAKE_SOURCE_DIR}/src/SALOMELocalTrace
- ${CMAKE_SOURCE_DIR}/src/Basics
- ${CMAKE_SOURCE_DIR}/src/NamingService
- ${CMAKE_SOURCE_DIR}/src/Utils
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/salome_adm
+ ${PROJECT_SOURCE_DIR}/src/Container
+ ${PROJECT_SOURCE_DIR}/src/GenericObj
+ ${PROJECT_SOURCE_DIR}/src/Notification
+ ${PROJECT_SOURCE_DIR}/src/SALOMELocalTrace
+ ${PROJECT_SOURCE_DIR}/src/Basics
+ ${PROJECT_SOURCE_DIR}/src/NamingService
+ ${PROJECT_SOURCE_DIR}/src/Utils
+ ${PROJECT_BINARY_DIR}/idl
)
SET(SalomeDSCContainer_SOURCES
${OMNIORB_INCLUDE_DIR}
${PYTHON_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User/Datastream
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User/Datastream/Palm
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User/Datastream/Calcium
- ${CMAKE_BINARY_DIR}/src/DSC/DSC_User/Datastream/Calcium
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User/Basic
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_Basic
- ${CMAKE_SOURCE_DIR}/src/SALOMELocalTrace
- ${CMAKE_SOURCE_DIR}/src/Basics
- ${CMAKE_SOURCE_DIR}/src/Utils
- ${CMAKE_SOURCE_DIR}/src/Container
- ${CMAKE_SOURCE_DIR}/src/GenericObj
- ${CMAKE_SOURCE_DIR}/src/Notification
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/salome_adm
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User/Datastream
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User/Datastream/Palm
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User/Datastream/Calcium
+ ${PROJECT_BINARY_DIR}/src/DSC/DSC_User/Datastream/Calcium
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User/Basic
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_Basic
+ ${PROJECT_SOURCE_DIR}/src/SALOMELocalTrace
+ ${PROJECT_SOURCE_DIR}/src/Basics
+ ${PROJECT_SOURCE_DIR}/src/Utils
+ ${PROJECT_SOURCE_DIR}/src/Container
+ ${PROJECT_SOURCE_DIR}/src/GenericObj
+ ${PROJECT_SOURCE_DIR}/src/Notification
+ ${PROJECT_BINARY_DIR}/idl
)
SET(_calcium_LIBS
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
${PTHREAD_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/idl
- ${CMAKE_BINARY_DIR}/salome_adm
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_Basic
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User
- ${CMAKE_SOURCE_DIR}/src/Container
- ${CMAKE_SOURCE_DIR}/src/GenericObj
- ${CMAKE_SOURCE_DIR}/src/Notification
- ${CMAKE_SOURCE_DIR}/src/SALOMELocalTrace
- ${CMAKE_SOURCE_DIR}/src/Basics
- ${CMAKE_SOURCE_DIR}/src/Utils)
+ ${PROJECT_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/salome_adm
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_Basic
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User
+ ${PROJECT_SOURCE_DIR}/src/Container
+ ${PROJECT_SOURCE_DIR}/src/GenericObj
+ ${PROJECT_SOURCE_DIR}/src/Notification
+ ${PROJECT_SOURCE_DIR}/src/SALOMELocalTrace
+ ${PROJECT_SOURCE_DIR}/src/Basics
+ ${PROJECT_SOURCE_DIR}/src/Utils)
SET(SalomeDSCSupervBasic_SOURCES
basic_port_factory.cxx
INCLUDE_DIRECTORIES(
${Boost_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
- ${CMAKE_SOURCE_DIR}/src/Container
- ${CMAKE_SOURCE_DIR}/src/GenericObj
- ${CMAKE_SOURCE_DIR}/src/Notification
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_Basic
- ${CMAKE_SOURCE_DIR}/src/SALOMELocalTrace
- ${CMAKE_SOURCE_DIR}/src/Basics
- ${CMAKE_SOURCE_DIR}/src/Utils
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/salome_adm
+ ${PROJECT_SOURCE_DIR}/src/Container
+ ${PROJECT_SOURCE_DIR}/src/GenericObj
+ ${PROJECT_SOURCE_DIR}/src/Notification
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_Basic
+ ${PROJECT_SOURCE_DIR}/src/SALOMELocalTrace
+ ${PROJECT_SOURCE_DIR}/src/Basics
+ ${PROJECT_SOURCE_DIR}/src/Utils
+ ${PROJECT_BINARY_DIR}/idl
)
ADD_DEFINITIONS(${OMNIORB_DEFINITIONS} ${BOOST_DEFINITIONS})
INCLUDE_DIRECTORIES(
${Boost_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User
- ${CMAKE_BINARY_DIR}/src/DSC/DSC_User/Datastream/Palm
- ${CMAKE_BINARY_DIR}/src/DSC/DSC_User/Datastream/Calcium
+ ${PROJECT_BINARY_DIR}/salome_adm
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User
+ ${PROJECT_BINARY_DIR}/src/DSC/DSC_User/Datastream/Palm
+ ${PROJECT_BINARY_DIR}/src/DSC/DSC_User/Datastream/Calcium
${CMAKE_CURRENT_SOURCE_DIR}/..
)
INCLUDE_DIRECTORIES(
${Boost_INCLUDE_DIR}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User/Datastream
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User/Datastream/Palm
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User/Datastream/Calcium
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User/Basic
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_Basic
- ${CMAKE_SOURCE_DIR}/src/SALOMELocalTrace
- ${CMAKE_SOURCE_DIR}/src/Basics
- ${CMAKE_SOURCE_DIR}/src/Utils
- ${CMAKE_SOURCE_DIR}/src/Container
- ${CMAKE_SOURCE_DIR}/src/GenericObj
- ${CMAKE_SOURCE_DIR}/src/Notification
- ${CMAKE_BINARY_DIR}/idl
- ${CMAKE_BINARY_DIR}/src/DSC/DSC_User/Datastream/Calcium
+ ${PROJECT_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}/salome_adm
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User/Datastream
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User/Datastream/Palm
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User/Datastream/Calcium
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User/Basic
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_Basic
+ ${PROJECT_SOURCE_DIR}/src/SALOMELocalTrace
+ ${PROJECT_SOURCE_DIR}/src/Basics
+ ${PROJECT_SOURCE_DIR}/src/Utils
+ ${PROJECT_SOURCE_DIR}/src/Container
+ ${PROJECT_SOURCE_DIR}/src/GenericObj
+ ${PROJECT_SOURCE_DIR}/src/Notification
+ ${PROJECT_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/src/DSC/DSC_User/Datastream/Calcium
)
SET(SalomeCalcium_SOURCES
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_User/Datastream
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_Basic
- ${CMAKE_SOURCE_DIR}/src/Container
- ${CMAKE_SOURCE_DIR}/src/GenericObj
- ${CMAKE_SOURCE_DIR}/src/Notification
- ${CMAKE_SOURCE_DIR}/src/SALOMELocalTrace
- ${CMAKE_SOURCE_DIR}/src/Basics
- ${CMAKE_SOURCE_DIR}/src/Utils
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/salome_adm
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_User/Datastream
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_Basic
+ ${PROJECT_SOURCE_DIR}/src/Container
+ ${PROJECT_SOURCE_DIR}/src/GenericObj
+ ${PROJECT_SOURCE_DIR}/src/Notification
+ ${PROJECT_SOURCE_DIR}/src/SALOMELocalTrace
+ ${PROJECT_SOURCE_DIR}/src/Basics
+ ${PROJECT_SOURCE_DIR}/src/Utils
+ ${PROJECT_BINARY_DIR}/idl
)
${MPI_CXX_INCLUDE_PATH}
${PACO_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_SOURCE_DIR}/src/Container
- ${CMAKE_SOURCE_DIR}/src/ParallelContainer
- ${CMAKE_SOURCE_DIR}/src/Notification
- ${CMAKE_SOURCE_DIR}/src/SALOMELocalTrace
- ${CMAKE_SOURCE_DIR}/src/Basics
- ${CMAKE_SOURCE_DIR}/src/NamingService
- ${CMAKE_SOURCE_DIR}/src/Utils
- ${CMAKE_SOURCE_DIR}/src/DSC/DSC_Basic
- ${CMAKE_SOURCE_DIR}/src/GenericObj
- ${CMAKE_BINARY_DIR}/idl
- ${CMAKE_SOURCE_DIR}/src/Registry
- ${CMAKE_SOURCE_DIR}/src/Utils
+ ${PROJECT_SOURCE_DIR}/src/Container
+ ${PROJECT_SOURCE_DIR}/src/ParallelContainer
+ ${PROJECT_SOURCE_DIR}/src/Notification
+ ${PROJECT_SOURCE_DIR}/src/SALOMELocalTrace
+ ${PROJECT_SOURCE_DIR}/src/Basics
+ ${PROJECT_SOURCE_DIR}/src/NamingService
+ ${PROJECT_SOURCE_DIR}/src/Utils
+ ${PROJECT_SOURCE_DIR}/src/DSC/DSC_Basic
+ ${PROJECT_SOURCE_DIR}/src/GenericObj
+ ${PROJECT_BINARY_DIR}/idl
+ ${PROJECT_SOURCE_DIR}/src/Registry
+ ${PROJECT_SOURCE_DIR}/src/Utils
)
SET(COMMON_FLAGS
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
${PTHREAD_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
ADD_DEFINITIONS(${OMNIORB_DEFINITIONS})
INCLUDE_DIRECTORIES(
${PTHREAD_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../NamingService
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../Container
${CMAKE_CURRENT_SOURCE_DIR}/../Notification
${CMAKE_CURRENT_SOURCE_DIR}/../GenericObj
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
SET(SalomeKernelHelpers_LIBS
INCLUDE_DIRECTORIES(
${CPPUNIT_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
- ${CMAKE_SOURCE_DIR}/src/Basics/Test
+ ${PROJECT_BINARY_DIR}/salome_adm
+ ${PROJECT_SOURCE_DIR}/src/Basics/Test
${CMAKE_CURRENT_SOURCE_DIR}/..
- ${CMAKE_SOURCE_DIR}/src/NamingService
- ${CMAKE_SOURCE_DIR}/src/SALOMELocalTrace
- ${CMAKE_SOURCE_DIR}/src/Basics
- ${CMAKE_SOURCE_DIR}/src/Utils
- ${CMAKE_SOURCE_DIR}/src/LifeCycleCORBA
- ${CMAKE_SOURCE_DIR}/src/Container
- ${CMAKE_SOURCE_DIR}/src/Notification
- ${CMAKE_SOURCE_DIR}/src/GenericObj
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_SOURCE_DIR}/src/NamingService
+ ${PROJECT_SOURCE_DIR}/src/SALOMELocalTrace
+ ${PROJECT_SOURCE_DIR}/src/Basics
+ ${PROJECT_SOURCE_DIR}/src/Utils
+ ${PROJECT_SOURCE_DIR}/src/LifeCycleCORBA
+ ${PROJECT_SOURCE_DIR}/src/Container
+ ${PROJECT_SOURCE_DIR}/src/Notification
+ ${PROJECT_SOURCE_DIR}/src/GenericObj
+ ${PROJECT_BINARY_DIR}/idl
)
SET(SalomeKernelHelpersTest_LIBS
${PTHREAD_INCLUDE_DIRS}
${MPI_CXX_INCLUDE_PATH}
${LIBBATCH_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../NamingService
${CMAKE_CURRENT_SOURCE_DIR}/../Notification
${CMAKE_CURRENT_SOURCE_DIR}/../Container
${CMAKE_CURRENT_SOURCE_DIR}/../ResourcesManager
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
ADD_DEFINITIONS(${MPI_CXX_COMPILE_FLAGS} ${LIBXML2_DEFINITIONS} ${OMNIORB_DEFINITIONS})
${OMNIORB_INCLUDE_DIR}
${PTHREAD_INCLUDE_DIRS}
${PYTHON_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMETraceCollector
${CMAKE_CURRENT_SOURCE_DIR}/../Batch
${CMAKE_CURRENT_SOURCE_DIR}/../Notification
${CMAKE_CURRENT_SOURCE_DIR}/../Registry
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
SET(COMMON_LIBS
${PTHREAD_INCLUDE_DIRS}
${CPPUNIT_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../../Basics/Test
${CMAKE_CURRENT_SOURCE_DIR}/../../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../../Utils/Test
${CMAKE_CURRENT_SOURCE_DIR}/../../ResourcesManager
${CMAKE_CURRENT_SOURCE_DIR}/../../LifeCycleCORBA
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
SET(COMMON_LIBS
${PYTHON_INCLUDE_DIRS}
${PTHREAD_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../NamingService
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../Utils
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
SWIG_ADD_MODULE(libSALOME_LifeCycleCORBA python libSALOME_LifeCycleCORBA.i)
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
ADD_DEFINITIONS(${OMNIORB_DEFINITIONS})
${PTHREAD_INCLUDE_DIR}
${PYTHON_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../NamingService
${CMAKE_CURRENT_SOURCE_DIR}/../ResourcesManager
${CMAKE_CURRENT_SOURCE_DIR}/../Container
${CMAKE_CURRENT_SOURCE_DIR}/../GenericObj
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
SET(COMMON_LIBS
${PTHREAD_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${LIBXML2_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../NamingService
${CMAKE_CURRENT_SOURCE_DIR}/../Utils
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
# This local variable defines the list of dependant libraries common to all target in this package.
${PTHREAD_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Notification
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
${PTHREAD_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../Utils
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
SET(SalomeNS_SOURCES
${PTHREAD_INCLUDE_DIRS}
${CPPUNIT_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../../NamingService
${CMAKE_CURRENT_SOURCE_DIR}/../../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../../Utils
${CMAKE_CURRENT_SOURCE_DIR}/../../LifeCycleCORBA
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
${CMAKE_CURRENT_SOURCE_DIR}/../../SALOMELocalTrace/Test
${CMAKE_CURRENT_SOURCE_DIR}/../../SALOMETraceCollector/Test
${CMAKE_CURRENT_SOURCE_DIR}/../../Utils/Test
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
${PTHREAD_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../Utils
${MPI_CXX_INCLUDE_PATH}
${PYTHON_INCLUDE_DIRS}
${PACO_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
- ${CMAKE_SOURCE_DIR}/src/Container
- ${CMAKE_SOURCE_DIR}/src/Notification
- ${CMAKE_SOURCE_DIR}/src/SALOMELocalTrace
- ${CMAKE_SOURCE_DIR}/src/Basics
- ${CMAKE_SOURCE_DIR}/src/NamingService
- ${CMAKE_SOURCE_DIR}/src/Registry
- ${CMAKE_SOURCE_DIR}/src/Utils
- ${CMAKE_SOURCE_DIR}/src/GenericObj
+ ${PROJECT_BINARY_DIR}/salome_adm
+ ${PROJECT_SOURCE_DIR}/src/Container
+ ${PROJECT_SOURCE_DIR}/src/Notification
+ ${PROJECT_SOURCE_DIR}/src/SALOMELocalTrace
+ ${PROJECT_SOURCE_DIR}/src/Basics
+ ${PROJECT_SOURCE_DIR}/src/NamingService
+ ${PROJECT_SOURCE_DIR}/src/Registry
+ ${PROJECT_SOURCE_DIR}/src/Utils
+ ${PROJECT_SOURCE_DIR}/src/GenericObj
${CMAKE_CURRENT_SOURCE_DIR}/../HDFPersist
- ${CMAKE_BINARY_DIR}/idl
- ${CMAKE_SOURCE_DIR}/src/SALOMETraceCollector
+ ${PROJECT_BINARY_DIR}/idl
+ ${PROJECT_SOURCE_DIR}/src/SALOMETraceCollector
${PACOPATH}/lib
)
INCLUDE_DIRECTORIES(
${PTHREAD_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../NamingService
${CMAKE_CURRENT_SOURCE_DIR}/../Utils
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
ADD_LIBRARY(Registry RegistryConnexion.cxx RegistryService.cxx)
${LIBXML2_INCLUDE_DIR}
${PTHREAD_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../NamingService
${CMAKE_CURRENT_SOURCE_DIR}/../Utils
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
${OMNIORB_INCLUDE_DIR}
${HDF5_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../HDFPersist
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../GenericObj
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMEDSClient
${CMAKE_CURRENT_SOURCE_DIR}/../LifeCycleCORBA
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
ADD_DEFINITIONS(${OMNIORB_DEFINITIONS} ${HDF5_DEFINITIONS} ${BOOST_DEFINITIONS})
${CPPUNIT_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${Boost_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../../Basics/Test
${CMAKE_CURRENT_SOURCE_DIR}/../../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../../DF
${CMAKE_CURRENT_SOURCE_DIR}/../../SALOMEDSImpl
${CMAKE_CURRENT_SOURCE_DIR}/../../SALOMEDSImpl/Test
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
# This local variable defines the list of dependant libraries common to all target in this package.
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
${Boost_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/idl
)
ADD_DEFINITIONS(${OMNIORB_DEFINITIONS})
${PTHREAD_INCLUDE_DIRS}
${HDF5_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../HDFPersist
${CMAKE_CURRENT_SOURCE_DIR}/../DF
- ${CMAKE_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}
)
# This local variable defines the list of FLAGS common to all target in this package.
${CMAKE_CURRENT_SOURCE_DIR}/../../LifeCycleCORBA
${CMAKE_CURRENT_SOURCE_DIR}/../../DF
${CMAKE_CURRENT_SOURCE_DIR}/../../SALOMEDSImpl
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
# This local variable defines the list of dependant libraries common to all target in this package.
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
${PTHREAD_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
ADD_DEFINITIONS(${OMNIORB_DEFINITIONS} ${PTHREAD_DEFINITIONS})
${HDF5_INCLUDE_DIRS}
${PTHREAD_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../Utils
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
ADD_LIBRARY(TOOLSDS SALOMEDS_Tool.cxx)
INCLUDE_DIRECTORIES(
${PTHREAD_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../NamingService
${CMAKE_CURRENT_SOURCE_DIR}/../ResourcesManager
${CMAKE_CURRENT_SOURCE_DIR}/../Container
${CMAKE_CURRENT_SOURCE_DIR}/../GenericObj
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
SET(SalomeTestComponentEngine_SOURCES
INCLUDE_DIRECTORIES(
${MPI_CXX_INCLUDE_PATH}
${OMNIORB_INCLUDE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../NamingService
${CMAKE_CURRENT_SOURCE_DIR}/../Container
${CMAKE_CURRENT_SOURCE_DIR}/../MPIContainer
${CMAKE_CURRENT_SOURCE_DIR}/../GenericObj
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
ADD_DEFINITIONS(${OMNIORB_DEFINITIONS} ${MPI_CXX_COMPILE_FLAGS})
INCLUDE_DIRECTORIES(
${CPPUNIT_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../Basics/Test
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMEDSImpl/Test
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMDES
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMEDS/Test
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
${CMAKE_CURRENT_SOURCE_DIR}/../Registry
${CMAKE_CURRENT_SOURCE_DIR}/../Notification
${CMAKE_CURRENT_SOURCE_DIR}/../ResourcesManager
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
${PTHREAD_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/salome_adm
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../Basics
${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
)
SET(OpUtil_SOURCES
Utils_Timer.cxx