[CMake] Compiler varience?
Bill Hoffman
bill.hoffman at kitware.com
Tue Sep 9 14:40:08 EDT 2008
Preston A. Elder wrote:
> That does help a lot, but I think does not go quite far enough.
>
> As I said, there are other things that need to be done such as:
> - Adjusting warning levels (CMAKE_WARN_LEVEL=(None|Full|Standard) )
> - Forcing a 32-bit or 64-bit compile
> - Allowing for platform-specific builds if possible (ie. don't maintain
> i386 compatibility, compile specifically for i686).
>
> Most of these can be done in all supported compilers, but the flags for
> doing so are different per-compiler. Since the Platform directory
> exists (thanks for pointing it out, I didn't see it before), is there
> any thoughts on an effort to expand this to more than just optimization
> and debug flags?
>
I can not seem to find the bug entry, but there is a long term goal of
having a more feature based set of options. Things like
CMAKE_WARN_LEVEL. Brad King might want to comment more on this, but the
short answer is yes, but it is a ways off.
-Bill
More information about the CMake
mailing list