[CMake] Compiler varience?

2008-09-09 Thread Preston A. Elder
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

Re: [CMake] Compiler varience?

2008-09-09 Thread Bill Hoffman
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

Re: [CMake] Compiler varience?

2008-09-09 Thread Brad King
Bill Hoffman wrote: 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

Re: [CMake] Compiler varience?

2008-09-09 Thread Alexander Neundorf
On Tuesday 09 September 2008, Preston A. Elder wrote: Hey, Is there a module out there that will supply pre-defined flags for different compilers? I made a start on one, but I can't believe I am the first, but a snippet of what I have been making: if (${CMAKE_C_COMPILER_ID} STREQUAL GNU)