diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-10-06 17:27:40 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-10-11 12:46:10 +0200 |
commit | 66b290e7e2bbeb987ea83e2f9edaac99fe8593f5 (patch) | |
tree | 2382c213f05d1a19d0d3c17e667c712335ec5756 /Source/cmIncludeCommand.cxx | |
parent | 5fe5c32480a5acf26bd20e52a091cd63747ed77d (diff) | |
download | cmake-66b290e7e2bbeb987ea83e2f9edaac99fe8593f5.tar.gz |
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/cmIncludeCommand.cxx')
-rw-r--r-- | Source/cmIncludeCommand.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmIncludeCommand.cxx b/Source/cmIncludeCommand.cxx index 39d4993eba..5b931713cb 100644 --- a/Source/cmIncludeCommand.cxx +++ b/Source/cmIncludeCommand.cxx @@ -127,6 +127,7 @@ bool cmIncludeCommand return false; } } + gg->GenerateImportFile(fname_abs); } std::string fullFilePath; |