2017-01-31 18:58:01 +05:00
|
|
|
add_definitions(-DNGINTERFACE_EXPORTS)
|
2015-03-06 18:59:14 +05:00
|
|
|
add_library(occ ${NG_LIB_TYPE}
|
|
|
|
Partition_Inter2d.cxx Partition_Inter3d.cxx
|
|
|
|
Partition_Loop.cxx Partition_Loop2d.cxx Partition_Loop3d.cxx Partition_Spliter.cxx
|
|
|
|
occconstruction.cpp occgenmesh.cpp occgeom.cpp occmeshsurf.cpp
|
|
|
|
)
|
|
|
|
|
2016-03-14 18:22:25 +05:00
|
|
|
add_library(occvis ${NG_LIB_TYPE} vsocc.cpp)
|
2015-03-06 18:59:14 +05:00
|
|
|
|
|
|
|
if(NOT WIN32)
|
2017-01-09 22:45:12 +05:00
|
|
|
target_link_libraries( occ ${OCC_LIBRARIES} ${PYTHON_LIBRARIES})
|
2015-03-06 18:59:14 +05:00
|
|
|
target_link_libraries( occvis occ )
|
2016-02-08 19:53:16 +05:00
|
|
|
install( TARGETS occ occvis ${ng_install_dir})
|
2015-03-06 18:59:14 +05:00
|
|
|
endif(NOT WIN32)
|
|
|
|
|
2017-01-16 18:56:57 +05:00
|
|
|
install(FILES
|
|
|
|
occgeom.hpp occmeshsurf.hpp vsocc.hpp
|
|
|
|
DESTINATION ${INCDIR}/occ COMPONENT netgen_devel
|
|
|
|
)
|