So there's currently no way to do this? It would eliminate the need for z/OS-specific code in CheckTypeSize.cmake, since the compiler script could force -fascii in that case.
I guess I'll have to do it by filename, which is kinda fugly but doable. ...phsiii -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Smith Sent: Friday, September 05, 2008 1:02 PM To: [email protected] Subject: [CMake] Differentiating CMAKE-driven compiles from product compiles For our cross-compiling, we need to set some "peculiar" compiler options. However, those options make CMake fail when it calls the compiler for CheckTypeSize, testCCompiler, and CheckIncludeFile (what I call the "CMake compiles"). Is there a way to differentiate the options passed on the CMake compiles? I keep peering at CMAKE_BUILD_TYPE, but I don't think that's quite it. _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
