Re: [CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread André Caron
313063 Thanks, André -Original Message- From: Bill Hoffman Sent: Wednesday, December 21, 2011 12:06 PM To: cmake@cmake.org Subject: Re: [CMake] CMake add_subdirectory and recompiling On 12/21/2011 11:56 AM, Michael Wild wrote: [1]: http://stackoverflow.com/questions/8479929/cmake-a

Re: [CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread Bill Hoffman
On 12/21/2011 11:56 AM, Michael Wild wrote: [1]: http://stackoverflow.com/questions/8479929/cmake-add-subdirectory-and-recompiling Get rid of the file(GLOB ...). Never, ever use it unless you know exactly what you're doing. Using it usually breaks something. Also, you didn't say *what* chan

Re: [CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread Michael Wild
On 12/21/2011 05:59 PM, David Cole wrote: > On Wed, Dec 21, 2011 at 11:56 AM, Michael Wild wrote: >> On 12/21/2011 05:25 PM, André Caron wrote: >>> I've recently been surprised by the behavior of CMake when modifying >>> "CMakeLists.txt" files pointed to by "add_subdirectory()" directives. >>> I'

Re: [CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread David Cole
On Wed, Dec 21, 2011 at 11:56 AM, Michael Wild wrote: > On 12/21/2011 05:25 PM, André Caron wrote: >> 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 ha

Re: [CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread Michael Wild
On 12/21/2011 05:25 PM, André Caron wrote: > 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

Re: [CMake] CMake add_subdirectory and recompiling

2011-12-21 Thread David Cole
Here's my initial shot at it: http://stackoverflow.com/questions/8479929/cmake-add-subdirectory-and-recompiling/8593372#8593372 On Wed, Dec 21, 2011 at 11:25 AM, André Caron wrote: > I've recently been surprised by the behavior of CMake when modifying > "CMakeLists.txt" files pointed to by "

[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 expir