summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2011-10-13 17:51:18 (GMT)
committerNicolas Despres <nicolas.despres@gmail.com>2011-10-23 20:15:20 (GMT)
commitd3d7e45df205bd22d6fbeaba853354b097034719 (patch)
tree971dd8d7fcee608a0545346afd94a1c0cfacecee /Source/cmLocalUnixMakefileGenerator3.h
parenta390d6cc891cebec8df01c37da3433e3abfc8a8b (diff)
downloadCMake-d3d7e45df205bd22d6fbeaba853354b097034719.zip
CMake-d3d7e45df205bd22d6fbeaba853354b097034719.tar.gz
CMake-d3d7e45df205bd22d6fbeaba853354b097034719.tar.bz2
Remove trailing white-spaces.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h
index 0994222..1fd1aa7 100644
--- a/Source/cmLocalUnixMakefileGenerator3.h
+++ b/Source/cmLocalUnixMakefileGenerator3.h
@@ -38,21 +38,21 @@ public:
/**
* Process the CMakeLists files for this directory to fill in the
- * Makefile ivar
+ * Makefile ivar
*/
virtual void Configure();
/**
- * Generate the makefile for this directory.
+ * Generate the makefile for this directory.
*/
virtual void Generate();
-
+
// this returns the relative path between the HomeOutputDirectory and this
// local generators StartOutputDirectory
const std::string &GetHomeRelativeOutputPath();
- // Write out a make rule
+ // Write out a make rule
void WriteMakeRule(std::ostream& os,
const char* comment,
const char* target,
@@ -60,7 +60,7 @@ public:
const std::vector<std::string>& commands,
bool symbolic,
bool in_help = false);
-
+
// write the main variables used by the makefiles
void WriteMakeVariables(std::ostream& makefileStream);
@@ -71,7 +71,7 @@ public:
*/
void SetPassMakeflags(bool s){this->PassMakeflags = s;}
bool GetPassMakeflags() { return this->PassMakeflags; }
-
+
/**
* Set the flag used to keep the make program silent.
*/
@@ -115,7 +115,7 @@ public:
void SetDefineWindowsNULL(bool v) {this->DefineWindowsNULL = v;}
/**
- * If set to true, cd dir && command is used to
+ * If set to true, cd dir && command is used to
* run commands in a different directory.
*/
void SetUnixCD(bool v) {this->UnixCD = v;}
@@ -168,8 +168,8 @@ public:
void WriteDivider(std::ostream& os);
/** used to create a recursive make call */
- std::string GetRecursiveMakeCall(const char *makefile, const char* tgt);
-
+ std::string GetRecursiveMakeCall(const char *makefile, const char* tgt);
+
// append flags to a string
virtual void AppendFlags(std::string& flags, const char* newFlags);
@@ -185,7 +185,7 @@ public:
virtual std::string GetTargetDirectory(cmTarget const& target) const;
// create a command that cds to the start dir then runs the commands
- void CreateCDCommand(std::vector<std::string>& commands,
+ void CreateCDCommand(std::vector<std::string>& commands,
const char *targetDir,
cmLocalGenerator::RelativeRoot returnDir);
@@ -200,7 +200,7 @@ public:
/** Called from command-line hook to clear dependencies. */
virtual void ClearDependencies(cmMakefile* mf, bool verbose);
-
+
/** write some extra rules such as make test etc */
void WriteSpecialTargetsTop(std::ostream& makefileStream);
void WriteSpecialTargetsBottom(std::ostream& makefileStream);
@@ -224,7 +224,7 @@ public:
// write the target rules for the local Makefile into the stream
void WriteLocalAllRules(std::ostream& ruleFileStream);
-
+
struct LocalObjectEntry
{
cmTarget* Target;
@@ -238,7 +238,7 @@ public:
bool HasSourceExtension;
bool HasPreprocessRule;
bool HasAssembleRule;
- LocalObjectInfo():HasSourceExtension(false), HasPreprocessRule(false),
+ LocalObjectInfo():HasSourceExtension(false), HasPreprocessRule(false),
HasAssembleRule(false) {}
};
std::map<cmStdString, LocalObjectInfo> const& GetLocalObjectFiles()
@@ -261,15 +261,15 @@ public:
void GetTargetObjectFileDirectories(cmTarget* target,
std::vector<std::string>& dirs);
- // Fill the vector with the target names for the object files,
- // preprocessed files and assembly files. Currently only used by the
+ // Fill the vector with the target names for the object files,
+ // preprocessed files and assembly files. Currently only used by the
// Eclipse generator.
void GetIndividualFileTargets(std::vector<std::string>& targets);
-
+
protected:
void WriteLocalMakefile();
-
-
+
+
// write the target rules for the local Makefile into the stream
void WriteLocalMakefileTargets(std::ostream& ruleFileStream,
std::set<cmStdString> &emitted);
@@ -278,17 +278,17 @@ protected:
void WriteDirectoryInformationFile();
- // write the depend info
+ // write the depend info
void WriteDependLanguageInfo(std::ostream& cmakefileStream, cmTarget &tgt);
-
+
// write the local help rule
void WriteHelpRule(std::ostream& ruleFileStream);
-
+
// this converts a file name that is relative to the StartOuputDirectory
// into a full path
std::string ConvertToFullPath(const std::string& localPath);
-
+
void WriteConvenienceRule(std::ostream& ruleFileStream,
const char* realTarget,
const char* helpTarget);
@@ -304,7 +304,7 @@ protected:
void WriteObjectConvenienceRule(std::ostream& ruleFileStream,
const char* comment, const char* output,
LocalObjectInfo const& info);
-
+
std::string GetObjectFileName(cmTarget& target,
const cmSourceFile& source,
std::string* nameWithoutTargetDir = 0,