[CMake] Per Target CMAKE_C??_FLAGS Reset/Redefinition

2015-05-25 Thread David Hauck
Hi, I've been searching for a definitive discussion of this but haven't been successful finding it. I have a (Unix Makefile) CMakeLists.txt project sub-directory that defines several (3) targets (for executable and shared targets). I'm trying to reset/redefine the CMAKE_C??_FLAGS (specifically

Re: [CMake] Setting install dir based on Debug or Release

2015-05-25 Thread Stephen Kelly
Scott Aron Bloom wrote: > The problem I see, is the code only gets executed once, and at that point > the CMAKE_BUILD_TYPE isn't set yet.. Yes I realize this for windows, so > it is a multi-config system.. but I cant believe Im the only one with this > issue. See http://thread.gmane.org/gman