diff options
author | skolb <none@none> | 2009-10-14 10:10:46 -0700 |
---|---|---|
committer | skolb <none@none> | 2009-10-14 10:10:46 -0700 |
commit | 1b1550f284316b244a10a4a6604fedb5d6b18965 (patch) | |
tree | 2416742bb0fa10c646c8490c39c3442fa73f1924 /indra/cmake/LLTestCommand.cmake | |
parent | 1d63b145481021c5d0ed16bd0c10c320170d0cf5 (diff) | |
parent | b5768a69b18936282cf55f0a1ecb72ba19849836 (diff) |
Merge
Diffstat (limited to 'indra/cmake/LLTestCommand.cmake')
-rw-r--r-- | indra/cmake/LLTestCommand.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/cmake/LLTestCommand.cmake b/indra/cmake/LLTestCommand.cmake new file mode 100644 index 0000000000..fae5640493 --- /dev/null +++ b/indra/cmake/LLTestCommand.cmake @@ -0,0 +1,13 @@ +MACRO(LL_TEST_COMMAND LD_LIBRARY_PATH) + # nat wonders how Kitware can use the term 'function' for a construct that + # cannot return a value. And yet, variables you set inside a FUNCTION are + # local. Try a MACRO instead. + SET(LL_TEST_COMMAND_value + ${PYTHON_EXECUTABLE} + "${CMAKE_SOURCE_DIR}/cmake/run_build_test.py") + IF(LD_LIBRARY_PATH) + LIST(APPEND LL_TEST_COMMAND_value "-l${LD_LIBRARY_PATH}") + ENDIF(LD_LIBRARY_PATH) + LIST(APPEND LL_TEST_COMMAND_value ${ARGN}) +##MESSAGE(STATUS "Will run: ${LL_TEST_COMMAND_value}") +ENDMACRO(LL_TEST_COMMAND) |