From cb5bdce39a41105bbc137e50f9b475f18a14183d Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 15 Feb 2017 18:22:00 +0300 Subject: [PATCH] Migration to OpenCASCADE CMake configuration --- CMakeLists.txt | 2 +- src/GHS3DPRLPlugin/CMakeLists.txt | 18 +++++++++--------- src/gui/CMakeLists.txt | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e7d3ae..226fde1 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -131,7 +131,7 @@ ENDIF(SALOME_BUILD_GUI) # VTK FIND_PACKAGE(SalomeVTK REQUIRED) # OCCT -FIND_PACKAGE(SalomeCAS REQUIRED) +FIND_PACKAGE(SalomeOpenCASCADE REQUIRED) # Find GEOM # =========== diff --git a/src/GHS3DPRLPlugin/CMakeLists.txt b/src/GHS3DPRLPlugin/CMakeLists.txt index a4a5e33..4a7208a 100644 --- a/src/GHS3DPRLPlugin/CMakeLists.txt +++ b/src/GHS3DPRLPlugin/CMakeLists.txt @@ -22,7 +22,7 @@ INCLUDE_DIRECTORIES( ${KERNEL_INCLUDE_DIRS} ${GEOM_INCLUDE_DIRS} - ${CAS_INCLUDE_DIRS} + ${OpenCASCADE_INCLUDE_DIR} ${VTK_INCLUDE_DIRS} ${MESHGEMS_INCLUDE_DIRS} ${SMESH_INCLUDE_DIRS} @@ -34,19 +34,19 @@ INCLUDE_DIRECTORIES( # additional preprocessor / compiler flags ADD_DEFINITIONS( ${OMNIORB_DEFINITIONS} - ${CAS_DEFINITIONS} + ${OpenCASCADE_DEFINITIONS} ${BOOST_DEFINITIONS} ) # libraries to link to SET(_link_LIBRARIES - ${CAS_TKBRep} - ${CAS_TKG2d} - ${CAS_TKG3d} - ${CAS_TKTopAlgo} - ${CAS_TKGeomBase} - ${CAS_TKGeomAlgo} - ${CAS_TKCDF} + TKBRep + TKG2d + TKG3d + TKTopAlgo + TKGeomBase + TKGeomAlgo + TKCDF ${MESHGEMS_TETRA_HPC_LIBRARY} ${SMESH_SMESHimpl} ${SMESH_SMESHEngine} diff --git a/src/gui/CMakeLists.txt b/src/gui/CMakeLists.txt index cdd0250..38776fe 100644 --- a/src/gui/CMakeLists.txt +++ b/src/gui/CMakeLists.txt @@ -23,7 +23,7 @@ INCLUDE(UseQtExt) # additional include directories INCLUDE_DIRECTORIES( ${QT_INCLUDES} - ${CAS_INCLUDE_DIRS} + ${OpenCASCADE_INCLUDE_DIR} ${PYTHON_INCLUDE_DIRS} ${KERNEL_INCLUDE_DIRS} ${GUI_INCLUDE_DIRS} @@ -39,7 +39,7 @@ INCLUDE_DIRECTORIES( ADD_DEFINITIONS( ${QT_DEFINITIONS} ${OMNIORB_DEFINITIONS} - ${CAS_DEFINITIONS} + ${OpenCASCADE_DEFINITIONS} ${BOOST_DEFINITIONS} ) @@ -55,7 +55,7 @@ SET(_link_LIBRARIES ${GUI_suit} ${GUI_qtx} ${GUI_SalomeApp} - ${CAS_KERNEL} + ${OpenCASCADE_FoundationClasses_LIBRARIES} SalomeIDLGHS3DPRLPLUGIN ) -- 2.39.2