Skip to content

Compilation flags are unexpected #169

@steve-downey

Description

@steve-downey
[5/12] /usr/bin/g++  -I/home/sdowney/src/bemanproject/exemplar/main/src/beman/exemplar/../../../include -O3  -O2 -g -DNDEBUG -std=gnu++20 -MD -MT examples/CMakeFiles/beman.exemplar.examples.identity_as_default_projection.dir/identity_as_default_projection.cpp.o -MF examples/CMakeFiles/beman.exemplar.examples.identity_as_default_projection.dir/identity_as_default_projection.cpp.o.d -o examples/CMakeFiles/beman.exemplar.examples.identity_as_default_projection.dir/identity_as_default_projection.cpp.o -c /home/sdowney/src/bemanproject/exemplar/main/examples/identity_as_default_projection.cpp

Note the repeated optimization levels

I think this may be due to using the _INIT forms of the FLAGS variables?
Docs:

CMake may prepend or append content to the value based on the environment and target platform.

Metadata

Metadata

Assignees

Labels

buildIssues related to our build systeminfra

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions