netgen/libsrc/stlgeom/CMakeLists.txt

22 lines
601 B
CMake
Raw Normal View History

2015-03-06 14:59:14 +01:00
add_library(stl ${NG_LIB_TYPE}
meshstlsurface.cpp stlgeom.cpp stlgeomchart.cpp
2016-12-12 10:47:05 +01:00
stlgeommesh.cpp stlline.cpp stltool.cpp stltopology.cpp python_stl.cpp
2015-03-06 14:59:14 +01:00
)
if(NOT WIN32)
2017-01-09 18:45:12 +01:00
target_link_libraries( stl mesh ${PYTHON_LIBRARIES})
target_link_libraries( stl ${PYTHON_LIBRARIES})
2016-02-08 15:53:16 +01:00
install( TARGETS stl ${ng_install_dir})
2015-03-06 14:59:14 +01:00
endif(NOT WIN32)
if(USE_GUI)
add_library(stlvis ${NG_LIB_TYPE}
2015-10-19 10:08:30 +02:00
vsstl.cpp
2015-03-06 14:59:14 +01:00
)
if(NOT WIN32)
target_link_libraries( stlvis stl )
2016-02-08 15:53:16 +01:00
install( TARGETS stlvis ${ng_install_dir})
2015-03-06 14:59:14 +01:00
endif(NOT WIN32)
endif(USE_GUI)