[cmake-developers] Flag ordering

2013-04-18 Thread Orion Poplawski
Can anyone tell me why the default CMAKE*_FLAGS_*_INIT values get placed *after* the specified CFLAGS? This makes it hard to override the -O value specified there. -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX:

Re: [cmake-developers] Flag ordering

2013-04-18 Thread Brad King
On 04/18/2013 11:24 AM, Orion Poplawski wrote: Can anyone tell me why the default CMAKE*_FLAGS_*_INIT values get placed *after* the specified CFLAGS? This makes it hard to override the -O value specified there. Per-config flags are more specific than general flags. Options like -O are