Skip to content

Conversation

@SunBlack
Copy link

@SunBlack SunBlack commented Dec 8, 2025

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 ON because 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).

@GabrielDosReis
Copy link
Collaborator

I set the default to ON

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.

Copy link
Collaborator

@GabrielDosReis GabrielDosReis left a 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}"
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing endif()?

Copy link
Author

@SunBlack SunBlack Dec 10, 2025

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 😅

Copy link
Author

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.

Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants