summaryrefslogtreecommitdiffstats
path: root/Source/cmExportCommand.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-10-06 15:27:40 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-10-11 10:46:10 (GMT)
commit66b290e7e2bbeb987ea83e2f9edaac99fe8593f5 (patch)
tree2382c213f05d1a19d0d3c17e667c712335ec5756 /Source/cmExportCommand.h
parent5fe5c32480a5acf26bd20e52a091cd63747ed77d (diff)
downloadCMake-66b290e7e2bbeb987ea83e2f9edaac99fe8593f5.zip
CMake-66b290e7e2bbeb987ea83e2f9edaac99fe8593f5.tar.gz
CMake-66b290e7e2bbeb987ea83e2f9edaac99fe8593f5.tar.bz2
export(): Process the export() command at generate time.
Make the API for adding targets string based so that it can easily use cmGeneratorTarget. Teach the cmIncludeCommand to generate the exported file at configure-time instead if it is to be include()d. The RunCMake.ExportWithoutLanguage test now needs a dummy header.h file as expected error from export() is now reported after the missing file error.
Diffstat (limited to 'Source/cmExportCommand.h')
-rw-r--r--Source/cmExportCommand.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmExportCommand.h b/Source/cmExportCommand.h
index 87c3452..38e8d9a 100644
--- a/Source/cmExportCommand.h
+++ b/Source/cmExportCommand.h
@@ -85,7 +85,9 @@ public:
"should never be installed. "
"See the install(EXPORT) command to export targets from an "
"installation tree."
- CM_LOCATION_UNDEFINED_BEHAVIOR("passing it to this command")
+ "\n"
+ "The properties set on the generated IMPORTED targets will have the "
+ "same values as the final values of the input TARGETS."
"\n"
" export(PACKAGE <name>)\n"
"Store the current build directory in the CMake user package registry "