mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
ENH: Added testing for custom command line arguments containing all special characters on the US keyboard. Fixed curly brace arguments on borland and % arguments in mingw32-make.
This commit is contained in:
@@ -97,6 +97,11 @@ public:
|
||||
*/
|
||||
void SetWatcomWMake(bool v) {this->WatcomWMake = v;}
|
||||
|
||||
/**
|
||||
* Set to true if the make tool being used is MinGW Make.
|
||||
*/
|
||||
void SetMinGWMake(bool v) {this->MinGWMake = v;}
|
||||
|
||||
/**
|
||||
* Set to true if the shell being used is the MSYS shell.
|
||||
* This controls if statements in the makefile and the SHELL variable.
|
||||
@@ -165,6 +170,13 @@ public:
|
||||
void SetMakeCommandEscapeTargetTwice(bool b)
|
||||
{ this->MakeCommandEscapeTargetTwice = b; }
|
||||
|
||||
/**
|
||||
* Set whether the Borland curly brace command line hack should be
|
||||
* applied.
|
||||
*/
|
||||
void SetBorlandMakeCurlyHack(bool b)
|
||||
{ this->BorlandMakeCurlyHack = b; }
|
||||
|
||||
// used in writing out Cmake files such as WriteDirectoryInformation
|
||||
static void WriteCMakeArgument(std::ostream& os, const char* s);
|
||||
|
||||
@@ -338,6 +350,7 @@ private:
|
||||
bool PassMakeflags;
|
||||
bool SilentNoColon;
|
||||
bool MakeCommandEscapeTargetTwice;
|
||||
bool BorlandMakeCurlyHack;
|
||||
//==========================================================================
|
||||
|
||||
std::string HomeRelativeOutputPath;
|
||||
|
||||
Reference in New Issue
Block a user