Salome HOME
Revert "Merge branch 'yan/parallel_mesh2'"
[plugins/netgenplugin.git] / src / NETGENPlugin / CMakeLists.txt
index 76f4e4601f2ac5e97fb4f134aeb3a5bd0e4bb066..bfd94945307c09d1c43c5412b1e3b2f7eb560fe6 100644 (file)
@@ -34,7 +34,7 @@ INCLUDE_DIRECTORIES(
 )
 
 # additional preprocessor / compiler flags
-ADD_DEFINITIONS(
+ADD_DEFINITIONS(  
   ${OMNIORB_DEFINITIONS}
   ${OpenCASCADE_DEFINITIONS}
   ${BOOST_DEFINITIONS}
@@ -63,8 +63,6 @@ SET(_link_LIBRARIES
   ${KERNEL_SalomeNS}
   ${KERNEL_SALOMELocalTrace}
   ${KERNEL_OpUtil}
-  VTK::CommonCore
-  VTK::CommonDataModel
   SalomeIDLNETGENPLUGIN
 )
 
@@ -72,30 +70,27 @@ SET(_link_LIBRARIES
 
 # header files
 SET(NETGENEngine_HEADERS
-  NETGENPlugin_NETGEN_3D.hxx
-  NETGENPlugin_NETGEN_3D_i.hxx
-  NETGENPlugin_NETGEN_2D.hxx
-  NETGENPlugin_NETGEN_2D_i.hxx
-  NETGENPlugin_NETGEN_2D3D.hxx
-  NETGENPlugin_NETGEN_2D3D_i.hxx
-  NETGENPlugin_NETGEN_2D_ONLY.hxx
-  NETGENPlugin_NETGEN_2D_ONLY_i.hxx
-  NETGENPlugin_Hypothesis.hxx
-  NETGENPlugin_Hypothesis_i.hxx
-  NETGENPlugin_Hypothesis_2D.hxx
-  NETGENPlugin_Hypothesis_2D_i.hxx
-  NETGENPlugin_Hypothesis_3D_i.hxx
-  NETGENPlugin_Hypothesis_2D_ONLY_i.hxx
-  NETGENPlugin_SimpleHypothesis_2D.hxx
-  NETGENPlugin_SimpleHypothesis_3D.hxx
-  NETGENPlugin_SimpleHypothesis_2D_i.hxx
-  NETGENPlugin_SimpleHypothesis_3D_i.hxx
-  NETGENPlugin_Mesher.hxx
+  NETGENPlugin_NETGEN_3D.hxx 
+  NETGENPlugin_NETGEN_3D_i.hxx 
+  NETGENPlugin_NETGEN_2D.hxx 
+  NETGENPlugin_NETGEN_2D_i.hxx 
+  NETGENPlugin_NETGEN_2D3D.hxx 
+  NETGENPlugin_NETGEN_2D3D_i.hxx 
+  NETGENPlugin_NETGEN_2D_ONLY.hxx 
+  NETGENPlugin_NETGEN_2D_ONLY_i.hxx 
+  NETGENPlugin_Hypothesis.hxx 
+  NETGENPlugin_Hypothesis_i.hxx 
+  NETGENPlugin_Hypothesis_2D.hxx 
+  NETGENPlugin_Hypothesis_2D_i.hxx 
+  NETGENPlugin_Hypothesis_3D_i.hxx 
+  NETGENPlugin_Hypothesis_2D_ONLY_i.hxx 
+  NETGENPlugin_SimpleHypothesis_2D.hxx 
+  NETGENPlugin_SimpleHypothesis_3D.hxx 
+  NETGENPlugin_SimpleHypothesis_2D_i.hxx 
+  NETGENPlugin_SimpleHypothesis_3D_i.hxx 
+  NETGENPlugin_Mesher.hxx 
   NETGENPlugin_Remesher_2D.hxx
   NETGENPlugin_Defs.hxx
-  NETGENPlugin_Provider.hxx
-  netgen_param.hxx
-  netgen_mesher.hxx
 )
 
 # --- sources ---
@@ -123,12 +118,6 @@ SET(NETGENEngine_SOURCES
   NETGENPlugin_SimpleHypothesis_3D_i.cxx
   NETGENPlugin_Remesher_2D.cxx
   NETGENPlugin_i.cxx
-  netgen_mesher.cxx
-  netgen_param.cxx
-)
-
-SET(Run_Mesher_SOURCES
-  run_mesher.cxx
 )
 
 # --- scripts ---
@@ -145,10 +134,6 @@ ADD_LIBRARY(NETGENEngine ${NETGENEngine_SOURCES})
 TARGET_LINK_LIBRARIES(NETGENEngine ${_link_LIBRARIES} )
 INSTALL(TARGETS NETGENEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
 
-ADD_EXECUTABLE(run_mesher ${Run_Mesher_SOURCES})
-TARGET_LINK_LIBRARIES(run_mesher ${_link_LIBRARIES} NETGENEngine )
-INSTALL(TARGETS run_mesher EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_BINS})
-
 INSTALL(FILES ${NETGENEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})
 
 SALOME_INSTALL_SCRIPTS("${_bin_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/NETGENPlugin)