diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-08-27 13:10:51 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-08-28 15:41:18 (GMT) |
commit | fb1294c3a9c02500d04cd123fd74575be3aa0c6b (patch) | |
tree | e61ed921f9f54943eba7c1157db2e620a703f5c4 /Source/cmTarget.cxx | |
parent | b6f6802b3d0dc1a9ab7beb62a17bd0651d87a64f (diff) | |
download | CMake-fb1294c3a9c02500d04cd123fd74575be3aa0c6b.zip CMake-fb1294c3a9c02500d04cd123fd74575be3aa0c6b.tar.gz CMake-fb1294c3a9c02500d04cd123fd74575be3aa0c6b.tar.bz2 |
cmTarget: Add initializer for MAP_IMPORTED_CONFIG_<CONFIG>
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 147c332..acb2208 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -924,7 +924,10 @@ void cmTarget::DefineProperties(cmake *cm) "The first configuration in the list found to be provided by the " "imported target is selected. If this property is set and no matching " "configurations are available, then the imported target is considered " - "to be not found. This property is ignored for non-imported targets.", + "to be not found. This property is ignored for non-imported targets.\n" + "This property is initialized by the value of the variable " + "CMAKE_MAP_IMPORTED_CONFIG_<CONFIG> if it is set when a target is " + "created.", false /* TODO: make this chained */ ); cm->DefineProperty @@ -1649,6 +1652,7 @@ void cmTarget::SetMakefile(cmMakefile* mf) "LIBRARY_OUTPUT_DIRECTORY_", "RUNTIME_OUTPUT_DIRECTORY_", "PDB_OUTPUT_DIRECTORY_", + "MAP_IMPORTED_CONFIG_", 0}; for(std::vector<std::string>::iterator ci = configNames.begin(); ci != configNames.end(); ++ci) |