summaryrefslogtreecommitdiff
path: root/Source/cmTargetExport.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmTargetExport.h')
-rw-r--r--Source/cmTargetExport.h25
1 files changed, 10 insertions, 15 deletions
diff --git a/Source/cmTargetExport.h b/Source/cmTargetExport.h
index 76658887d..9304eabbb 100644
--- a/Source/cmTargetExport.h
+++ b/Source/cmTargetExport.h
@@ -1,22 +1,15 @@
-/*============================================================================
- CMake - Cross Platform Makefile Generator
- Copyright 2000-2012 Kitware, Inc., Insight Software Consortium
-
- Distributed under the OSI-approved BSD License (the "License");
- see accompanying file Copyright.txt for details.
-
- This software is distributed WITHOUT ANY WARRANTY; without even the
- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- See the License for more information.
-============================================================================*/
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
#ifndef cmTargetExport_h
#define cmTargetExport_h
-#include "cmStandardIncludes.h"
+#include "cmConfigure.h" // IWYU pragma: keep
-class cmTarget;
-class cmInstallTargetGenerator;
+#include <string>
+
+class cmGeneratorTarget;
class cmInstallFilesGenerator;
+class cmInstallTargetGenerator;
/** \brief A member of an ExportSet
*
@@ -25,13 +18,15 @@ class cmInstallFilesGenerator;
class cmTargetExport
{
public:
- cmTarget* Target; ///< The target
+ std::string TargetName;
+ cmGeneratorTarget* Target;
///@name Generators
///@{
cmInstallTargetGenerator* ArchiveGenerator;
cmInstallTargetGenerator* RuntimeGenerator;
cmInstallTargetGenerator* LibraryGenerator;
+ cmInstallTargetGenerator* ObjectsGenerator;
cmInstallTargetGenerator* FrameworkGenerator;
cmInstallTargetGenerator* BundleGenerator;
cmInstallFilesGenerator* HeaderGenerator;