Re: [CMake] help with cmake_parse_arguments

2012-10-22 Thread Biddiscombe, John A.
Eric Do you happen to know what docs you were looking at? It may be worth a little bit to post that to this mailing list so that hopefully the person that wrote those docs could be so kind as to update them with the correct syntax. I can't find the ones I was looking at before. But hopefully n

Re: [CMake] help with cmake_parse_arguments

2012-10-19 Thread Eric Clark
..@cmake.org] On Behalf Of Biddiscombe, John A. Sent: Friday, October 19, 2012 11:32 AM To: cmake@cmake.org<mailto:cmake@cmake.org> Subject: [CMake] help with cmake_parse_arguments I don't understand why this stripped down test gives the wrong results. Can anyone point out what I&#

Re: [CMake] help with cmake_parse_arguments

2012-10-19 Thread Biddiscombe, John A.
meter should always be ${ARGN}. Hope this helps... Eric From: cmake-boun...@cmake.org<mailto:cmake-boun...@cmake.org> [mailto:cmake-boun...@cmake.org] On Behalf Of Biddiscombe, John A. Sent: Friday, October 19, 2012 11:32 AM To: cmake@cmake.org<mailto:cmake@cmake.org> Subject:

Re: [CMake] help with cmake_parse_arguments

2012-10-19 Thread Eric Clark
}. Hope this helps... Eric From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Biddiscombe, John A. Sent: Friday, October 19, 2012 11:32 AM To: cmake@cmake.org Subject: [CMake] help with cmake_parse_arguments I don't understand why this stripped down test gives the

[CMake] help with cmake_parse_arguments

2012-10-19 Thread Biddiscombe, John A.
I don't understand why this stripped down test gives the wrong results. Can anyone point out what I've done wrong. I'm using cmake 2.8.9 Thanks JB === TEST cmake === include (CMakeParseArguments) MACRO(ADD_TEXT_TEST) CMAKE_PARSE_ARGUMENTS( TEST "" "NAME;COMMAND;ARGSLIST;BASELINE"