Dear CMake experts,

in our project we have some categories of compiler flags, like 'safe flags'-no 
optimization, 'runtime checking flags', 'profiling flags' and so on.

I would like to have defined own filename extensions according to  specific 
compilers flags, let say

make VERBOSE=1 source_file.r  compiles source file (C,Fortran,C++) with runtime 
checking flags
make VERBOSE=1 source_file.s  creates object  without optimizatin
make VERBOSE=1 source_file.rs  creates object file with runtime checking flags 
and without optimization

and make source_file.o makes 'classic' object file.

Any clues, please ?

Best, 

Miro 
--

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

Reply via email to