summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport/Import/A/imp_testExe1.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-02-11 19:02:45 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-11 20:15:33 (GMT)
commitf30022eb07b913598326d2e3b10ff2e706fbe873 (patch)
treec4b40ec96cd6affe7b091548540e5ac0df659ce3 /Tests/ExportImport/Import/A/imp_testExe1.c
parent7607c3d16aa0636458c909f4036e4b0d91581b30 (diff)
downloadCMake-f30022eb07b913598326d2e3b10ff2e706fbe873.zip
CMake-f30022eb07b913598326d2e3b10ff2e706fbe873.tar.gz
CMake-f30022eb07b913598326d2e3b10ff2e706fbe873.tar.bz2
install: Allow generator expressions in TARGETS DESTINATION (#14317)
This will allow per-config destinations for targets in EXPORT sets. Using multiple install(TARGETS) with separate CONFIGURATIONS is rejected as a target appearing more than once in an export set. Now instead one can write install(TARGETS foo EXPORT exp DESTINATION lib/$<CONFIG>) to get a single logical membership of the target in the export set while still having a per-config destination.
Diffstat (limited to 'Tests/ExportImport/Import/A/imp_testExe1.c')
-rw-r--r--Tests/ExportImport/Import/A/imp_testExe1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/ExportImport/Import/A/imp_testExe1.c b/Tests/ExportImport/Import/A/imp_testExe1.c
index 451998a..150fcef 100644
--- a/Tests/ExportImport/Import/A/imp_testExe1.c
+++ b/Tests/ExportImport/Import/A/imp_testExe1.c
@@ -7,6 +7,7 @@ extern int testLib4lib();
extern int testLib5();
extern int testLib6();
extern int testLibCycleA1();
+extern int testLibPerConfigDest();
/* Switch a symbol between debug and optimized builds to make sure the
proper library is found from the testLib4 link interface. */
@@ -21,5 +22,6 @@ int main()
{
return (testLib2() + generated_by_testExe1() + testLib3() + testLib4()
+ testLib5() + testLib6() + testLibCycleA1()
+ + testLibPerConfigDest()
+ generated_by_testExe3() + testLib4lib() + testLib4libcfg());
}