John R. Cary wrote:
> BTW - should a 'CXX.cmake' file include *_C_FLAGS?

In principle no, but it works around some historical cruft
that hasn't been cleaned up yet.

> Curious about how these work.  I assume that cmake does
> a mapping from the OS and compiler to a Platform file, but
> then there are also Compiler files.   Could one put
> the above into Modules/Compiler/XL-CXX.cmake and have
> it work for all platforms?

The Compiler/* directory was just added a couple weeks ago.
Not everything has been converted over to it.

Any flags for a compiler that are independent of the platform
should go in it.

-Brad
_______________________________________________
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