| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
These variables can be dereferenced by if() alone so do not do it here, avoiding
the risk of their content being treated as a variable name and dereferenced
again.
|
|\
| |
| |
| |
| |
| | |
b91020f6 Xcode: Fix compiler id detection when code signing is required
c48f6e12 Xcode: Fix compiler id detection for iOS tools (#15214)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The iOS product type 'com.apple.package-type.bundle.unit-test' requires
code signing on Xcode 6. Other iOS target types do too. Until CMake
learns to add the CODE_SIGN_IDENTITY build attribute itself, toolchain
files can set CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY to tell the Xcode
generator to add the attribute. Teach CMakeDetermineCompilerId to
recognize this variable and add the CODE_SIGN_IDENTITY build attribute
to the compiler id project.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since commit 0cce556b (Xcode: Use sysroot and deployment target to
identify compiler, 2014-04-29) our compiler id detection project uses
the target platform SDK in case Xcode selects a different compiler based
on it. Now the compiler id project actually compiles with the target
compiler and SDK when cross-compiling.
The iOS tools do not support the 'com.apple.product-type.tool' product
type we use in our compiler id detection project. When targeting
iPhone, use product type 'com.apple.product-type.bundle.unit-test'
instead.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
80b19a71 Help/manual: Avoid long lines in code blocks
4fdacedc Help: Clarify formatting of CPACK_WIX_ACL documentation
35ca4863 Help: Wrap long ctest_submit signature line
58b2d760 Modules: Format documentation to avoid over-long preformatted lines
|
| |/
| |
| |
| |
| |
| | |
Convert several preformatted code block literals that enumerate lists of
options or variables to use reST definition lists instead. Manually
wrap other long lines in code blocks.
|
|\ \
| | |
| | |
| | |
| | | |
ed997de4 FindHg: Do not use cygwin hg on Windows
|
| |/
| |
| |
| |
| | |
The cygwin hg client is a text file with a '#!/bin/python" line.
This cannot run on Windows.
|
|\ \
| | |
| | |
| | |
| | | |
59814cb4 FindCUDA: Remove rpath logic outdated by CMake's own @rpath support
|
| |/
| |
| |
| |
| | |
Otherwise binaries end up with two copies of the same value and the OS X
install_name_tool may corrupt them.
|
|\ \
| | |
| | |
| | |
| | | |
41564ff2 BundleUtilities: Ensure framework symlinks and Info.plist exist
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This restores Qt SDK 4.8 and OS X >= 10.6.5 codesign compatibility
improving embedding frameworks using correct bundle layout described at:
https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html
1. If Versions/VERSION/Resources/Info.plist is missing, well known
incorrect locations are checked for Info.plist and Info.plist is
copied from there, otherwise codesign will fail.
2. Root framework symlinks to binary and Resources are restored to
point inside Versions/Current, otherwise Qt 4.8 looking for
Resources/ in framework root will fail.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
603ef7fd CPackRPM: Add component based packaging description and summary
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Enable per-component description and summary setting through
CPACK_RPM_<component>_PACKAGE_DESCRIPTION,
CPACK_COMPONENT_<compName>_DESCRIPTION and
CPACK_RPM_<component>_PACKAGE_SUMMARY variables.
Extend the CPackComponentsForAll test to cover these.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
29c3edb8 Avoid if() quoted auto-dereference
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When testing CMAKE_<LANG>_COMPILER_ID values, do not explicitly
dereference or quote the variable. We want if() to auto-dereference the
variable and not its value. Also replace MATCHES with STREQUAL where
equivalent.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
7a373d5e UseJava: Fix classpath separator on WIN32 cross compilation (#15206)
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The condition to use ";" as classpath separator includes a check for the
switch "WIN32" which is a target switch. When cross-compiling for a
non-windows target, this switch is not present and the separator
defaults to ":". It should check for "CMAKE_HOST_WIN32" instead.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
9de113a9 UseSWIG: Fix R module prefix
|
| | |/
| |/| |
|
|/ /
| |
| |
| |
| | |
With CMAKE_C_FLAGS='-Wall -Werror', this test breaks due to
-Werror=unused-value. Fix this by ignoring the return value.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
631fadea Help: Add notes for topic 'fix-OSX-bundle-rpaths-and-Qt5'
50e261dd OSX: Warn when attempting to change runtime paths on OS X 10.5
9b98fd52 cmake-gui: Make sure we bundle Qt5 Cocoa platform plugin
83a06bb4 BundleUtilities: Framework codesign Resources/Info.plist & Current
f7df82ac BundleUtilities: Resolve & replace @rpath placeholders
14bc686f GetPrerequisites: Make sure dyld placeholders are prefixes
6c313797 BundleUtilities: Use find on UNIX for fast executable lookup
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We need to ensure copied framework has proper layout with Resources/Info.plist
present next to versioned binary and Current symlink in Versions:
https://developer.apple.com/library/mac/technotes/tn2206
https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/FrameworkAnatomy.html
If Resources/ is not present we may try to copy Contents/Info.plist if present
to embedded Resources/Info.plist. This is a case of Qt5 that has
obsolete/invalid framework layout (see QTBUG-38511).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is done by gathering LC_RPATH commands for main bundle executable and
using it for @rpath lookup in dependent frameworks.
All functions that need to carry rpaths to now take optional <rpaths> argument.
This enabled apps using @rpath to be bundled correctly, which will be necessary
for upcoming Qt 5.4 that will use @rpath for all frameworks.
Check that install_name_tool has -delete_rpath before using it.
Otherwise it will fail with Xcode 3.x on 10.5 which has no -delete_rpath
option for install_name_tool command, that was first introduced in 10.6
SDK, even that 10.5 supports LC_RPATH and @rpath.
|
| |
| |
| |
| |
| | |
Mac OS X dyld placeholders should be always prefixes, otherwise this can lead
to some undefined behavior.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It makes whole executable process quicker on UNIX, especially for large bundles
containing many files, since using find narrows results to only files having
executable flags then all further tests follow.
Since find ... -perm +0111 is not clearly POSIX compliant and some Linux
versions refuse it, it is better to use longer but portable:
find ... -perm \( -perm -0100 -o -perm -0010 -o -perm -0001 \)
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
b7e5c5a2 FindThreads: introduce THREADS_PREFER_PTHREAD_FLAG (#14767)
bcb0e387 FindThreads: introduce an imported target to link to
46368edd FindThreads: move checking of the -pthread compiler flag into a macro
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This not only holds the library, but can also hold compiler flags needed, e.g.
the -pthread flag preferred by gcc on some platforms. There was no clean way
to get that compiler flag from the module until now.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This allows a following commit to introduce a switch to prefer that check over
searching for the explicit library names without breaking backward
compatibility.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
ba907f7d FPHSA: fix when requested or found version is exactly 0
4f9bf446 FPHSA: when EXACT version match is requested only compare the components given
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Until now it was checked with "if(VAR)", which will be false in case "0" is the
content of the variable.
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Given that you have a foobar that identifies itself as 1.2.3 from now on a
find_package(foobar 1.2 EXACT)
will succeed, as 1.2.3 will now be considered as being 1.2. Until now this was
only the case for version 1.2.0.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
63262434 FindLATEX: Search for ps2pdf14 even on Windows (#15198)
|
| | |/
| |/|
| | |
| | |
| | | |
When cross-compiling from Linux to Windows the tool on the host
does not have a .bat extension.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
f25e431d tests: set sanitizer options properly
f0661bf3 tests: fix copy/paste from tsan -> asan comments
ca9cc25c ctest: add support for additional sanitizer options
0b9ffffc ctest: update documentation for CTEST_MEMORYCHECK_TYPE
|
| | |/
| |/|
| | |
| | |
| | | |
Sanitizers receive options through their environment variable; support
user-specified options here.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
c9300464 FindBoost: Avoid if() quoted auto-dereference
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When testing CMAKE_CXX_COMPILER[_ID] values with if(MATCHES) or
if(STREQUAL), do not explicitly dereference or quote the variable.
We want if() to auto-dereference the variable and not its value.
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | | |
ed9684a2 CPackIFW: Added support for multiple repositories
f9f74874 CPackIFW: Search algorithm update
|
| | | |
| | | |
| | | |
| | | | |
Now user can add IFW specific repo with cpack_ifw_add_repository macro
|
| |/ /
| | |
| | |
| | | |
Variables like CPACK_IFW_*_EXECUTABLE_FOUND now not needed
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
94a061d3 FindThreads: use a macro for the repetitive thread library checks
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | | |
3670c6a4 fix inclusion of FPHSA
|
| |/
| |
| |
| | |
Make sure these modules also include exactly the version shipped with CMake.
|
|\ \
| | |
| | |
| | |
| | | |
cbd5db64 FindThreads: search test source relative to module
|
| |/
| |
| |
| | |
This is a simpler way to reference the location of FindThreads.cmake.
|
|\ \
| | |
| | |
| | |
| | | |
c4a56b9c FindLua: fix wrong version list if EXACT is given
|
| |/ |
|