I can't say I share this experience. We use this mechanism to substitute "standard" flags with less or more optimization and/or other options. Usually -O3 instead of -O2, and I don't get them both on the commandline.
Arjen From: Brian Davis [mailto:bitmi...@gmail.com] >>set_source_files_properties(${CMAKE_BINARY_DIR}/path/to/file.f PROPERTIES >>GENERATED TRUE COMPILE_FLAGS "${FFLAG_OPT}") >COMPILE flags only appends to thoes already set CMAKE_... vars. I need a way >to override all the other vars on a per target basis. _______________________________________________ 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://www.cmake.org/mailman/listinfo/cmake