2025-11-18 16:26:57 +05:00
|
|
|
find_package(Boost REQUIRED)
|
2025-11-10 21:21:52 +01:00
|
|
|
|
|
|
|
|
file(GLOB CPP_FILES *.cpp)
|
2025-11-18 18:34:25 +05:00
|
|
|
set(SOURCE_FILES ${CPP_FILES})
|
2025-11-10 21:21:52 +01:00
|
|
|
add_executable(IfcGeomServer ${SOURCE_FILES})
|
2026-04-15 18:07:28 +02:00
|
|
|
target_link_libraries(IfcGeomServer IfcGeom ${OpenCASCADE_LIBRARIES})
|
|
|
|
|
if(WITH_OPENCASCADE)
|
|
|
|
|
target_link_libraries(IfcGeomServer geometry_kernel_opencascade)
|
|
|
|
|
endif()
|
2026-05-06 21:17:25 +02:00
|
|
|
if(schema_libraries OR kernel_libraries OR mapping_libraries)
|
|
|
|
|
add_dependencies(IfcGeomServer ${schema_libraries} ${kernel_libraries} ${mapping_libraries})
|
2026-04-17 11:24:09 +02:00
|
|
|
endif()
|
2025-11-10 21:21:52 +01:00
|
|
|
|
2025-12-20 13:27:35 +05:00
|
|
|
install(TARGETS IfcGeomServer EXPORT ${IFCOPENSHELL_EXPORT_TARGETS})
|