[CMake] HOW TO: build development versions, plus proper INSTALL setup?

2009-03-09 Thread kent williams
I think I've gotten myself needlessly tied into knots over EXECUTABLE_OUTPUT_PATH vs RUNTIME_OUTPUT_DIRECTORY vs INSTALL command. So maybe someone wants to talk me down about it. We have a suite of programs that are built by a nested set of directories. We'd like 2 things to happen (and a third

Re: [CMake] HOW TO: build development versions, plus proper INSTALL setup?

2009-03-09 Thread Michael Jackson
The other items in your list looks like you have figured out so I'll just make a suggestion for #3: I tried the following and it does work: # All the following in its own CMakeLists.txt file that # will be called with add_subdirectory() from the top level # CMakeLists.txt file.

Re: [CMake] HOW TO: build development versions, plus proper INSTALL setup?

2009-03-09 Thread kent williams
Thanks for the suggestions. I believe that if you force all your test programs to get thrown into ${XXX_BINARY_DIR}, you could do the ADD_TEST without specifying ${XXX_BINARY_DIR}/testname -- just testname would suffice. Oh and when someone says If you can wade through the boost sources I draw