|
From: <ai...@us...> - 2010-01-07 00:53:22
|
Revision: 10740
http://plplot.svn.sourceforge.net/plplot/?rev=10740&view=rev
Author: airwin
Date: 2010-01-07 00:53:13 +0000 (Thu, 07 Jan 2010)
Log Message:
-----------
Replace bashism with the "env" cross-shell equivalent. Under these
circumstances VERBATIM works fine for embedded blanks in directory
names, so use it.
Modified Paths:
--------------
trunk/examples/CMakeLists.txt
Modified: trunk/examples/CMakeLists.txt
===================================================================
--- trunk/examples/CMakeLists.txt 2010-01-06 23:08:17 UTC (rev 10739)
+++ trunk/examples/CMakeLists.txt 2010-01-07 00:53:13 UTC (rev 10740)
@@ -458,8 +458,9 @@
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/x01${suffix}.psc
COMMAND ${CMAKE_COMMAND} -E echo "Generate ${language} results for psc device"
- COMMAND DUMMY= ${environment} ${custom_test_command} --verbose --front-end=${language} --device=psc
+ COMMAND env ${environment} ${custom_test_command} --verbose --front-end=${language} --device=psc
DEPENDS ${compare_file_depends_${language}}
+ VERBATIM
)
add_custom_target(test_${language}_psc
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/x01${suffix}.psc
@@ -534,9 +535,10 @@
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/x01c${index}.${device}
COMMAND ${CMAKE_COMMAND} -E echo "Generate C results for ${device} file device"
- COMMAND DUMMY= ${custom_env} ${custom_test_command} --verbose --front-end=c --device=${device}
+ COMMAND env ${custom_env} ${custom_test_command} --verbose --front-end=c --device=${device}
DEPENDS
${file_device_depends_${device}}
+ VERBATIM
)
add_custom_target(test_c_${device}
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/x01c${index}.${device}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|