mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
examples - build IfcAlignment using cmake package
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user