examples - build IfcAlignment using cmake package

This commit is contained in:
Andrej730
2025-12-12 16:08:43 +05:00
parent 43533706a4
commit 4d34e4296c
5 changed files with 32 additions and 11 deletions
+8 -1
View File
@@ -1,5 +1,5 @@
Example of building IfcParseExamples outside of the IfcOpenShell build tree.
Example of building examples outside of the IfcOpenShell build tree.
```powershell
$IFCOPENSHELL_ROOT="L:\Projects\Github\IfcOpenShell"
@@ -9,6 +9,13 @@ $PREFIX_PATH+=";$IFCOPENSHELL_ROOT\_deps-vs2022-x64-installed\rocksdb"
$PREFIX_PATH+=";$IFCOPENSHELL_ROOT\_deps-vs2022-x64-installed\zstd"
$PREFIX_PATH+=";L:\Software\usr\libxml2"
# + Support for IfcHouse and IfcAlignment examples.
$PREFIX_PATH+=";L:\Software\usr\eigen-3.3.9"
$PREFIX_PATH+=";L:\Projects\Github\IfcOpenShell\_deps-vs2022-x64-installed\cgal"
$PREFIX_PATH+=";L:\Projects\Github\IfcOpenShell\_deps-vs2022-x64-installed\mpir"
$PREFIX_PATH+=";L:\Projects\Github\IfcOpenShell\_deps-vs2022-x64-installed\mpfr"
$PREFIX_PATH+=";L:\Projects\Github\IfcOpenShell\_deps-vs2022-x64-installed\opencascade-7.8.1-new-layout"
cmake .. -G Ninja -DCMAKE_PREFIX_PATH="$PREFIX_PATH" -DCMAKE_BUILD_TYPE=Release
ninja -v
./IfcParseExamples.exe "../IfcParseExamples_test.ifc"