mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 05:50:42 +00:00
650e61f833
Export the INCLUDES DESTINATION without appending to the INTERFACE_INCLUDE_DIRECTORIES of the target itself. That way, a target can be exported multiple times with different INCLUDES DESTINATION without unintended cross-pollution of export sets.
43 lines
1.3 KiB
C++
43 lines
1.3 KiB
C++
/*============================================================================
|
|
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.
|
|
============================================================================*/
|
|
#ifndef cmTargetExport_h
|
|
#define cmTargetExport_h
|
|
|
|
#include "cmStandardIncludes.h"
|
|
|
|
class cmTarget;
|
|
class cmInstallTargetGenerator;
|
|
class cmInstallFilesGenerator;
|
|
|
|
/** \brief A member of an ExportSet
|
|
*
|
|
* This struct holds pointers to target and all relevant generators.
|
|
*/
|
|
class cmTargetExport
|
|
{
|
|
public:
|
|
cmTarget* Target; ///< The target
|
|
|
|
///@name Generators
|
|
///@{
|
|
cmInstallTargetGenerator* ArchiveGenerator;
|
|
cmInstallTargetGenerator* RuntimeGenerator;
|
|
cmInstallTargetGenerator* LibraryGenerator;
|
|
cmInstallTargetGenerator* FrameworkGenerator;
|
|
cmInstallTargetGenerator* BundleGenerator;
|
|
cmInstallFilesGenerator* HeaderGenerator;
|
|
std::string InterfaceIncludeDirectories;
|
|
///@}
|
|
};
|
|
|
|
#endif
|