[cmake-developers] [CMake 0012928]: CMake silently ignores CPPFLAGS
Mantis Bug Tracker
mantis at public.kitware.com
Thu Feb 2 17:10:17 EST 2012
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=12928
======================================================================
Reported By: Aron Xu
Assigned To:
======================================================================
Project: CMake
Issue ID: 12928
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-02-02 17:10 EST
Last Modified: 2012-02-02 17:10 EST
======================================================================
Summary: CMake silently ignores CPPFLAGS
Description:
CMake silently ignores CPPFLAGS, which should be accepted from environmental
variables.
Steps to Reproduce:
In top source directory:
$ mkdir build && cd build
$ CPPFLAGS=-D_FORTIFY_SOURCE=2 cmake ..
Then grep from all the generated files, there is no such keyword "FORTIFY".
$ make
Again, we cannot find anything related to the CPPFLAGS in generated files after
building, which means it's ignored completely.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-02-02 17:10 Aron Xu New Issue
======================================================================
More information about the cmake-developers
mailing list