We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hpx/libs/core/config/include/hpx/config.hpp
Lines 277 to 296 in a7ea579
HPX_DEBUG
hpx/CMakeLists.txt
Lines 2191 to 2192 in a7ea579
d
CMAKE_BUILD_TYPE
hpx/cmake/HPX_CompilerFlagsTargets.cmake
Lines 18 to 25 in a7ea579
Looking at that mess at least the third code fragment should be changed to
target_compile_definitions(hpx_private_flags INTERFACE "$<$<CONFIG:DEBUG>:HPX_DEBUG>") target_compile_definitions(hpx_public_flags INTERFACE "$<$<CONFIG:DEBUG>:HPX_DEBUG>")
or the second fragment must be applied to all <CONFIG> suffixes.
<CONFIG>
The text was updated successfully, but these errors were encountered:
@Neumann-A: Good catch! Thanks for the analysis.
Sorry, something went wrong.
No branches or pull requests
hpx/libs/core/config/include/hpx/config.hpp
Lines 277 to 296 in a7ea579
assumes
HPX_DEBUG
for name mangling.(different issue: assumes fixed library prefixes and suffixes which can be easily changed by cmake variables. )
hpx/CMakeLists.txt
Lines 2191 to 2192 in a7ea579
Hardcodes
d
suffix dependent onCMAKE_BUILD_TYPE
hpx/cmake/HPX_CompilerFlagsTargets.cmake
Lines 18 to 25 in a7ea579
Tries to decouple
HPX_DEBUG
fromCMAKE_BUILD_TYPE
(which of course isn't correct if the above is done.)Looking at that mess at least the third code fragment should be changed to
or the second fragment must be applied to all
<CONFIG>
suffixes.The text was updated successfully, but these errors were encountered: