# 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}/GUI DESTINATION share/doc/salome/gui)
INSTALL(FILES images/head.png DESTINATION share/doc/salome/gui/GUI)
#
SET(top_builddir
- ${CMAKE_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}
)
SET(top_srcdir
- ${CMAKE_SOURCE_DIR}
+ ${PROJECT_SOURCE_DIR}
)
SET(srcdir
${CMAKE_CURRENT_SOURCE_DIR}
${QT_INCLUDES}
${KERNEL_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../Qtx
${CMAKE_CURRENT_SOURCE_DIR}/../SUIT
${CMAKE_CURRENT_SOURCE_DIR}/../STD
${PTHREAD_INCLUDE_DIRS}
${QWT_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../SUIT
${CMAKE_CURRENT_SOURCE_DIR}/../STD
${CMAKE_CURRENT_SOURCE_DIR}/../CAM
INCLUDE_DIRECTORIES(
${QT_INCLUDES}
${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../Qtx
${CMAKE_CURRENT_SOURCE_DIR}/../SUIT
)
${KERNEL_INCLUDE_DIRS}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
${CMAKE_CURRENT_SOURCE_DIR}/../../SUIT
${CMAKE_CURRENT_SOURCE_DIR}/../../CAM
${CMAKE_CURRENT_SOURCE_DIR}/../../STD
${Boost_INCLUDE_DIRS}
${PTHREAD_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_BINARY_DIR}/salome_adm
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/salome_adm
+ ${PROJECT_BINARY_DIR}/idl
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../LightApp
${CMAKE_CURRENT_SOURCE_DIR}/../Qtx
${PTHREAD_INCLUDE_DIRS}
${PYTHON_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../Qtx
${CMAKE_CURRENT_SOURCE_DIR}/../SUIT
${CMAKE_CURRENT_SOURCE_DIR}/../Style
${PTHREAD_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../Qtx
${CMAKE_CURRENT_SOURCE_DIR}/../SUIT
${CMAKE_CURRENT_SOURCE_DIR}/../ViewerTools
${CMAKE_CURRENT_SOURCE_DIR}/../TOOLSGUI
${CMAKE_CURRENT_SOURCE_DIR}/../PyInterp
${CMAKE_CURRENT_SOURCE_DIR}/../Session
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
${CMAKE_CURRENT_SOURCE_DIR}/../Event
${CMAKE_CURRENT_SOURCE_DIR}/../CASCatch
${CMAKE_CURRENT_SOURCE_DIR}/../Prs
${OMNIORB_INCLUDE_DIR}
${PTHREAD_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/idl
- ${CMAKE_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/../Qtx
${CMAKE_CURRENT_SOURCE_DIR}/../SUIT
${CMAKE_CURRENT_SOURCE_DIR}/../Event
${Boost_INCLUDE_DIRS}
${PTHREAD_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
- ${CMAKE_BINARY_DIR}/idl
+ ${PROJECT_BINARY_DIR}/idl
${CMAKE_CURRENT_SOURCE_DIR}/../Qtx
${CMAKE_CURRENT_SOURCE_DIR}/../SUIT)
${QT_INCLUDES}
${CMAKE_CURRENT_BINARY_DIR}
${KERNEL_INCLUDE_DIRS}
- ${CMAKE_SOURCE_DIR}/src/GuiHelpers
- ${CMAKE_SOURCE_DIR}/src/TreeData
+ ${PROJECT_SOURCE_DIR}/src/GuiHelpers
+ ${PROJECT_SOURCE_DIR}/src/TreeData
)
SET(COMMON_LIBS