qt5base-lts/mkspecs
Stephen Kelly 77a03ebd8d Expand the 'existing target guard' in generated CMake files.
This way the target will be created and have its properties
populated only one time.

I tried wrapping the whole file in an 'include guard', but that
broke the unit test in tests/auto/cmake/pass1 (and
the qt5_use_module function), because the function causes the
variables in the Config file to not exist outside of the
scope (eg for include directories), and yet, Qt5${Module}_FOUND is
still true even when the find_package was previously called in a
function, so it is not found and processed again.

The change in Qt5CoreConfigExtras.cmake does not need to be guarded
as it is only ever included from Qt5CoreConfig.

Change-Id: Iaa016563db5eb61294360ac9e003c9c923393d8c
Reviewed-by: Brad King <brad.king@kitware.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2012-06-07 19:08:34 +02:00
..
aix-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
aix-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
aix-xlc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
aix-xlc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
cmake Expand the 'existing target guard' in generated CMake files. 2012-06-07 19:08:34 +02:00
common configure: Auto-detect and enable C++11 support if available 2012-06-05 12:30:13 +02:00
cygwin-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
darwin-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
devices Fix common device spec paths 2012-06-07 04:16:49 +02:00
features configure: Auto-detect and enable C++11 support if available 2012-06-05 12:30:13 +02:00
freebsd-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
freebsd-g++46 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
freebsd-icc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-acc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-acc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-acc-o64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpux-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpuxi-acc-32 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpuxi-acc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hpuxi-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
hurd-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
irix-cc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
irix-cc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
irix-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
irix-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
linux-arm-gnueabi-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-cxx Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
linux-ecc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
linux-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-g++-32 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-g++-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-g++-maemo Include generic ARM qplatformdefs.h in linux-g++-maemo mkspec 2012-03-19 20:16:04 +01:00
linux-icc configure: Auto-detect and enable C++11 support if available 2012-06-05 12:30:13 +02:00
linux-icc-32 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-icc-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-kcc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
linux-llvm Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-lsb-g++ Use the LSB linker to link 2012-03-15 00:50:47 +01:00
linux-pgcc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
lynxos-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
macx-clang Add mkspecs for 32-bit Mac OS X builds. 2012-05-04 09:19:23 +02:00
macx-clang-32 Add mkspecs for 32-bit Mac OS X builds. 2012-05-04 09:19:23 +02:00
macx-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-g++40 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-g++42 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-g++-32 Add mkspecs for 32-bit Mac OS X builds. 2012-05-04 09:19:23 +02:00
macx-icc Remove all usages of "arch" CFLAGS on Mac. 2012-05-04 09:19:23 +02:00
macx-llvm Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-pbuilder Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-xcode Remove all usages of "arch" CFLAGS on Mac. 2012-05-04 09:19:23 +02:00
macx-xlc remove assignment of QMAKE_MOC & QMAKE_UIC from mkspecs 2012-03-01 21:00:07 +01:00
modules update readme to current reality 2012-01-27 13:55:27 +01:00
netbsd-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
openbsd-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
sco-cc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
sco-g++ remove assignment of QMAKE_MOC & QMAKE_UIC from mkspecs 2012-03-01 21:00:07 +01:00
solaris-cc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
solaris-cc-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
solaris-cc-64-stlport Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
solaris-cc-stlport Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
solaris-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
solaris-g++-64 Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
tru64-cxx Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
tru64-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
unixware-cc Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
unixware-g++ Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
unsupported Remove all references to X11 session management 2012-06-01 03:15:55 +02:00
win32-g++ Enable extra warnings for win32-g++ mkspecs 2012-05-23 20:09:09 +02:00
win32-icc remove assignment of QMAKE_MOC & QMAKE_UIC from mkspecs (part 2) 2012-03-09 18:50:52 +01:00
win32-msvc11 Windows: Add ANGLE support. 2012-05-31 09:13:01 +02:00
win32-msvc2005 Windows: Add ANGLE support. 2012-05-31 09:13:01 +02:00
win32-msvc2008 Windows: Add ANGLE support. 2012-05-31 09:13:01 +02:00
win32-msvc2010 Windows: Add ANGLE support. 2012-05-31 09:13:01 +02:00
wince50standard-armv4i-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-armv4i-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsii-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsii-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsiv-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsiv-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-sh4-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-sh4-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-x86-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-x86-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince60standard-armv4i-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince60standard-x86-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince70embedded-armv4i-msvc2008 Enable basic gesture support for WEC7. 2012-02-06 05:15:11 +01:00
wince70embedded-x86-msvc2008 Enable basic gesture support for WEC7. 2012-02-06 05:15:11 +01:00
wincewm50pocket-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm50pocket-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm50smart-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm50smart-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60professional-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60professional-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60standard-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60standard-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm65professional-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm65professional-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00