summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-25 18:44:35 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-27 19:59:03 (GMT)
commit570938cbfd132ad0e586327466109aad87c21ede (patch)
treea8f8d9d259868f2227809f3846096776c83fe7e0 /Source/cmGlobalGenerator.h
parentec38e4c84faa276e664f950b417a71c3901485f6 (diff)
downloadCMake-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/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 95b0ef1..d486003 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -86,7 +86,13 @@ public:
*/
virtual void Configure();
- void CreateGenerationObjects();
+
+ enum TargetTypes {
+ AllTargets,
+ ImportedOnly
+ };
+
+ void CreateGenerationObjects(TargetTypes targetTypes = AllTargets);
/**
* Generate the all required files for building this project/tree. This
@@ -491,9 +497,9 @@ private:
// Per-target generator information.
cmGeneratorTargetsType GeneratorTargets;
friend class cmake;
- void CreateGeneratorTargets(cmLocalGenerator* lg);
+ void CreateGeneratorTargets(TargetTypes targetTypes, cmLocalGenerator* lg);
void InitGeneratorTargets();
- void CreateGeneratorTargets();
+ void CreateGeneratorTargets(TargetTypes targetTypes);
void ClearGeneratorMembers();