netgen/libsrc/core/CMakeLists.txt
2018-12-06 17:53:44 +01:00

11 lines
371 B
CMake

add_definitions(-DNGINTERFACE_EXPORTS)
add_library(ngcore basearchive.cpp)
set_target_properties(ngcore PROPERTIES POSITION_INDEPENDENT_CODE ON )
install(TARGETS ngcore DESTINATION ${NG_INSTALL_DIR} COMPONENT netgen)
install(FILES ngcore.hpp archive.hpp basearchive.hpp version.hpp type_traits.hpp
DESTINATION ${NG_INSTALL_DIR_INCLUDE}/core COMPONENT netgen_devel
)