]> SALOME platform Git repositories - plugins/hybridplugin.git/commitdiff
Salome HOME
Migration to OpenCASCADE CMake configuration
authorrnv <rnv@opencascade.com>
Wed, 15 Feb 2017 15:24:50 +0000 (18:24 +0300)
committerrnv <rnv@opencascade.com>
Tue, 30 Jan 2018 15:28:40 +0000 (18:28 +0300)
CMakeLists.txt
src/GUI/CMakeLists.txt
src/HYBRIDPlugin/CMakeLists.txt

index ad05480241ad166e5e345e4be8aab38710c08ab2..af9053e4130002a7a3b17057a1c15435a010fa54 100755 (executable)
@@ -132,7 +132,7 @@ ENDIF(SALOME_BUILD_GUI)
 # VTK
 FIND_PACKAGE(SalomeVTK REQUIRED)
 # OCCT
-FIND_PACKAGE(SalomeCAS REQUIRED)
+FIND_PACKAGE(SalomeOpenCASCADE REQUIRED)
 
 # Find GEOM
 # ===========
index 8e5642c7a550144235670855019d1154e2173ff3..3947ad076a47886e2b9f188460b1fe8746a12c29 100644 (file)
@@ -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}
@@ -40,7 +40,7 @@ INCLUDE_DIRECTORIES(
 ADD_DEFINITIONS(
   ${QT_DEFINITIONS}
   ${OMNIORB_DEFINITIONS}
-  ${CAS_DEFINITIONS}
+  ${OpenCASCADE_DEFINITIONS}
   ${BOOST_DEFINITIONS}
 )
 
@@ -56,7 +56,7 @@ SET(_link_LIBRARIES
   ${GUI_suit}
   ${GUI_qtx}
   ${GUI_SalomeApp}
-  ${CAS_KERNEL}
+  ${OpenCASCADE_FoundationClasses_LIBRARIES}
   SalomeIDLHYBRIDPLUGIN
 )
 
index caeb991c6b7dfba8cbb855342c204fdd2c5584b0..95915dc0f08a13e6bd6b191602c762691da6fdaa 100644 (file)
@@ -21,7 +21,7 @@
 # additional include directories
 INCLUDE_DIRECTORIES(
   ${KERNEL_INCLUDE_DIRS}
-  ${CAS_INCLUDE_DIRS}
+  ${OpenCASCADE_INCLUDE_DIR}
   ${GEOM_INCLUDE_DIRS}
   ${SMESH_INCLUDE_DIRS}
   ${VTK_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_HYBRID_LIBRARY}
   ${SMESH_SMESHimpl}
   ${SMESH_SMESHEngine}