mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
Migration to OpenCASCADE CMake configuration
This commit is contained in:
parent
693a1c36c0
commit
9fe1f193a4
@ -156,7 +156,7 @@ ENDIF(SALOME_BUILD_GUI)
|
||||
## GEOM specifics
|
||||
##
|
||||
|
||||
FIND_PACKAGE(SalomeCAS REQUIRED)
|
||||
FIND_PACKAGE(SalomeOpenCASCADE REQUIRED)
|
||||
|
||||
IF(SALOME_GEOM_USE_VTK)
|
||||
FIND_PACKAGE(SalomeVTK REQUIRED)
|
||||
@ -286,20 +286,20 @@ EXPORT(TARGETS ${_${PROJECT_NAME}_exposed_targets}
|
||||
# Ensure the variables are always defined for the configure:
|
||||
SET(KERNEL_ROOT_DIR "${KERNEL_ROOT_DIR}")
|
||||
SET(GUI_ROOT_DIR "${GUI_ROOT_DIR}")
|
||||
SET(CAS_ROOT_DIR "${CAS_ROOT_DIR}")
|
||||
SET(OPENCASCADE_ROOT_DIR "${OPENCASCADE_ROOT_DIR}")
|
||||
SET(VTK_ROOT_DIR "${VTK_ROOT_DIR}")
|
||||
SET(OPENCV_ROOT_DIR "${OPENCV_ROOT_DIR}")
|
||||
|
||||
SET(CONF_INCLUDE_DIRS "${PROJECT_SOURCE_DIR}/include" "${PROJECT_BINARY_DIR}/include")
|
||||
|
||||
# Build variables that will be expanded when configuring Salome<MODULE>Config.cmake:
|
||||
SALOME_CONFIGURE_PREPARE(OpenCV CAS VTK)
|
||||
SALOME_CONFIGURE_PREPARE(OpenCV OpenCASCADE VTK)
|
||||
|
||||
CONFIGURE_PACKAGE_CONFIG_FILE(${PROJECT_NAME}Config.cmake.in
|
||||
${PROJECT_BINARY_DIR}/${PROJECT_NAME}Config.cmake
|
||||
INSTALL_DESTINATION "${SALOME_INSTALL_CMAKE_LOCAL}"
|
||||
PATH_VARS CONF_INCLUDE_DIRS SALOME_INSTALL_CMAKE_LOCAL CMAKE_INSTALL_PREFIX
|
||||
KERNEL_ROOT_DIR GUI_ROOT_DIR CAS_ROOT_DIR VTK_ROOT_DIR OPENCV_ROOT_DIR)
|
||||
KERNEL_ROOT_DIR GUI_ROOT_DIR OPENCASCADE_ROOT_DIR VTK_ROOT_DIR OPENCV_ROOT_DIR)
|
||||
|
||||
# - in the install tree (VSR 16/08/2013: TEMPORARILY COMMENT THIS - TO REMOVE?):
|
||||
# Get the relative path of the include directory so
|
||||
@ -309,7 +309,7 @@ CONFIGURE_PACKAGE_CONFIG_FILE(${PROJECT_NAME}Config.cmake.in
|
||||
# ${PROJECT_BINARY_DIR}/to_install/${PROJECT_NAME}Config.cmake
|
||||
# INSTALL_DESTINATION "${SALOME_INSTALL_CMAKE}"
|
||||
# PATH_VARS CONF_INCLUDE_DIRS SALOME_INSTALL_CMAKE CMAKE_INSTALL_PREFIX
|
||||
# KERNEL_ROOT_DIR GUI_ROOT_DIR CAS_ROOT_DIR VTK_ROOT_DIR OPENCV_ROOT_DIR)
|
||||
# KERNEL_ROOT_DIR GUI_ROOT_DIR OPENCASCADE_ROOT_DIR VTK_ROOT_DIR OPENCV_ROOT_DIR)
|
||||
|
||||
WRITE_BASIC_PACKAGE_VERSION_FILE(${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
|
||||
VERSION ${${PROJECT_NAME_UC}_VERSION}
|
||||
|
@ -57,7 +57,7 @@ SET(SALOME_GEOM_USE_VTK @SALOME_GEOM_USE_VTK@)
|
||||
|
||||
# Level 1 prerequisites:
|
||||
SET_AND_CHECK(KERNEL_ROOT_DIR_EXP "@PACKAGE_KERNEL_ROOT_DIR@")
|
||||
SET_AND_CHECK(CAS_ROOT_DIR_EXP "@PACKAGE_CAS_ROOT_DIR@")
|
||||
SET_AND_CHECK(OPENCASCADE_ROOT_DIR_EXP "@PACKAGE_OPENCASCADE_ROOT_DIR@")
|
||||
|
||||
# Optional level 1 prerequisites:
|
||||
IF(SALOME_GEOM_BUILD_GUI)
|
||||
|
@ -21,19 +21,20 @@
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
)
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_LIBRARIES
|
||||
${CAS_KERNEL} ${CAS_MODELER} ${CAS_TKMesh}
|
||||
SET(_link_LIBRARIES
|
||||
${OpenCASCADE_FoundationClasses_LIBRARIES}
|
||||
${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
)
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
INCLUDE_DIRECTORIES(
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PROJECT_SOURCE_DIR}/src/GEOMImpl
|
||||
${PROJECT_SOURCE_DIR}/src/GEOM
|
||||
@ -37,7 +37,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -48,7 +48,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -25,7 +25,7 @@ ENDIF()
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
${PROJECT_SOURCE_DIR}/src/GEOMAlgo
|
||||
@ -47,7 +47,7 @@ ENDIF()
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
@ -63,7 +63,7 @@ ENDIF()
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_engine_LIBRARIES
|
||||
${CAS_TKBREP}
|
||||
${OpenCASCADE_ModelingData_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
${KERNEL_OpUtil}
|
||||
SalomeIDLGEOM
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -44,7 +44,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
@ -29,14 +29,13 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
)
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_LIBRARIES
|
||||
${CAS_KERNEL}
|
||||
${CAS_TKOffset} ${CAS_TKBool} ${CAS_TKBO}
|
||||
${CAS_TKShHealing}
|
||||
${OpenCASCADE_FoundationClasses_LIBRARIES}
|
||||
${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
)
|
||||
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -44,7 +44,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -44,7 +44,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -44,7 +44,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -26,7 +26,7 @@ ENDIF(SALOME_BUILD_GUI)
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_SOURCE_DIR}/src/GEOMUtils
|
||||
@ -34,7 +34,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
||||
|
@ -25,7 +25,7 @@ INCLUDE(UseQtExt)
|
||||
INCLUDE_DIRECTORIES(
|
||||
${QT_INCLUDES}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${PROJECT_SOURCE_DIR}/src/GEOMGUI
|
||||
${PROJECT_SOURCE_DIR}/src/GEOMBase
|
||||
${PROJECT_SOURCE_DIR}/src/GEOM
|
||||
@ -40,7 +40,7 @@ ADD_DEFINITIONS(
|
||||
${QT_DEFINITIONS}
|
||||
${GUI_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
)
|
||||
IF(WIN32)
|
||||
ADD_DEFINITIONS(-DNOGDI)
|
||||
|
@ -24,7 +24,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -38,7 +38,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -27,7 +27,7 @@ INCLUDE_DIRECTORIES(
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OPENCV_INCLUDE_DIR}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -50,7 +50,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
${OPENCV_DEFINITIONS}
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PROJECT_SOURCE_DIR}/src/SKETCHER
|
||||
@ -30,18 +30,12 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
)
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_LIBRARIES
|
||||
${CAS_OCAFVIS}
|
||||
${CAS_TKLCAF}
|
||||
${CAS_TKCDF}
|
||||
${CAS_TKG3d}
|
||||
${CAS_TKStdL}
|
||||
${CAS_TKStd}
|
||||
${CAS_TKBin}
|
||||
${OpenCASCADE_ApplicationFramework_LIBRARIES} ${OpenCASCADE_ModelingData_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
${KERNEL_OpUtil}
|
||||
GEOMSketcher
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PROJECT_SOURCE_DIR}/src/GEOMUtils
|
||||
${PROJECT_SOURCE_DIR}/src/GEOM
|
||||
@ -30,12 +30,13 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
)
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_LIBRARIES
|
||||
${CAS_KERNEL} ${CAS_TKBool} ${CAS_TKBO} ${CAS_TKMesh}
|
||||
${OpenCASCADE_FoundationClasses_LIBRARIES}
|
||||
${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
|
||||
GEOMbasic GEOMUtils
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
)
|
||||
@ -48,7 +49,6 @@ SET(GEOMAlgo_HEADERS
|
||||
GEOMAlgo_BndSphere.hxx
|
||||
GEOMAlgo_BndSphereTree.hxx
|
||||
GEOMAlgo_BoxBndTree.hxx
|
||||
GEOMAlgo_BuilderShape.hxx
|
||||
GEOMAlgo_Clsf.hxx
|
||||
GEOMAlgo_ClsfBox.hxx
|
||||
GEOMAlgo_ClsfQuad.hxx
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -42,7 +42,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -22,7 +22,7 @@
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -31,14 +31,14 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_LIBRARIES
|
||||
SalomeIDLGEOM
|
||||
${CAS_TKBRep}
|
||||
${OpenCASCADE_ModelingData_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
)
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
INCLUDE_DIRECTORIES(
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -34,7 +34,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
@ -43,7 +43,7 @@ ADD_DEFINITIONS(
|
||||
SET(_link_LIBRARIES
|
||||
SalomeIDLGEOM
|
||||
GEOMClient
|
||||
${CAS_TKBRep}
|
||||
${OpenCASCADE_ModelingData_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
${GUI_SalomeApp}
|
||||
)
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -42,7 +42,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
${OPENCV_DEFINITIONS}
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
@ -39,14 +39,13 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${PYTHON_DEFINITIONS}
|
||||
)
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_LIBRARIES
|
||||
${CAS_TKFeat}
|
||||
${CAS_TKFillet}
|
||||
${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
|
||||
${PYTHON_LIBRARIES}
|
||||
ShHealOper GEOMbasic BlockFix GEOMAlgo GEOMUtils GEOMSketcher GEOMArchimede XAO
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -44,7 +44,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${LIBXML2_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
@ -30,19 +30,15 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${LIBXML2_DEFINITIONS}
|
||||
)
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_LIBRARIES
|
||||
${CAS_TKBRep} ${CAS_TKShHealing} ${CAS_TKMesh} ${CAS_TKGeomAlgo}
|
||||
${CAS_TKTopAlgo}
|
||||
${CAS_TKG2d}
|
||||
${CAS_TKG3d}
|
||||
${CAS_TKV3d}
|
||||
${CAS_TKGeomBase}
|
||||
${CAS_TKBO}
|
||||
${OpenCASCADE_ModelingData_LIBRARIES}
|
||||
${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
|
||||
${OpenCASCADE_Visualization_LIBRARIES}
|
||||
${LIBXML2_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
)
|
||||
|
@ -23,7 +23,7 @@
|
||||
INCLUDE_DIRECTORIES(
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PROJECT_SOURCE_DIR}/src/GEOMImpl
|
||||
${PROJECT_SOURCE_DIR}/src/GEOM
|
||||
@ -37,7 +37,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
|
@ -30,7 +30,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
|
@ -27,7 +27,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -47,7 +47,7 @@ SET_SOURCE_FILES_PROPERTIES(libGEOM_SwigPYTHON_wrap.cxx PROPERTIES COMPILE_FLAGS
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -44,7 +44,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -46,7 +46,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -25,7 +25,7 @@ ENDIF()
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
${PROJECT_SOURCE_DIR}/src/GEOMAlgo
|
||||
@ -47,7 +47,7 @@ ENDIF()
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
@ -63,7 +63,7 @@ ENDIF()
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_engine_LIBRARIES
|
||||
${CAS_TKIGES}
|
||||
${OpenCASCADE_DataExchange_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
${KERNEL_OpUtil}
|
||||
SalomeIDLGEOM
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${QT_INCLUDE_DIRS}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -37,7 +37,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
@ -46,7 +46,7 @@ ADD_DEFINITIONS(
|
||||
SET(_link_LIBRARIES
|
||||
GEOMObject
|
||||
GEOMClient
|
||||
${CAS_TKBRep}
|
||||
${OpenCASCADE_ModelingData_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
${GUI_SalomeApp}
|
||||
)
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -46,7 +46,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -38,7 +38,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
@ -47,8 +47,8 @@ ADD_DEFINITIONS(
|
||||
SET(_link_LIBRARIES
|
||||
OCC2VTK
|
||||
SalomeIDLGEOM
|
||||
${CAS_TKBRep}
|
||||
${CAS_TKOpenGl}
|
||||
${OpenCASCADE_ModelingData_LIBRARIES}
|
||||
${OpenCASCADE_Visualization_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
${GUI_SalomeObject}
|
||||
${GUI_SVTK}
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
@ -30,15 +30,14 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
)
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_LIBRARIES
|
||||
vtkFiltersCore
|
||||
${CAS_KERNEL}
|
||||
${CAS_TKMesh} ${CAS_TKTopAlgo}
|
||||
${CAS_MODELER}
|
||||
${OpenCASCADE_FoundationClasses_LIBRARIES}
|
||||
${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
GEOMUtils
|
||||
)
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -45,7 +45,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -43,7 +43,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -46,7 +46,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -21,22 +21,21 @@
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
)
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_LIBRARIES
|
||||
${CAS_KERNEL}
|
||||
${CAS_TKGeomAlgo} ${CAS_TKTopAlgo}
|
||||
${CAS_TKBRep}
|
||||
${CAS_TKG2d}
|
||||
${OpenCASCADE_FoundationClasses_LIBRARIES}
|
||||
${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
|
||||
${OpenCASCADE_ModelingData_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
)
|
||||
|
||||
|
@ -25,7 +25,7 @@ ENDIF()
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
${PROJECT_SOURCE_DIR}/src/GEOMAlgo
|
||||
@ -47,7 +47,7 @@ ENDIF()
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
@ -63,8 +63,7 @@ ENDIF()
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_engine_LIBRARIES
|
||||
${CAS_TKSTEP}
|
||||
${CAS_TKSTEPBase}
|
||||
${OpenCASCADE_DataExchange_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
${KERNEL_OpUtil}
|
||||
SalomeIDLGEOM
|
||||
|
@ -25,7 +25,7 @@ ENDIF()
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
${PROJECT_SOURCE_DIR}/src/GEOMAlgo
|
||||
@ -47,7 +47,7 @@ ENDIF()
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
@ -63,7 +63,7 @@ ENDIF()
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_engine_LIBRARIES
|
||||
${CAS_TKSTL}
|
||||
${OpenCASCADE_DataExchange_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
${KERNEL_OpUtil}
|
||||
SalomeIDLGEOM
|
||||
|
@ -21,19 +21,19 @@
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
)
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_LIBRARIES
|
||||
${CAS_TKCAF} ${CAS_TKShHealing} ${CAS_TKBool}
|
||||
${OpenCASCADE_ApplicationFramework_LIBRARIES} ${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
)
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
#${CAS_INCLUDE_DIRS}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${OPENCV_INCLUDE_DIR}
|
||||
${QT_INCLUDES}
|
||||
@ -31,7 +30,6 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
#${CAS_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
IF(NOT SALOME_GUI_BUILD_WITH_QT5)
|
||||
|
@ -24,10 +24,17 @@
|
||||
// Author : Renaud NEDELEC, Open CASCADE S.A.S.
|
||||
|
||||
// OpenCV includes
|
||||
// RNV: Workaround: HAVE_TBB definition from OCCT conflicts with OPENCV, undef it.
|
||||
// This workaround will be removed after correction of the
|
||||
// https://tracker.dev.opencascade.org/view.php?id=28457 issue.
|
||||
#ifdef HAVE_TBB
|
||||
#undef HAVE_TBB
|
||||
#include <cv.h>
|
||||
#include <highgui.h>
|
||||
#include <opencv2/imgproc/imgproc.hpp>
|
||||
#include <opencv2/highgui/highgui.hpp>
|
||||
#define HAVE_TBB
|
||||
#endif
|
||||
|
||||
// Qt
|
||||
#include <QRect>
|
||||
|
@ -26,7 +26,7 @@ INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${OMNIORB_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${GUI_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -44,7 +44,7 @@ INCLUDE_DIRECTORIES(
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
${QT_DEFINITIONS}
|
||||
)
|
||||
|
@ -25,7 +25,7 @@ ENDIF()
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${VTK_INCLUDE_DIRS}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
@ -49,7 +49,7 @@ ENDIF()
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
@ -65,7 +65,6 @@ ENDIF()
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_engine_LIBRARIES
|
||||
${CAS_TKVTK}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
${KERNEL_OpUtil}
|
||||
SalomeIDLGEOM
|
||||
|
@ -27,20 +27,21 @@ ENDIF(SALOME_BUILD_TESTS)
|
||||
INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${LIBXML2_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${LIBXML2_DEFINITIONS}
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
)
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_LIBRARIES
|
||||
${PTHREAD_LIBRARIES}
|
||||
${LIBXML2_LIBRARIES}
|
||||
${CAS_TKBRep} ${CAS_TKTopAlgo} ${CAS_TKG2d}
|
||||
${OpenCASCADE_ModelingData_LIBRARIES}
|
||||
${OpenCASCADE_ModelingAlgorithms_LIBRARIES}
|
||||
)
|
||||
|
||||
# --- headers ---
|
||||
|
@ -22,13 +22,13 @@ ADD_SUBDIRECTORY(data)
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${CPPUNIT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${CPPUNIT_DEFINITIONS}
|
||||
)
|
||||
|
||||
|
@ -25,7 +25,7 @@ ENDIF()
|
||||
|
||||
# additional include directories
|
||||
INCLUDE_DIRECTORIES(
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${KERNEL_INCLUDE_DIRS}
|
||||
${PROJECT_BINARY_DIR}/idl
|
||||
${PROJECT_SOURCE_DIR}/src/GEOMAlgo
|
||||
@ -49,7 +49,7 @@ ENDIF()
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
${OMNIORB_DEFINITIONS}
|
||||
)
|
||||
|
||||
@ -65,7 +65,6 @@ ENDIF()
|
||||
|
||||
# libraries to link to
|
||||
SET(_link_engine_LIBRARIES
|
||||
${CAS_TKXAO}
|
||||
${KERNEL_SALOMELocalTrace}
|
||||
${KERNEL_OpUtil}
|
||||
SalomeIDLGEOM
|
||||
|
@ -25,14 +25,14 @@ INCLUDE(${SWIG_USE_FILE})
|
||||
INCLUDE_DIRECTORIES(
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
${PTHREAD_INCLUDE_DIR}
|
||||
${CAS_INCLUDE_DIRS}
|
||||
${OpenCASCADE_INCLUDE_DIR}
|
||||
${PROJECT_SOURCE_DIR}/src/XAO
|
||||
)
|
||||
|
||||
# additional preprocessor / compiler flags
|
||||
ADD_DEFINITIONS(
|
||||
${PYTHON_DEFINITIONS}
|
||||
${CAS_DEFINITIONS}
|
||||
${OpenCASCADE_DEFINITIONS}
|
||||
)
|
||||
|
||||
# libraries to link to
|
||||
|
Loading…
Reference in New Issue
Block a user