[CMake] EXECUTABLE_OUTPUT_PATH is empty in Nightly target
Rolf Eike Beer
eike at sf-mail.de
Fri Nov 5 10:50:21 EDT 2010
Am Freitag, 5. November 2010 schrieb Gerhard Gappmeier:
> Hi
What relationship does this question have to the mail you are quoting below?
Don't top-post. Start new threads for new discussions. Otherwise it is a pain
to follow discussions.
> when you checkout the tutorial you'll see that the NightlyMemcheck
> target does not work.
> (git clone git://github.com/gergap/helloworld.git)
>
> All tests fail because I'm using the EXECUTABLE_OUTPUT_PATH variable to
> find the test executable.
> e.g. ADD_TEST(SimpleTest ${EXECUTABLE_OUTPUT_PATH}/helloworld 5 3)
>
> This variable seems to be empty in Nightly and Experimental targets,
> though. So valgrind fails with an error that "/helloworld" cannot be
> found.
>
> Any ideas why EXECUTABLE_OUTPUT_PATH is empty and how to fix that?
ADD_TEST(NAME SimpleTest COMMAND helloworld 5 3)
Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101105/5359554e/attachment.pgp>
More information about the CMake
mailing list