Is there any way short of editing the ${CMAKE_ROOT}/Modules/Platform/ cmake
files themselves to set which compiler flags are used during the initial
try-compile during cmake configure time where it tries to determine whether
the C compiler works?

I want to remove the /Zi and /debug flags from CMAKE_C_COMPILER_INIT,
etc. in Windows-cl.cmake in order to build over cygwin ssh with pubkey
authent and VS2005.  I can control the flags in my project just fine and am
perfectly happy to give up pdbs for the scenarios where I build-and-test
over ssh.  I just need to disable pdbs for cmake's try-compile.  I'm
looking for a solution other than using 'at' to launch the build as an
authenticated user, using ssh password authentication, or editing the
Windows-cl.cmake file itself.

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