mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
ifcopenshell installation notion about compiling only specific schemas
This commit is contained in:
@@ -756,6 +756,8 @@ if(NOT SCHEMA_VERSIONS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
message(STATUS "IFC SCHEMA_VERSIONS that will be used for the build: ${SCHEMA_VERSIONS}.")
|
||||
|
||||
foreach(schema ${SCHEMA_VERSIONS})
|
||||
add_definitions(-DHAS_SCHEMA_${schema})
|
||||
endforeach()
|
||||
|
||||
@@ -10,6 +10,9 @@ you how to compile and install IfcOpenShell.
|
||||
IfcOpenShell-Python, IfcConvert, or the other utilities such as IfcClash or
|
||||
IfcDiff. Compilation is only necessary for C++ developers.
|
||||
|
||||
By default, it will compile all available IFC schemas. To reduce compilation time you can specify
|
||||
only the schemas you need in `CMakeLists.txt` with `set(SCHEMA_VERSIONS "2x3" "4")`.
|
||||
|
||||
You will need:
|
||||
|
||||
- `Git <https://git-scm.com/>`__
|
||||
|
||||
Reference in New Issue
Block a user