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 ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers