netgen/libsrc/interface/CMakeLists.txt

22 lines
770 B
CMake
Raw Normal View History

2015-03-06 18:59:14 +05:00
add_definitions(-DNGINTERFACE_EXPORTS)
add_library(interface ${NG_LIB_TYPE}
nginterface.cpp nginterface_v2.cpp
read_fnf_mesh.cpp readtetmesh.cpp readuser.cpp writeabaqus.cpp writediffpack.cpp
writedolfin.cpp writeelmer.cpp writefeap.cpp writefluent.cpp writegmsh.cpp writejcm.cpp
writepermas.cpp writetecplot.cpp writetet.cpp writetochnog.cpp writeuser.cpp
wuchemnitz.cpp writegmsh2.cpp writeOpenFOAM15x.cpp
)
if(NOT WIN32)
2015-03-24 20:32:35 +05:00
target_link_libraries(interface mesh csg geom2d)
2015-03-06 18:59:14 +05:00
if(USE_GUI)
target_link_libraries(interface visual)
endif(USE_GUI)
2016-02-08 19:53:16 +05:00
install( TARGETS interface ${ng_install_dir})
2015-03-06 18:59:14 +05:00
endif(NOT WIN32)
2017-01-16 18:56:57 +05:00
install(FILES
writeuser.hpp
DESTINATION ${INCDIR}/interface COMPONENT netgen_devel
)