Re: [CMake] EXECUTABLE_OUTPUT_PATH is not just deprecated, it's harmful!

2009-02-20 Thread kent williams
On Thu, Feb 19, 2009 at 4:25 PM, Brad King wrote: >> The problem? If you're running standalone, everything's fine. If >> you're building inside the BRAINS tree, though, the LAST >> CMakeLists.txt file in the directory tree that sets >> EXECUTABLE_OUTPUT_PATH wins, and consequently executable files

Re: [CMake] EXECUTABLE_OUTPUT_PATH is not just deprecated, it's harmful!

2009-02-20 Thread Brad King
Philip Lowman wrote: > On Thu, Feb 19, 2009 at 5:25 PM, Brad King > wrote: > > AFAIK the word 'deprecated' does not appear in the documentation for > EXECUTABLE_OUTPUT_PATH. It will be around for a long time. We just > recommend using the new variables

Re: [CMake] EXECUTABLE_OUTPUT_PATH is not just deprecated, it's harmful!

2009-02-19 Thread Philip Lowman
On Thu, Feb 19, 2009 at 5:25 PM, Brad King wrote: > AFAIK the word 'deprecated' does not appear in the documentation for > EXECUTABLE_OUTPUT_PATH. It will be around for a long time. We just > recommend using the new variables because they are more powerful: > > 1.) The new variables actually j

Re: [CMake] EXECUTABLE_OUTPUT_PATH is not just deprecated, it's harmful!

2009-02-19 Thread Brad King
kent williams wrote: So we have a big program (well a couple of them Brains2 and Brains3), and a bunch of 'unbundled' programs (BRAINSFit, BRAINSDemonWarp, BRAINSTracer etc..). We use SVN to add the 'unbundled' programs as subdirectories of our BRAINS svn checkout. So our CMakeLists.txt files i

Re: [CMake] EXECUTABLE_OUTPUT_PATH is not just deprecated, it's harmful!

2009-02-19 Thread Eric Noulard
2009/2/19 kent williams : > So we have a big program (well a couple of them Brains2 and Brains3), > and a bunch of 'unbundled' programs (BRAINSFit, BRAINSDemonWarp, > BRAINSTracer etc..). > > We use SVN to add the 'unbundled' programs as subdirectories of our > BRAINS svn checkout. > > So our CMake

[CMake] EXECUTABLE_OUTPUT_PATH is not just deprecated, it's harmful!

2009-02-19 Thread kent williams
So we have a big program (well a couple of them Brains2 and Brains3), and a bunch of 'unbundled' programs (BRAINSFit, BRAINSDemonWarp, BRAINSTracer etc..). We use SVN to add the 'unbundled' programs as subdirectories of our BRAINS svn checkout. So our CMakeLists.txt files in our unbundled program