Commit 6718b000 authored by Michael Turner's avatar Michael Turner

rework cmake lists

parent 362a3c0b
......@@ -101,11 +101,11 @@ ADD_DEFINITIONS(-DNEKMESHUTILS_EXPORTS)
ADD_NEKTAR_LIBRARY(NekMeshUtils lib ${NEKTAR_LIBRARY_TYPE}
${NEKMESHUTILS_SOURCES} ${NEKMESHUTILS_HEADERS})
TARGET_LINK_LIBRARIES(NekMeshUtils LINK_PUBLIC LocalRegions)
TARGET_LINK_LIBRARIES(NekMeshUtils LINK_PUBLIC SpatialDomains)
IF(NEKTAR_USE_MESHGEN)
TARGET_LINK_LIBRARIES(NekMeshUtils LINK_PRIVATE ${TETGEN_LIBRARY})
TARGET_LINK_LIBRARIES(NekMeshUtils LINK_PUBLIC ${OCC_LIBRARIES})
TARGET_LINK_LIBRARIES(NekMeshUtils LINK_PRIVATE ${OCC_LIBRARIES})
ADD_DEPENDENCIES(NekMeshUtils oce-0.17 tetgen-1.5)
......
......@@ -27,6 +27,11 @@ SET(NekMeshHeaders
ProcessModules/ProcessOptiExtract.h
ProcessModules/ProcessInsertSurface.h
ProcessModules/ProcessExtrude.h
ProcessModules/ProcessVarOpti/ProcessVarOpti.h
ProcessModules/ProcessVarOpti/NodeOpti.h
ProcessModules/ProcessVarOpti/ElUtil.h
ProcessModules/ProcessVarOpti/Evaluator.hxx
ProcessModules/ProcessVarOpti/Hessian.hxx
)
SET(NekMeshSources
......@@ -59,6 +64,10 @@ SET(NekMeshSources
ProcessModules/ProcessOptiExtract.cpp
ProcessModules/ProcessInsertSurface.cpp
ProcessModules/ProcessExtrude.cpp
ProcessModules/ProcessVarOpti/ProcessVarOpti.cpp
ProcessModules/ProcessVarOpti/PreProcessing.cpp
ProcessModules/ProcessVarOpti/NodeOpti.cpp
ProcessModules/ProcessVarOpti/ElUtil.cpp
)
IF (NEKTAR_USE_CCM)
......@@ -74,18 +83,9 @@ ENDIF (NEKTAR_USE_VTK)
IF (NEKTAR_USE_MESHGEN)
SET(NekMeshHeaders ${NekMeshHeaders}
ProcessModules/ProcessVarOpti/NodeOptiCAD.h
ProcessModules/ProcessVarOpti/ProcessVarOpti.h
ProcessModules/ProcessVarOpti/NodeOpti.h
ProcessModules/ProcessVarOpti/ElUtil.h
ProcessModules/ProcessVarOpti/Evaluator.hxx
ProcessModules/ProcessVarOpti/Hessian.hxx
InputModules/InputMCF.h)
SET(NekMeshSources ${NekMeshSources}
ProcessModules/ProcessVarOpti/NodeOptiCAD.cpp
ProcessModules/ProcessVarOpti/ProcessVarOpti.cpp
ProcessModules/ProcessVarOpti/PreProcessing.cpp
ProcessModules/ProcessVarOpti/NodeOpti.cpp
ProcessModules/ProcessVarOpti/ElUtil.cpp
InputModules/InputMCF.cpp)
ENDIF (NEKTAR_USE_MESHGEN)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment