summaryrefslogtreecommitdiff
path: root/Source/cmExportBuildAndroidMKGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-02-28 10:58:07 -0500
committerBrad King <brad.king@kitware.com>2018-02-28 10:58:10 -0500
commitea0ce73a195e1cc0f672f1e7519c42a240592f15 (patch)
tree568319f21bf3e9ed2583832c0b2e69eb2d29d5b3 /Source/cmExportBuildAndroidMKGenerator.h
parentd870148537319da2e86237cbd8baf6815975e594 (diff)
downloadcmake-ea0ce73a195e1cc0f672f1e7519c42a240592f15.tar.gz
install,export: Maybe transform OBJECT libraries to INTERFACE libraries
Teach the `install` and `export` commands to support installing and exporting `OBJECT` libraries without their object files. Transform them to `INTERFACE` libraries in such cases. For `install(TARGETS)`, activate this when no destination for the object files is specified. For `export`, activate this only under Xcode with multiple architectures when we have no well-defined object file locations to give to clients.
Diffstat (limited to 'Source/cmExportBuildAndroidMKGenerator.h')
-rw-r--r--Source/cmExportBuildAndroidMKGenerator.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmExportBuildAndroidMKGenerator.h b/Source/cmExportBuildAndroidMKGenerator.h
index c80839bd45..a9b6107f82 100644
--- a/Source/cmExportBuildAndroidMKGenerator.h
+++ b/Source/cmExportBuildAndroidMKGenerator.h
@@ -11,6 +11,7 @@
#include "cmExportBuildFileGenerator.h"
#include "cmExportFileGenerator.h"
+#include "cmStateTypes.h"
class cmGeneratorTarget;
@@ -47,8 +48,9 @@ protected:
void GenerateImportHeaderCode(std::ostream& os,
const std::string& config = "") override;
void GenerateImportFooterCode(std::ostream& os) override;
- void GenerateImportTargetCode(std::ostream& os,
- const cmGeneratorTarget* target) override;
+ void GenerateImportTargetCode(
+ std::ostream& os, cmGeneratorTarget const* target,
+ cmStateEnums::TargetType /*targetType*/) override;
void GenerateExpectedTargetsCode(
std::ostream& os, const std::string& expectedTargets) override;
void GenerateImportPropertyCode(