summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-12-21 19:02:04 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-12-21 19:02:04 (GMT)
commit3a7edc14a076126c34ee3db14da46d4c9bc345ab (patch)
treedb7418c9e2301ad25f157aabd01d0589e68ed3b4 /Source
parent2031b6a9f309b6c8f7da0abe2d943ab9c0748758 (diff)
parentafbfb7ac1d1419062fe9563f7bfddf6da8f39029 (diff)
downloadCMake-3a7edc14a076126c34ee3db14da46d4c9bc345ab.zip
CMake-3a7edc14a076126c34ee3db14da46d4c9bc345ab.tar.gz
CMake-3a7edc14a076126c34ee3db14da46d4c9bc345ab.tar.bz2
Merge topic 'fix_docs_for_language_property'
afbfb7a Add more documentation for LANGUAGE property.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmSourceFile.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmSourceFile.cxx b/Source/cmSourceFile.cxx
index b793cd5..26328cf 100644
--- a/Source/cmSourceFile.cxx
+++ b/Source/cmSourceFile.cxx
@@ -472,7 +472,9 @@ void cmSourceFile::DefineProperties(cmake *cm)
"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 "
- "based on the file extension. Typical values are CXX C etc.");
+ "based on the file extension. Typical values are CXX C etc. Setting "
+ "this property for a file means this file will be compiled. "
+ "Do not set this for header or files that should not be compiled.");
cm->DefineProperty
("LOCATION", cmProperty::SOURCE_FILE,