mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 02:07:36 +00:00
Examples now also depend on helpers
This commit is contained in:
@@ -539,6 +539,10 @@ add_subdirectory(../src/plugin plugin)
|
|||||||
add_subdirectory(../src/ifcparse ifcparse)
|
add_subdirectory(../src/ifcparse ifcparse)
|
||||||
set(IFCOPENSHELL_LIBRARIES IfcParse)
|
set(IFCOPENSHELL_LIBRARIES IfcParse)
|
||||||
|
|
||||||
|
if(BUILD_EXAMPLES OR BUILD_BONSAIVIEWER)
|
||||||
|
add_subdirectory(../src/helpers helpers)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(BUILD_IFCPARSE_EXPERIMENTAL_WRAPPER)
|
if(BUILD_IFCPARSE_EXPERIMENTAL_WRAPPER)
|
||||||
add_subdirectory(../src/wrappergen wrappergen)
|
add_subdirectory(../src/wrappergen wrappergen)
|
||||||
endif()
|
endif()
|
||||||
@@ -708,11 +712,6 @@ if(BUILD_BONSAIVIEWER_TESTS)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(BUILD_BONSAIVIEWER)
|
if(BUILD_BONSAIVIEWER)
|
||||||
# helpers first — schema-agnostic helpers (Unit, Geolocation,
|
|
||||||
# Placement) that IfcViewer's Federation links against. Adding here
|
|
||||||
# before ifcviewer/ so the link target exists when IfcViewer's
|
|
||||||
# CMakeLists runs.
|
|
||||||
add_subdirectory(../src/helpers helpers)
|
|
||||||
# IfcViewer is the unified scene + render lib since the wgpu/ifcviewer
|
# IfcViewer is the unified scene + render lib since the wgpu/ifcviewer
|
||||||
# merge — wgpu-native is fetched inside its CMakeLists.txt.
|
# merge — wgpu-native is fetched inside its CMakeLists.txt.
|
||||||
add_subdirectory(../src/ifcviewer ifcviewer)
|
add_subdirectory(../src/ifcviewer ifcviewer)
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ if("2x3" IN_LIST SCHEMA_VERSIONS)
|
|||||||
build_schema_example(faces 2x3)
|
build_schema_example(faces 2x3)
|
||||||
build_schema_example(ifc_curve_rebar 2x3)
|
build_schema_example(ifc_curve_rebar 2x3)
|
||||||
build_schema_example(profiles 2x3)
|
build_schema_example(profiles 2x3)
|
||||||
build_schema_example(IfcParseExamples 2x3)
|
build_schema_example(IfcParseExamples 2x3 helpers)
|
||||||
|
|
||||||
if(WITH_OPENCASCADE)
|
if(WITH_OPENCASCADE)
|
||||||
build_schema_example(IfcOpenHouse 2x3 geometry_serializer)
|
build_schema_example(IfcOpenHouse 2x3 geometry_serializer)
|
||||||
|
|||||||
Reference in New Issue
Block a user