CodeLite: Make build/clean/rebuild operations optionally target-centric

When `CMAKE_CODELITE_USE_TARGETS` is enabled, these operations should
be target-centric too.
This commit is contained in:
Minze Zwerver
2016-12-13 14:21:22 +01:00
committed by Brad King
parent e3a93c66cc
commit f173941855
3 changed files with 56 additions and 25 deletions
+8 -4
View File
@@ -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();