Re: [CMake] Using two sets of compiler flags in same build

2012-04-18 Thread André Caron
that these are parent/subdirectory in CMake sense, they can actually be siblings or unrelated on disk. Petr On Tue, Apr 17, 2012 at 10:01 PM, André Caron andre.l.ca...@gmail.com wrote: Hi all, I've posted this issue on StackOverflow[1] and have not yet received a suitable response, so I thought I'd ask

[CMake] Using two sets of compiler flags in same build

2012-04-17 Thread André Caron
Hi all, I've posted this issue on StackOverflow[1] and have not yet received a suitable response, so I thought I'd ask here instead. Basically, I need to have a single build that uses two sets of compiler flags.  One set is used to build native windows applications, and the other to build a

[CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread André Caron
I've recently been surprised by the behavior of CMake when modifying CMakeLists.txt files pointed to by add_subdirectory() directives. I've asked the question on StackOverflow[1] and have gotten no clean answer. If anyone is interested, there is a small bounty (50 points) on the question expiring

Re: [CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread André Caron
Bill, your suggestion lead me to find a problem in the way I was setting the compiler flags. It seems this had nothing to do with the add_subdirectory() command or my project structure. If you're interested in the answer, checkout it out: http://stackoverflow.com/q/8479929/313063 Thanks,