diff options
author | Brad King <brad.king@kitware.com> | 2006-10-25 15:23:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-10-25 15:23:04 (GMT) |
commit | 54731fa2c88879bf19cee97493556a02f833dda3 (patch) | |
tree | ed914c77b53837aedf6e014ddb426bd1fe3f6a80 /Source/kwsys/System.h.in | |
parent | 9e29a742a931e67ed92038e0250af66bbff07ff7 (diff) | |
download | CMake-54731fa2c88879bf19cee97493556a02f833dda3.zip CMake-54731fa2c88879bf19cee97493556a02f833dda3.tar.gz CMake-54731fa2c88879bf19cee97493556a02f833dda3.tar.bz2 |
ENH: Adding support for # escape in Watcom WMake.
Diffstat (limited to 'Source/kwsys/System.h.in')
-rw-r--r-- | Source/kwsys/System.h.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/kwsys/System.h.in b/Source/kwsys/System.h.in index 8c7d2a8..731bec9 100644 --- a/Source/kwsys/System.h.in +++ b/Source/kwsys/System.h.in @@ -32,6 +32,7 @@ #define kwsysSystem_Shell_Flag_Make kwsys_ns(System_Shell_Flag_Make) #define kwsysSystem_Shell_Flag_VSIDE kwsys_ns(System_Shell_Flag_VSIDE) #define kwsysSystem_Shell_Flag_EchoWindows kwsys_ns(System_Shell_Flag_EchoWindows) +#define kwsysSystem_Shell_Flag_WatcomWMake kwsys_ns(System_Shell_Flag_WatcomWMake) #define kwsysSystem_Shell_Flag_AllowMakeVariables kwsys_ns(System_Shell_Flag_AllowMakeVariables) #if defined(__cplusplus) @@ -82,12 +83,15 @@ enum kwsysSystem_Shell_Flag_e /** In a windows whell the argument is being passed to "echo". */ kwsysSystem_Shell_Flag_EchoWindows = (1<<2), + /** The target shell is in a Watcom WMake makefile. */ + kwsysSystem_Shell_Flag_WatcomWMake = (1<<3), + /** Make variable reference syntax $(MAKEVAR) should not be escaped to allow a build tool to replace it. Replacement values containing spaces, quotes, backslashes, or other non-alphanumeric characters that have significance to some makes or shells produce undefined behavior. */ - kwsysSystem_Shell_Flag_AllowMakeVariables = (1<<3) + kwsysSystem_Shell_Flag_AllowMakeVariables = (1<<4) }; #if defined(__cplusplus) @@ -107,6 +111,7 @@ enum kwsysSystem_Shell_Flag_e # undef kwsysSystem_Shell_Flag_Make # undef kwsysSystem_Shell_Flag_VSIDE # undef kwsysSystem_Shell_Flag_EchoWindows +# undef kwsysSystem_Shell_Flag_WatcomWMake # undef kwsysSystem_Shell_Flag_AllowMakeVariables #endif |