> I'm then calling ADD_TEST as follows -
>
> ADD_TEST(${TESTNAME} "${CMAKE_COMMAND}" -D
> WORKING_DIR=\${CMAKE_CFG_INTDIR} -P
> ${CMAKE_CURRENT_BINARY_DIR}/${TESTNAME}.cmake)

I forgot to mention that with CMAKE_CFG_INTDIR I also tried removing
the \ which was escaping the $ so that CMAKE_CFG_INTDIR was evaluated
at cmake time to $(OutDir), but then this didn't seem to get set by
VisualStudio when building the RUN_TESTS target either.

Thanks, Ross
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to