tumcms / Open-Infra-Platform

This is the official repository of the open-source Open Infra Platform software (as of April 2020).
Other
48 stars 22 forks source link

[BUG] CMake-settings - Difference in default ifc schema #497

Closed christophKaiser closed 2 years ago

christophKaiser commented 2 years ago

Describe the bug In "Setting up and Compiling" (SetupHelp.md), the description says: "NOTE: By default settings, this will build Commands.GenerateEarlyBinding.IFC4X3_RC1." https://github.com/tumcms/Open-Infra-Platform/blob/025cf1713a7d8a39d24ac58822d7b8c7e7a1aa03/Documentation/markdown/SetupHelp.md?plain=1#L151

During my compilation, there was no ifc schema pre-selected in CMake. Thus, I wasn't able to find the projekt Commands.GenerateEarlyBinding.IFC? to build in Visual Studio.

To Reproduce Steps to reproduce the behavior:

  1. (Maybe, delete teh build folder? In my case, it was a fresh installation.)
  2. Delete Cache in CMake
  3. Configure (/ Generate) in CMake
  4. Inspect the groupe EARLYBINDING in CMake (no ifc schema will be preselected), or take a look into the Solution Explorer of Visual Studio

Expected behavior As mentioned in the Setup Help, IFC4X3_RC1 should be preselected. Probably, the appropriate item in the following section should have the attribute ON. https://github.com/tumcms/Open-Infra-Platform/blob/025cf1713a7d8a39d24ac58822d7b8c7e7a1aa03/ExpressBindingGenerator/CMakeLists.txt#L40-L44

Alternative solution On the other side, the description in the Setup Helper could be changed to something like "No ifc schema is pre-selected by default, please select your choice in CMake, groupe EARLYBINDING".