summaryrefslogtreecommitdiff
path: root/Source/cmGlobalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-13 15:59:32 -0500
committerBrad King <brad.king@kitware.com>2013-11-14 16:25:31 -0500
commit05923172f94d804dfba33957aa08ac88cc5cd0bd (patch)
tree5f394cf0dba177cad5905a01dfaee476d00278af /Source/cmGlobalUnixMakefileGenerator3.h
parent1befbfad3d9971335ab0e7deb1a93acfdccf0fb6 (diff)
downloadcmake-05923172f94d804dfba33957aa08ac88cc5cd0bd.tar.gz
cmGlobalGenerator: Add method to compute "cmake --build" command line
Create a GenerateCMakeBuildCommand method to generate a command-line string invoking "cmake --build" for a given target and configuration. Optionally allow the "-i" make flag and additional native options.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h
index 608f6437a1..322736fa0b 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.h
+++ b/Source/cmGlobalUnixMakefileGenerator3.h
@@ -188,6 +188,7 @@ protected:
cmGeneratedFileStream *CommandDatabase;
private:
+ virtual const char* GetBuildIgnoreErrorsFlag() const { return "-i"; }
virtual std::string GetEditCacheCommand() const;
virtual void ComputeTargetObjects(cmGeneratorTarget* gt) const;
};