-
Notifications
You must be signed in to change notification settings - Fork 19
Make building the ifc tool optional #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
That is a good default. The IFC SDK should be thought of as as you would think of a compiler framework like Clang+LLVM - set of executables and libraries. |
GabrielDosReis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
| install( | ||
| TARGETS ifc | ||
| RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing endif()?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, sorry, the same thing happened to me two days ago with other changes, where I was in C++-CMake syntax mix mode rather than plain CMake syntax mode 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addition: Undecided whether to indent with 2 or 4 tabs; this does not seem to be consistent across the CMake files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, sorry, the same thing happened to me two days ago with other changes, where I was in C++-CMake syntax mix mode rather than plain CMake syntax mode 😅
:-)
I would have expected a local build to catch it.
f589195 to
3f8735a
Compare
When updating the vcpkg package from 0.43.1 to 0.43.5, the CI failed because the ifc tool is now also being built, while vcpkg only expects libraries by default. Therefore, add an option to not build the tool. I set the default to
ONbecause otherwise I would have to adjust the workflow so that it continues to be built here in the CI, where I don't know what is preferred here (even though I prefer it when only a minimal set is active by default in CMake, as many people probably forget to deactivate the extra tools in their CIs).