summaryrefslogtreecommitdiffstats
path: root/Source/cmProjectCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2012-02-17 17:41:39 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2012-02-17 17:41:39 (GMT)
commit9090572f5cdde7b30d2c1ad1c0bbf4ab86ddb969 (patch)
tree4069a3f908fd7d1fa0709c774ad476152f4dcd77 /Source/cmProjectCommand.h
parente2042b68d36e0881bfc00f926a275dda3d6cbc9d (diff)
downloadCMake-9090572f5cdde7b30d2c1ad1c0bbf4ab86ddb969.zip
CMake-9090572f5cdde7b30d2c1ad1c0bbf4ab86ddb969.tar.gz
CMake-9090572f5cdde7b30d2c1ad1c0bbf4ab86ddb969.tar.bz2
Add ability to include a file in a project via a cache variable.
If a variable exists called CMAKE_PROJECT_<projectName>_INCLUDE, the file pointed to by that variable will be included as the last step of the project command.
Diffstat (limited to 'Source/cmProjectCommand.h')
-rw-r--r--Source/cmProjectCommand.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmProjectCommand.h b/Source/cmProjectCommand.h
index fc2b7a2..1e5fc09 100644
--- a/Source/cmProjectCommand.h
+++ b/Source/cmProjectCommand.h
@@ -68,7 +68,10 @@ public:
"By default C and CXX are enabled. E.g. if you do not have a "
"C++ compiler, you can disable the check for it by explicitly listing "
"the languages you want to support, e.g. C. By using the special "
- "language \"NONE\" all checks for any language can be disabled.";
+ "language \"NONE\" all checks for any language can be disabled. "
+ "If a variable exists called CMAKE_PROJECT_<projectName>_INCLUDE_FILE, "
+ "the file pointed to by that variable will be included as the last step "
+ "of the project command.";
}
cmTypeMacro(cmProjectCommand, cmCommand);