netgen/libsrc/core/CMakeLists.txt

11 lines
343 B
CMake
Raw Normal View History

2018-11-29 22:35:30 +05:00
add_definitions(-DNGINTERFACE_EXPORTS)
add_library(ngcore basearchive.cpp)
2018-11-29 22:35:30 +05:00
set_target_properties(ngcore PROPERTIES POSITION_INDEPENDENT_CODE ON )
install(TARGETS ngcore DESTINATION ${NG_INSTALL_DIR} COMPONENT netgen)
2018-11-29 22:35:30 +05:00
install(FILES ngcore.hpp archive.hpp basearchive.hpp
DESTINATION ${NG_INSTALL_DIR_INCLUDE}/core COMPONENT netgen_devel
)