diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-25 18:44:35 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-27 19:59:03 (GMT) |
commit | 570938cbfd132ad0e586327466109aad87c21ede (patch) | |
tree | a8f8d9d259868f2227809f3846096776c83fe7e0 /Source/cmExportTryCompileFileGenerator.cxx | |
parent | ec38e4c84faa276e664f950b417a71c3901485f6 (diff) | |
download | CMake-570938cbfd132ad0e586327466109aad87c21ede.zip CMake-570938cbfd132ad0e586327466109aad87c21ede.tar.gz CMake-570938cbfd132ad0e586327466109aad87c21ede.tar.bz2 |
cmExportTryCompileFileGenerator: Create cmGeneratorTargets.
This is not a deprecated behavior, but only requires IMPORTED targets
be made.
Diffstat (limited to 'Source/cmExportTryCompileFileGenerator.cxx')
-rw-r--r-- | Source/cmExportTryCompileFileGenerator.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmExportTryCompileFileGenerator.cxx b/Source/cmExportTryCompileFileGenerator.cxx index dfb991b..94831f8 100644 --- a/Source/cmExportTryCompileFileGenerator.cxx +++ b/Source/cmExportTryCompileFileGenerator.cxx @@ -13,9 +13,16 @@ #include "cmExportTryCompileFileGenerator.h" #include "cmGeneratedFileStream.h" +#include "cmGlobalGenerator.h" #include "cmGeneratorExpressionDAGChecker.h" //---------------------------------------------------------------------------- +cmExportTryCompileFileGenerator::cmExportTryCompileFileGenerator( + cmGlobalGenerator* gg) +{ + gg->CreateGenerationObjects(cmGlobalGenerator::ImportedOnly); +} + bool cmExportTryCompileFileGenerator::GenerateMainFile(std::ostream& os) { std::set<cmTarget const*> emitted; |