summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraCodeLiteGenerator.h
diff options
context:
space:
mode:
authorMinze Zwerver <ysblokje@gmail.com>2016-12-13 13:21:22 (GMT)
committerBrad King <brad.king@kitware.com>2016-12-14 14:55:41 (GMT)
commitf17394185558d6adc4e09c19937c798580fbf1f3 (patch)
tree78bd13b6a538a419931b9f1ba7c8ebc15ebfae6a /Source/cmExtraCodeLiteGenerator.h
parente3a93c66cc9f1d578f880f19e17ad31cc731fa86 (diff)
downloadCMake-f17394185558d6adc4e09c19937c798580fbf1f3.zip
CMake-f17394185558d6adc4e09c19937c798580fbf1f3.tar.gz
CMake-f17394185558d6adc4e09c19937c798580fbf1f3.tar.bz2
CodeLite: Make build/clean/rebuild operations optionally target-centric
When `CMAKE_CODELITE_USE_TARGETS` is enabled, these operations should be target-centric too.
Diffstat (limited to 'Source/cmExtraCodeLiteGenerator.h')
-rw-r--r--Source/cmExtraCodeLiteGenerator.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/cmExtraCodeLiteGenerator.h b/Source/cmExtraCodeLiteGenerator.h
index a349db5..773515d 100644
--- a/Source/cmExtraCodeLiteGenerator.h
+++ b/Source/cmExtraCodeLiteGenerator.h
@@ -28,9 +28,12 @@ protected:
protected:
std::string GetCodeLiteCompilerName(const cmMakefile* mf) const;
std::string GetConfigurationName(const cmMakefile* mf) const;
- std::string GetBuildCommand(const cmMakefile* mf) const;
- std::string GetCleanCommand(const cmMakefile* mf) const;
- std::string GetRebuildCommand(const cmMakefile* mf) const;
+ std::string GetBuildCommand(const cmMakefile* mf,
+ const std::string& targetName) const;
+ std::string GetCleanCommand(const cmMakefile* mf,
+ const std::string& targetName) const;
+ std::string GetRebuildCommand(const cmMakefile* mf,
+ const std::string& targetName) const;
std::string GetSingleFileBuildCommand(const cmMakefile* mf) const;
std::vector<std::string> CreateProjectsByTarget(cmXMLWriter* xml);
std::vector<std::string> CreateProjectsByProjectMaps(cmXMLWriter* xml);
@@ -45,7 +48,8 @@ protected:
cmXMLWriter* xml,
const std::string& projectPath,
const cmMakefile* mf,
- const std::string& projectType);
+ const std::string& projectType,
+ const std::string& targetName);
public:
cmExtraCodeLiteGenerator();