This ensures that when libcxx_shared or libcxx_static the site configuration is always included as appropriate.
Diff Detail
Diff Detail
- Repository
- rCXX libc++
Event Timeline
Comment Actions
When libc++ is installed, the __config_site and __config are concatenated to make a single __config. I'm imagining this is specific to using libc++ from the build tree? If so, you should use INTERFACE_INCLUDE_DIRECTORIES and $<BUILD_INTERFACE:...> to limit it to builds.
Comment Actions
Hmm, yes, it is for use from the build tree. I don't see how INTERFACE_INCLUDE_DIRECTORIES can do a -include though. It has to be INTERFACE_COMPILE_OPTIONS or INTERFACE_COMPILE_DEFINITIONS.
Comment Actions
Sorry, that was me not thinking properly :D The comment about BUILD_INTERFACE stills stands though.