mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 22:50:26 -06:00
Simplify VS generator ConstructScript interface
Pass to cmLocalVisualStudioGenerator::ConstructScript a cmCustomCommand instance instead of extracting arguments at all call sites.
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
class cmSourceFile;
|
||||
class cmSourceGroup;
|
||||
class cmCustomCommand;
|
||||
|
||||
/** \class cmLocalVisualStudioGenerator
|
||||
* \brief Base class for Visual Studio generators.
|
||||
@@ -31,11 +32,8 @@ public:
|
||||
cmLocalVisualStudioGenerator();
|
||||
virtual ~cmLocalVisualStudioGenerator();
|
||||
/** Construct a script from the given list of command lines. */
|
||||
std::string ConstructScript(const cmCustomCommandLines& commandLines,
|
||||
const char* workingDirectory,
|
||||
std::string ConstructScript(cmCustomCommand const& cc,
|
||||
const char* configName,
|
||||
bool escapeOldStyle,
|
||||
bool escapeAllowMakeVars,
|
||||
const char* newline = "\n");
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user