Revision: 76736
http://sourceforge.net/p/brlcad/code/76736
Author: starseeker
Date: 2020-08-13 15:26:43 +0000 (Thu, 13 Aug 2020)
Log Message:
-----------
Use the VERBATIM option to try and get sane behavior for a terminating $
character in the regex. Per the CMake add_custom_target documentation,
'VERBATIM is recommended as it enables correct behavior - without it the
behavior is platform specfiic because there is no protection of tool specific
special characters.
Modified Paths:
--------------
brlcad/branches/RELEASE/misc/CMake/BRLCAD_Targets.cmake
Modified: brlcad/branches/RELEASE/misc/CMake/BRLCAD_Targets.cmake
===================================================================
--- brlcad/branches/RELEASE/misc/CMake/BRLCAD_Targets.cmake 2020-08-13
15:17:09 UTC (rev 76735)
+++ brlcad/branches/RELEASE/misc/CMake/BRLCAD_Targets.cmake 2020-08-13
15:26:43 UTC (rev 76736)
@@ -949,9 +949,15 @@
# Every regression test gets a build target
if (CMAKE_CONFIGURATION_TYPES)
- add_custom_target(${testname} COMMAND ${CMAKE_CTEST_COMMAND} -C
${CMAKE_CFG_INTDIR} -R ^${testname} --output-on-failure)
+ add_custom_target(${testname}
+ COMMAND ${CMAKE_CTEST_COMMAND} -C ${CMAKE_CFG_INTDIR} -R^${testname}$
--output-on-failure
+ VERBATIM
+ )
else (CMAKE_CONFIGURATION_TYPES)
- add_custom_target(${testname} COMMAND ${CMAKE_CTEST_COMMAND} -R
^${testname} --output-on-failure)
+ add_custom_target(${testname}
+ COMMAND ${CMAKE_CTEST_COMMAND} -R ^${testname}$ --output-on-failure
+ VERBATIM
+ )
endif (CMAKE_CONFIGURATION_TYPES)
if (depends_list)
add_dependencies(${testname} ${depends_list})
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits