summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-07 19:41:49 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-07 19:41:49 (GMT)
commit1e54b380cba9f654a7bf45f5ff9db80cbb662438 (patch)
tree3bb095d0fcc59bb725acad76e47d2c27cc4fe57b /Source/cmTarget.cxx
parenta65df441f2f1acefd1900382b09c410f9c15f4b2 (diff)
parentfb1294c3a9c02500d04cd123fd74575be3aa0c6b (diff)
downloadCMake-1e54b380cba9f654a7bf45f5ff9db80cbb662438.zip
CMake-1e54b380cba9f654a7bf45f5ff9db80cbb662438.tar.gz
CMake-1e54b380cba9f654a7bf45f5ff9db80cbb662438.tar.bz2
Merge topic 'MAP_IMPORTED_CONFIG-property-default'
fb1294c cmTarget: Add initializer for MAP_IMPORTED_CONFIG_<CONFIG>
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index ac655da..8ccd19c 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)