[Cmake] clarification on ADD_TEST vs EXEC_PROGRAM formats

Brad King brad.king at kitware.com
Mon, 19 Apr 2004 09:51:17 -0400


ibiris at genius.org.br wrote:
> 
> 
> 
> A quick question out of curiosity:
> 
> why does the EXEC_PROGRAM command allow for
>       1- Directory to run in
>       2- the keyword ARGS to separate Executable from arguments
> 
> and the ADD_TEST command does not (based on what the online user guide
> describes)?

The commands were written at different times by different people, and 
are left from when CMake was in its infancy and no conventions had been 
established.  Please add an entry to the bug tracker:

http://www.cmake.org/Bug

so that we do not loose track of this inconsistency.

Thanks,
-Brad