Re: [CMake] error using ctest_configure in a ctest script

2010-04-12 Thread Nathaniel Waisbrot (Cont ARL/CISD)
I get the same error: Configure Command:/usr/cta/CSE/Release/cmake-2.8.0.5/bin/cmake -C /home/dizou/NetDMF_CMake_Config -GUnix Makefiles /home/dizou/NetDMF_KD ... The configure command does not work from the terminal window either. You said earlier that you were able to get the command

Re: [CMake] Difference between IMPORT/EXPORT and External Project

2009-11-11 Thread Nathaniel Waisbrot (Cont ARL/CISD)
I'm trying to figure out in what scenarios one might use import/export verses using the new ExternalProject_add. ... When would one pick one method over the other? I haven't used import/export, and don't know about them. I am using ExternalProject to build self-contained, wholly-separate

Re: [CMake] add_test command in a sub-directory

2009-10-01 Thread Nathaniel Waisbrot (Cont ARL/CISD)
Try moving the ENABLE_TESTING() call to the top-level CMakeLists.txt, before any calls to add_subdirectory(). Add_test() can stay where it is. -N On Thu, 2009-10-01 at 18:30 +0200, romain.jacquet@free.fr wrote: Hi everybody, I have found a strange behavior with CTest. I had a very

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-29 Thread Nathaniel Waisbrot (Cont ARL/CISD)
- New External Project Module. The 'ExternalProject_Add' function creates a custom target to drive download, update/patch, configure, build, install and test steps of an external project. Really interested in trying this new feature: Any example project available? Is it intended to be

Re: [CMake] comparing variable contents

2009-09-29 Thread Nathaniel Waisbrot (Cont ARL/CISD)
Of course I read the docs for the if() command. It doesn't contain any comments about comparing a variable's value to another variable's value. Are you suggesting that if it isn't in the documentation then it isn't supported? If so, please say so. I was just hoping someone might know

[CMake] A variable to identify the Dart model type?

2009-09-03 Thread Nathaniel Waisbrot (Cont ARL/CISD)
I have a script, external to the rest of the CMake build, which performs some dashboard submission. I'd like to have it perform that submission *only* when ctest has been invoked as part of 'make (Nightly|Continuous|Experimental)', not 'make' or 'make test'. Is this possible? I haven't been