Revision: 10734
http://plplot.svn.sourceforge.net/plplot/?rev=10734&view=rev
Author: airwin
Date: 2010-01-04 00:27:58 +0000 (Mon, 04 Jan 2010)
Log Message:
-----------
There is a non-VERBATIM custom command issue with CMake where the first part
of the command is surrounded by quotes if there is an embedded blank. Work
around this issue by using an initial part of the command that does nothing
and which has no embedded blanks. The Linux result is that the embedded
blanks in the remaining parts of the command are replaced by escaped blanks,
i.e., "\ ", which works well. This needs to be tested on other platforms
for the case where any/all of the source, build, or install trees have
embedded blanks in the top-level directory name.
N.B. I cannot use VERBATIM custom commands here since they have a bug where
all parts of the command that are variable assignments that contain an
embedded blank are surrounded by quotes. See further discussion on the
CMake list as of 2010-01-03.
Modified Paths:
--------------
trunk/examples/CMakeLists.txt
Modified: trunk/examples/CMakeLists.txt
===================================================================
--- trunk/examples/CMakeLists.txt 2010-01-04 00:16:18 UTC (rev 10733)
+++ trunk/examples/CMakeLists.txt 2010-01-04 00:27:58 UTC (rev 10734)
@@ -458,7 +458,7 @@
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/x01${suffix}.psc
COMMAND ${CMAKE_COMMAND} -E echo "Generate ${language} results for psc device"
- COMMAND ${environment} ${custom_test_command} --verbose --front-end=${language} --device=psc
+ COMMAND DUMMY= ${environment} ${custom_test_command} --verbose --front-end=${language} --device=psc
DEPENDS ${compare_file_depends_${language}}
)
add_custom_target(test_${language}_psc
@@ -534,7 +534,7 @@
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/x01c${index}.${device}
COMMAND ${CMAKE_COMMAND} -E echo "Generate C results for ${device} file device"
- COMMAND ${custom_env} ${custom_test_command} --verbose --front-end=c --device=${device}
+ COMMAND DUMMY= ${custom_env} ${custom_test_command} --verbose --front-end=c --device=${device}
DEPENDS
${file_device_depends_${device}}
)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

Revision: 12707
http://sourceforge.net/p/plplot/code/12707
Author: airwin
Date: 2013-11-16 21:36:48 +0000 (Sat, 16 Nov 2013)
Log Message:
-----------
There is a segfault generated by the Tcl exit command in the
wish_standard_examples(.in) script that is still under investigation.
Until that issue is resolved, still allow the
test_wish_standard_examples target can be run directly to aid that
investigation. But temporarily remove this target from the list of
targets that are run automatically as dependencies of the
test_interactive target so the segfault does not interfere with
the running those other targets.
Modified Paths:
--------------
trunk/examples/CMakeLists.txt
Modified: trunk/examples/CMakeLists.txt
===================================================================
--- trunk/examples/CMakeLists.txt 2013-11-16 19:15:17 UTC (rev 12706)
+++ trunk/examples/CMakeLists.txt 2013-11-16 21:36:48 UTC (rev 12707)
@@ -998,7 +998,15 @@
if(FILE_DEPENDS_xwin)
add_dependencies(test_wish_standard_examples test_xwin_dyndriver)
endif(FILE_DEPENDS_xwin)
- list(APPEND targets_examples_tk test_wish_standard_examples)
+ # Temporarily suspend adding this target to the rest of the Tk
+ # interactive targets (and therefore also this target is not added
+ # to the overall list of targets run by the test_interactive
+ # target) because of a segfault generated by this target. The
+ # cause of that segfault is the Tcl exit command is somehow not
+ # compatible with how we have implemented the Tcl plframe command
+ # that is run by tkdemos.tcl in the wish case, but that is as much
+ # as we know at this stage.
+ # list(APPEND targets_examples_tk test_wish_standard_examples)
if(ENABLE_itk)
add_custom_target(test_tk_02
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.