netgen/libsrc/core/CMakeLists.txt
Christopher Lackner 8e29d38fc1 archive works for pointers and shared_ptrs (even with
mult. inheritance and virtual base classes)
2018-12-03 16:28:04 +01:00

11 lines
343 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
DESTINATION ${NG_INSTALL_DIR_INCLUDE}/core COMPONENT netgen_devel
)