summaryrefslogtreecommitdiff
path: root/Source/cmSourceFile.cxx
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2012-08-13 13:42:58 -0400
committerBrad King <brad.king@kitware.com>2012-08-13 14:18:39 -0400
commit7bbaa4283de26864b2e55e819db0884771585467 (patch)
treeecb748dbe41a13d8bdea77acd0049cde999d933e /Source/cmSourceFile.cxx
parentbe9db98946b7918f279812fd0616abb650eebed0 (diff)
downloadcmake-7bbaa4283de26864b2e55e819db0884771585467.tar.gz
Remove trailing whitespace from most CMake and C/C++ code
Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
Diffstat (limited to 'Source/cmSourceFile.cxx')
-rw-r--r--Source/cmSourceFile.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/Source/cmSourceFile.cxx b/Source/cmSourceFile.cxx
index cd94753cb3..cc3b6d6034 100644
--- a/Source/cmSourceFile.cxx
+++ b/Source/cmSourceFile.cxx
@@ -346,7 +346,7 @@ const char* cmSourceFile::GetProperty(const char* prop) const
}
bool chain = false;
- const char *retVal =
+ const char *retVal =
this->Properties.GetPropertyValue(prop, cmProperty::SOURCE_FILE, chain);
if (chain)
{
@@ -354,7 +354,7 @@ const char* cmSourceFile::GetProperty(const char* prop) const
return mf->GetProperty(prop,cmProperty::SOURCE_FILE);
}
- return retVal;
+ return retVal;
}
//----------------------------------------------------------------------------
@@ -388,7 +388,7 @@ void cmSourceFile::DefineProperties(cmake *cm)
{
// define properties
cm->DefineProperty
- ("ABSTRACT", cmProperty::SOURCE_FILE,
+ ("ABSTRACT", cmProperty::SOURCE_FILE,
"Is this source file an abstract class.",
"A property on a source file that indicates if the source file "
"represents a class that is abstract. This only makes sense for "
@@ -396,7 +396,7 @@ void cmSourceFile::DefineProperties(cmake *cm)
"only used by some tools that wrap classes into other languages.");
cm->DefineProperty
- ("COMPILE_FLAGS", cmProperty::SOURCE_FILE,
+ ("COMPILE_FLAGS", cmProperty::SOURCE_FILE,
"Additional flags to be added when compiling this source file.",
"These flags will be added to the list of compile flags when "
"this source file builds. Use COMPILE_DEFINITIONS to pass additional "
@@ -430,7 +430,7 @@ void cmSourceFile::DefineProperties(cmake *cm)
"be ignored by the Xcode generator.");
cm->DefineProperty
- ("EXTERNAL_OBJECT", cmProperty::SOURCE_FILE,
+ ("EXTERNAL_OBJECT", cmProperty::SOURCE_FILE,
"If set to true then this is an object file.",
"If this property is set to true then the source file "
"is really an object file and should not be compiled. "
@@ -446,14 +446,14 @@ void cmSourceFile::DefineProperties(cmake *cm)
"source files in a target share the same format.");
cm->DefineProperty
- ("GENERATED", cmProperty::SOURCE_FILE,
+ ("GENERATED", cmProperty::SOURCE_FILE,
"Is this source file generated as part of the build process.",
"If a source file is generated by the build process CMake will "
"handle it differently in terms of dependency checking etc. "
"Otherwise having a non-existent source file could create problems.");
cm->DefineProperty
- ("HEADER_FILE_ONLY", cmProperty::SOURCE_FILE,
+ ("HEADER_FILE_ONLY", cmProperty::SOURCE_FILE,
"Is this source file only a header file.",
"A property on a source file that indicates if the source file "
"is a header file with no associated implementation. This is "
@@ -462,7 +462,7 @@ void cmSourceFile::DefineProperties(cmake *cm)
"computed.");
cm->DefineProperty
- ("KEEP_EXTENSION", cmProperty::SOURCE_FILE,
+ ("KEEP_EXTENSION", cmProperty::SOURCE_FILE,
"Make the output file have the same extension as the source file.",
"If this property is set then the file extension of the output "
"file will be the same as that of the source file. Normally "
@@ -477,7 +477,7 @@ void cmSourceFile::DefineProperties(cmake *cm)
"No other semantics are currently specified.");
cm->DefineProperty
- ("LANGUAGE", cmProperty::SOURCE_FILE,
+ ("LANGUAGE", cmProperty::SOURCE_FILE,
"What programming language is the file.",
"A property that can be set to indicate what programming language "
"the source file is. If it is not set the language is determined "
@@ -486,13 +486,13 @@ void cmSourceFile::DefineProperties(cmake *cm)
"Do not set this for header or files that should not be compiled.");
cm->DefineProperty
- ("LOCATION", cmProperty::SOURCE_FILE,
+ ("LOCATION", cmProperty::SOURCE_FILE,
"The full path to a source file.",
"A read only property on a SOURCE FILE that contains the full path "
"to the source file.");
cm->DefineProperty
- ("MACOSX_PACKAGE_LOCATION", cmProperty::SOURCE_FILE,
+ ("MACOSX_PACKAGE_LOCATION", cmProperty::SOURCE_FILE,
"Place a source file inside a Mac OS X bundle, CFBundle, or framework.",
"Executable targets with the MACOSX_BUNDLE property set are built "
"as Mac OS X application bundles on Apple platforms. "
@@ -531,7 +531,7 @@ void cmSourceFile::DefineProperties(cmake *cm)
"command (if one does not already exist due to linking relationships).");
cm->DefineProperty
- ("OBJECT_OUTPUTS", cmProperty::SOURCE_FILE,
+ ("OBJECT_OUTPUTS", cmProperty::SOURCE_FILE,
"Additional outputs for a Makefile rule.",
"Additional outputs created by compilation of this source file. "
"If any of these outputs is missing the object will be recompiled. "
@@ -539,14 +539,14 @@ void cmSourceFile::DefineProperties(cmake *cm)
"on other generators.");
cm->DefineProperty
- ("SYMBOLIC", cmProperty::SOURCE_FILE,
+ ("SYMBOLIC", cmProperty::SOURCE_FILE,
"Is this just a name for a rule.",
"If SYMBOLIC (boolean) is set to true the build system will be "
"informed that the source file is not actually created on disk but "
"instead used as a symbolic name for a build rule.");
-
+
cm->DefineProperty
- ("WRAP_EXCLUDE", cmProperty::SOURCE_FILE,
+ ("WRAP_EXCLUDE", cmProperty::SOURCE_FILE,
"Exclude this source file from any code wrapping techniques.",
"Some packages can wrap source files into alternate languages "
"to provide additional functionality. For example, C++ code "