2015-03-06 18:59:14 +05:00
|
|
|
add_library(stl ${NG_LIB_TYPE}
|
|
|
|
meshstlsurface.cpp stlgeom.cpp stlgeomchart.cpp
|
|
|
|
stlgeommesh.cpp stlline.cpp stltool.cpp stltopology.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
if(NOT WIN32)
|
|
|
|
target_link_libraries( stl mesh ${PYTHON_LIBS})
|
|
|
|
target_link_libraries( stl ${PYTHON_LIBS})
|
2015-04-08 23:04:28 +05:00
|
|
|
install( TARGETS stl DESTINATION lib COMPONENT netgen )
|
2015-03-06 18:59:14 +05:00
|
|
|
endif(NOT WIN32)
|
|
|
|
|
|
|
|
if(USE_GUI)
|
|
|
|
add_library(stlvis ${NG_LIB_TYPE}
|
2015-10-19 13:08:30 +05:00
|
|
|
vsstl.cpp
|
2015-03-06 18:59:14 +05:00
|
|
|
)
|
|
|
|
if(NOT WIN32)
|
|
|
|
target_link_libraries( stlvis stl )
|
2015-04-08 23:04:28 +05:00
|
|
|
install( TARGETS stlvis DESTINATION lib COMPONENT netgen )
|
2015-03-06 18:59:14 +05:00
|
|
|
endif(NOT WIN32)
|
|
|
|
endif(USE_GUI)
|
|
|
|
|