Skip to content

CheckerGccPlugins Header Check, master branch (2023.02.27.)

Made CMake look for "gcc-plugin.h". This is to detect already during the CMake configuration if the GCC installation in use does not have development headers available. (Which is a setup I just now found myself in. Longer story...)

This adds the following type of output during CMake configuration:

...
-- Configuring the build of package: CheckerGccPlugins
-- Found gmp: /usr/include  
-- Looking for C++ include gcc-plugin.h
-- Looking for C++ include gcc-plugin.h - found
...

Or:

...
-- Configuring the build of package: CheckerGccPlugins
-- Found gmp: /usr/include  
-- Looking for C++ include gcc-plugin.h
-- Looking for C++ include gcc-plugin.h - not found
CMake Warning at /mnt/hdd1/krasznaa/projects/celeritas/atlasexternals/External/CheckerGccPlugins/CMakeLists.txt:25 (message):
  Could not find gcc-plugin.h, not building CheckerGccPlugins
...

At the same time removed that ancient relic of ATLAS_RELEASE_MODE reference. (This is a feature/behaviour that I removed from AtlasCMake ages ago.)

Pinging @ssnyder.

Merge request reports