Re: [CMake] RUN_TESTS project dependencies

2009-03-24 Thread Marcel Loose
On Mon, 2009-03-23 at 11:25 -0500, Robert Dailey wrote: On Fri, Mar 20, 2009 at 9:33 AM, Marcel Loose lo...@astron.nl wrote: Hi Robert, I am planning to use (but haven't implemented and tried yet): - add_custom_target(check COMMAND

Re: [CMake] RUN_TESTS project dependencies

2009-03-23 Thread Robert Dailey
On Fri, Mar 20, 2009 at 9:33 AM, Marcel Loose lo...@astron.nl wrote: Hi Robert, I am planning to use (but haven't implemented and tried yet): - add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}) to define a custom 'check' target (as with GNU Autotools) - add_executable(testprog

Re: [CMake] RUN_TESTS project dependencies

2009-03-20 Thread Philip Lowman
On Thu, Mar 19, 2009 at 12:35 AM, Robert Dailey rcdai...@gmail.com wrote: Hi, I'm currently using Visual Studio 2008 and CMake v2.6.3. I noticed that when I create unit tests, they are not added as dependencies in the solution containing all of the unit test projects + the RUN_TESTS project.

Re: [CMake] RUN_TESTS project dependencies

2009-03-20 Thread Eric Noulard
2009/3/20 Philip Lowman phi...@yhbt.com: On Thu, Mar 19, 2009 at 12:35 AM, Robert Dailey rcdai...@gmail.com wrote: Hi, I'm currently using Visual Studio 2008 and CMake v2.6.3. I noticed that when I create unit tests, they are not added as dependencies in the solution containing all of the

Re: [CMake] RUN_TESTS project dependencies

2009-03-20 Thread Robert Dailey
On Fri, Mar 20, 2009 at 7:02 AM, Philip Lowman phi...@yhbt.com wrote: On Thu, Mar 19, 2009 at 12:35 AM, Robert Dailey rcdai...@gmail.comwrote: Hi, I'm currently using Visual Studio 2008 and CMake v2.6.3. I noticed that when I create unit tests, they are not added as dependencies in the

Re: [CMake] RUN_TESTS project dependencies

2009-03-20 Thread Marcel Loose
Hi Robert, I am planning to use (but haven't implemented and tried yet): - add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}) to define a custom 'check' target (as with GNU Autotools) - add_executable(testprog EXCLUDE_FROM_ALL ...) for each test program - add_dependencies(check

Re: [CMake] RUN_TESTS project dependencies

2009-03-20 Thread Eric Noulard
2009/3/20 Robert Dailey rcdai...@gmail.com: On Fri, Mar 20, 2009 at 7:02 AM, Philip Lowman phi...@yhbt.com wrote: On Thu, Mar 19, 2009 at 12:35 AM, Robert Dailey rcdai...@gmail.com wrote: This would be a nice thing to have.  I had someone complain at work the other day that they had to run

Re: [CMake] RUN_TESTS project dependencies

2009-03-20 Thread Robert Dailey
On Fri, Mar 20, 2009 at 10:30 AM, Eric Noulard eric.noul...@gmail.comwrote: You should file a bug report with ype feature request: http://public.kitware.com/Bug/my_view_page.php Feature request filed here:http://public.kitware.com/Bug/view.php?id=8774

Re: [CMake] RUN_TESTS project dependencies

2009-03-20 Thread Robert Dailey
On Fri, Mar 20, 2009 at 9:33 AM, Marcel Loose lo...@astron.nl wrote: Hi Robert, I am planning to use (but haven't implemented and tried yet): - add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND}) to define a custom 'check' target (as with GNU Autotools) - add_executable(testprog

Re: [CMake] RUN_TESTS project dependencies

2009-03-20 Thread John Drescher
On Fri, Mar 20, 2009 at 4:50 PM, Robert Dailey rcdai...@gmail.com wrote: On Fri, Mar 20, 2009 at 9:33 AM, Marcel Loose lo...@astron.nl wrote: Hi Robert, I am planning to use (but haven't implemented and tried yet): - add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND})  to define a

[CMake] RUN_TESTS project dependencies

2009-03-18 Thread Robert Dailey
Hi, I'm currently using Visual Studio 2008 and CMake v2.6.3. I noticed that when I create unit tests, they are not added as dependencies in the solution containing all of the unit test projects + the RUN_TESTS project. For example, when I change one of the source files in a particular unit test