CMake/Tests/ExportImport/Import/A
Brad King 4fc4742477 Tests: Fix ExportImport on AIX with GCC
The iface_test_bld gets the excludedFromAll include directory with
"-isystem" because it is added indirectly through an imported target.
On AIX with GCC the -isystem flag causes sources to be preprocessed as:

  # 3 "/.../excludedFromAll.h" 2 3 4

The flags after the file name are documented here:

  https://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html

and the "4" flag says that following content is extern "C".  This
causes the excludedFromAll function to be declared as a C symbol
and not mangled for C++, which fails to link later because the
symbol is really provided as C++.

Work around this by setting the NO_SYSTEM_FROM_IMPORTED target property
on iface_test_bld.  Somehow iface_test_exp does not end up with -isystem
so we do not need this workaround for that target.
2015-04-23 10:53:39 -04:00
..
excludedFromAll Test non-IMPORTED libraries in the INTERFACE of IMPORTED libraries. 2013-07-02 17:03:53 +02:00
framework_interface Use linked frameworks as a source of include directories. 2013-07-24 11:49:06 -04:00
CMakeLists.txt Tests: Fix ExportImport on AIX with GCC 2015-04-23 10:53:39 -04:00
check_testLib1_genex.cmake install: Support generator expressions in FILES and PROGRAMS mode 2014-02-21 17:05:26 -05:00
cmp0022NEW_test.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
cmp0022NEW_test_vs6_1.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
cmp0022NEW_test_vs6_2.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
cmp0022OLD_test.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
cmp0022OLD_test_vs6_1.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
cmp0022OLD_test_vs6_2.cpp Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
deps_iface.c Export: Prefix relative items with genexes in INSTALL_INTERFACE. 2013-11-26 13:01:53 +01:00
deps_shared_iface.cpp Generate INTERFACE_COMPILE_OPTIONS on export. 2013-06-10 16:50:20 +02:00
iface_test.cpp Test non-IMPORTED libraries in the INTERFACE of IMPORTED libraries. 2013-07-02 17:03:53 +02:00
imp_lib1.c Allow add_dependencies() on imported targets (#10395) 2010-11-19 17:19:21 -05:00
imp_mod1.c ENH: Test transitive link to subdir-imported lib 2009-04-06 11:11:33 -04:00
imp_testExe1.c install: Allow generator expressions in TARGETS DESTINATION (#14317) 2015-02-11 15:15:33 -05:00
imp_testExeAbs1.c install: Allow absolute EXPORT destination with relative targets (#15258) 2014-12-15 11:45:49 -05:00
renamed_test.cpp Add EXPORT_NAME property. 2013-05-18 10:00:48 +02:00
test_system.cpp Always consider includes from IMPORTED targets to be SYSTEM. 2013-09-24 20:00:31 +02:00