set( PUB_HEADERS ContinuousStructure.h CSPrimitives.h CSProperties.h CSRectGrid.h CSXCAD_Global.h ParameterObjects.h CSFunctionParser.h CSUseful.h ParameterCoord.h CSTransform.h CSBackgroundMaterial.h CSPrimPoint.h CSPrimBox.h CSPrimMultiBox.h CSPrimSphere.h CSPrimSphericalShell.h CSPrimCylinder.h CSPrimCylindricalShell.h CSPrimPolygon.h CSPrimLinPoly.h CSPrimRotPoly.h CSPrimPolyhedron.h CSPrimPolyhedronReader.h CSPrimCurve.h CSPrimWire.h CSPrimUserDefined.h CSPropUnknown.h CSPropMaterial.h CSPropDispersiveMaterial.h CSPropLorentzMaterial.h CSPropDebyeMaterial.h CSPropDiscMaterial.h CSPropLumpedElement.h CSPropMetal.h CSPropConductingSheet.h CSPropExcitation.h CSPropProbeBox.h CSPropDumpBox.h CSPropResBox.h ) set(SOURCES ContinuousStructure.cpp CSPrimitives.cpp CSProperties.cpp CSRectGrid.cpp ParameterObjects.cpp CSFunctionParser.cpp CSUseful.cpp ParameterCoord.cpp CSTransform.cpp CSPrimPoint.cpp CSPrimBox.cpp CSPrimMultiBox.cpp CSPrimSphere.cpp CSPrimSphericalShell.cpp CSPrimCylinder.cpp CSPrimCylindricalShell.cpp CSPrimPolygon.cpp CSPrimLinPoly.cpp CSPrimRotPoly.cpp CSPrimPolyhedron.cpp CSPrimPolyhedronReader.cpp CSPrimCurve.cpp CSPrimWire.cpp CSPrimUserDefined.cpp CSPropUnknown.cpp CSPropMaterial.cpp CSPropDispersiveMaterial.cpp CSPropLorentzMaterial.cpp CSPropDebyeMaterial.cpp CSPropDiscMaterial.cpp CSPropLumpedElement.cpp CSPropMetal.cpp CSPropConductingSheet.cpp CSPropExcitation.cpp CSPropProbeBox.cpp CSPropDumpBox.cpp CSPropResBox.cpp CSBackgroundMaterial.cpp ) # CSXCAD library add_library( CSXCAD SHARED ${SOURCES} ) TARGET_LINK_LIBRARIES( CSXCAD ${fparser_LIBRARIES} ${TinyXML_LIBRARIES} ${HDF5_LIBRARIES} CGAL ${Boost_LIBRARIES} ${vtk_LIBS} ) set_target_properties(CSXCAD PROPERTIES VERSION ${LIB_VERSION_STRING} SOVERSION ${LIB_VERSION_MAJOR}) INSTALL(TARGETS CSXCAD DESTINATION lib${LIB_SUFFIX}) INSTALL(FILES ${PUB_HEADERS} DESTINATION include/CSXCAD)