[CMake] Changing the include switch

John Donovan john.donovan at embryonicstudios.com
Tue Jun 12 10:11:52 EDT 2007


----- Original Message ----- 
From: "John Donovan" <john.donovan at embryonicstudios.com>
To: <cmake at cmake.org>
Sent: Tuesday, June 12, 2007 1:40 PM
Subject: [CMake] Changing the include switch


> An alternative is to provide the -gccincludes switch to the compiler 
> commandline _before_ the -I switches, but CMake puts the includes first, 
> then the definitions and COMPILE_FLAGS property.

Fixed it. I found the property CMAKE_C_FLAGS, which gets put immediately 
after the compiler executable and before everything else.

John Donovan - Programmer, TT Fusion Ltd.



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


More information about the CMake mailing list