diff options
author | Brad King <brad.king@kitware.com> | 2011-11-03 12:59:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-11-03 13:23:55 (GMT) |
commit | 23381d83d8d8399eea372e3f2407beac39e55b98 (patch) | |
tree | 0cd92b246f5775efc1a12aaa9d5482105f5af34e /Source/cmGlobalVisualStudio6Generator.h | |
parent | 22bf096474dbd819e4a10cc3b45fa54ba50213d0 (diff) | |
download | CMake-23381d83d8d8399eea372e3f2407beac39e55b98.zip CMake-23381d83d8d8399eea372e3f2407beac39e55b98.tar.gz CMake-23381d83d8d8399eea372e3f2407beac39e55b98.tar.bz2 |
Watcom: Use shortpath to CMake if full path has parens (#12548)
The Watcom WMake tool has trouble running commands in paths that have
parentheses. We already convert most commands to a shortpath for Watcom
if the path contains a space, but the use of $(CMAKE_COMMAND) hides the
true path from that conversion. Factor the shortpath conversion code
out into a new ConvertShellCommand method. Teach it to convert paths
that contain parentheses as well as spaces. Use the new method to
convert the value of $(CMAKE_COMMAND) and other helper variables.
Diffstat (limited to 'Source/cmGlobalVisualStudio6Generator.h')
0 files changed, 0 insertions, 0 deletions