mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 22:00:33 +05:00
18 lines
608 B
CMake
18 lines
608 B
CMake
add_definitions(-DNGINTERFACE_EXPORTS)
|
|
add_library(gprim OBJECT
|
|
adtree.cpp geom2d.cpp geom3d.cpp geomfuncs.cpp
|
|
geomtest3d.cpp transform3d.cpp spline.cpp splinegeometry.cpp
|
|
)
|
|
if(NOT WIN32)
|
|
target_link_libraries(gprim ngcore)
|
|
endif(NOT WIN32)
|
|
|
|
set_target_properties( gprim PROPERTIES POSITION_INDEPENDENT_CODE ON )
|
|
|
|
install(FILES
|
|
adtree.hpp geom2d.hpp geom3d.hpp geomfuncs.hpp geomobjects2.hpp
|
|
geomobjects.hpp geomops2.hpp geomops.hpp geomtest3d.hpp gprim.hpp
|
|
splinegeometry.hpp spline.hpp transform3d.hpp
|
|
DESTINATION ${NG_INSTALL_DIR_INCLUDE}/gprim COMPONENT netgen_devel
|
|
)
|