summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2016-08-261-1/+1
|
* Merge topic 'include-what-you-use'Brad King2016-08-2593-177/+642
|\ | | | | | | | | 38491644 CTest: fix include-what-you-use violations
| * CTest: fix include-what-you-use violationsDaniel Pfeifer2016-08-2593-177/+642
| |
* | Merge topic 'extract-cmMessenger'Brad King2016-08-2533-348/+435
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 1462576b Parser: Port away from cmMakefile 421012a3 cmMessenger: Extract from cmake class 14a8d61f cmMakefile: Port nested error logic away from cmExecutionStatus 2af853de cmMakefile: Simplify IssueMessage implementation 33bb9cfa Parser: Issue messages through cmake, not cmSystemTools db7de303 Parser: Store the Backtrace for use in issuing messages
| * | Parser: Port away from cmMakefileStephen Kelly2016-08-254-20/+32
| | | | | | | | | | | | It is an unneeded dependency.
| * | cmMessenger: Extract from cmake classStephen Kelly2016-08-257-168/+277
| | | | | | | | | | | | | | | | | | | | | | | | This way messages can be issued independent of the cmake instance. It is now possible to make DisplayMessage a virtual interface and override it to handle messages in the cmake-gui or future IDE interaction interfaces.
| * | cmMakefile: Port nested error logic away from cmExecutionStatusStephen Kelly2016-08-254-16/+16
| | | | | | | | | | | | It is no longer needed.
| * | cmMakefile: Simplify IssueMessage implementationStephen Kelly2016-08-251-5/+3
| | | | | | | | | | | | | | | It is only called during configure time when the execution stack is non-empty.
| * | Parser: Issue messages through cmake, not cmSystemToolsStephen Kelly2016-08-2520-149/+115
| | | | | | | | | | | | | | | Make these messages uniform with regard to other messages issued by cmake.
| * | Parser: Store the Backtrace for use in issuing messagesStephen Kelly2016-08-241-0/+2
| | |
* | | Merge topic 'intel-fortran-mod-diff'Brad King2016-08-251-0/+6
|\ \ \ | | | | | | | | | | | | | | | | f699323a Fortran: Fix .mod file comparison for Intel 16 format
| * | | Fortran: Fix .mod file comparison for Intel 16 formatBrad King2016-08-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Intel 16 format starts with the 0x0A 0x00 sequence that we use to skip past the timestamp. This occurrence appears to be a version number. Skip the first byte to avoid matching the sequence early. Ideally we should gain a better understanding of the format and avoid depending on short sequences that are likely to appear early by coincidence, but this approach will suffice for now. Closes: #16263
* | | | Merge topic 'test-RunCMake.CMP0040-fix'Brad King2016-08-255-5/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 828e7632 Tests: Fix RunCMake.CMP0040 custom command syntax
| * | | | Tests: Fix RunCMake.CMP0040 custom command syntaxBrad King2016-08-245-5/+5
| | | | |
* | | | | Merge topic 'update-kwsys'Brad King2016-08-251-2/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | 7bc6dccc Merge branch 'upstream-KWSys' into update-kwsys fcc53247 KWSys 2016-08-24 (8e643b9b)
| * | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2016-08-241-2/+5
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | * upstream-KWSys: KWSys 2016-08-24 (8e643b9b)
| | * | | KWSys 2016-08-24 (8e643b9b)KWSys Upstream2016-08-241-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: http://public.kitware.com/KWSys.git at commit 8e643b9b5f24d4cac68d59b1e2be9d161fb75974 (master). Upstream Shortlog ----------------- Brad King (1): 8e643b9b SystemTools: Fix crash in GetShortPath
* | | | | CMake Nightly Date StampKitware Robot2016-08-251-1/+1
| |_|_|/ |/| | |
* | | | Merge topic 'update-third-party-git-2.9'Brad King2016-08-241-1/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | dcb2e39f update-third-party: support Git 2.9.0's new merge restrictions
| * | | | update-third-party: support Git 2.9.0's new merge restrictionsBen Boeckel2016-08-241-1/+7
|/ / / / | | | | | | | | | | | | | | | | Use the `--allow-unrelated-histories` flag to declare that we Know What We're Doing™ (but only if necessary).
* | | | Merge branch 'release'Brad King2016-08-240-0/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Merge branch 'GetPrerequisites-fix-regression' into releaseBrad King2016-08-121-2/+6
| |\ \ \
* | \ \ \ Merge topic 'android-platform-modules'Brad King2016-08-24124-28/+2264
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7b637ebd Android: Add `ANDROID` variable to indicate the target c2f561e5 Android: Add test cases covering use of the NDK and standalone toolchains 6b84df8d Help: Document cross compiling for Android d7d40830 Android: Select the STL type for NDK builds b22294bc Android: Populate compiler flags for current ABI b6a3102a Android: Add a CMAKE_BUILD_TYPE default d1e3cec2 Android: Add Clang -target option for current ABI 504db72d Android: Add placeholders for compiler/abi-specific settings fa632578 Android: Avoid interfering with common pre-existing toolchain files 6299693f Android: Search for NDK and standalone toolchain in more places 29b51379 Android: Detect and save a standalone toolchain without the NDK 7d9b49fb Android: Detect settings from the CMAKE_SYSROOT if it is set 4389664a Android: Detect and save a toolchain from the NDK 328191f6 Android: Set CMAKE_SYSROOT automatically 9e032304 Android: Detect and save the architecture, ABI, and processor fde59c4d Android: Detect and save the API level ...
| * | | | | Android: Add `ANDROID` variable to indicate the targetBrad King2016-08-234-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow projects to use `if(ANDROID)` to condition their Android-specific code paths.
| * | | | | Android: Add test cases covering use of the NDK and standalone toolchainsBrad King2016-08-2352-0/+568
| | | | | |
| * | | | | Help: Document cross compiling for AndroidBrad King2016-08-2318-27/+375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CMake now supports cross compiling for Android using the NDK or a standalone toolchain. Document the associated variables and how how to write toolchain files for Android.
| * | | | | Android: Select the STL type for NDK buildsBrad King2016-08-2315-0/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Populate standard include directories and link libraries for the platform. Select the STL corresponding to CMAKE_ANDROID_STL_TYPE and matching the current ABI and toolchain to be used. Refer to the NDK sources/cxx-stl/*/Android.mk files for the needed file locations.
| * | | | | Android: Populate compiler flags for current ABIBrad King2016-08-2317-0/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initialize the CMAKE_{C,CXX}_FLAGS{,_<CONFIG>} cache entries with flags for each ABI as specified by NDK toolchain `setup.mk` files.
| * | | | | Android: Add a CMAKE_BUILD_TYPE defaultBrad King2016-08-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android NDK builds are always `debug` or `release`. We may populate flags for these configurations that are needed to produce compatible binaries. Ensure they are used by default.
| * | | | | Android: Add Clang -target option for current ABIBrad King2016-08-129-0/+17
| | | | | |
| * | | | | Android: Add placeholders for compiler/abi-specific settingsBrad King2016-08-1221-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Android NDK source repository at https://android.googlesource.com/platform/ndk.git has `<ndk>/build/core/toolchains/*/setup.mk` files that store tables of information for their build system. Add an equivalent file for each compiler/abi combination.
| * | | | | Android: Avoid interfering with common pre-existing toolchain filesBrad King2016-08-125-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commonly used Android toolchain files that pre-date CMake upstream support may need to be updated to work with our new functionality. They typically set CMAKE_SYSTEM_VERSION to 1, so detect that and skip our upstream Android settings. When such toolchain files are updated to account for our upstream support, they can then set CMAKE_SYSTEM_VERSION to a valid Android API and get new behavior.
| * | | | | Android: Search for NDK and standalone toolchain in more placesBrad King2016-08-121-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commonly used Android toolchain files that pre-date CMake upstream support use a few environment and CMake variables as search locations. Use them too to aid transition.
| * | | | | Android: Detect and save a standalone toolchain without the NDKBrad King2016-08-124-5/+115
| | | | | |
| * | | | | Android: Detect settings from the CMAKE_SYSROOT if it is setBrad King2016-08-121-1/+68
| | | | | |
| * | | | | Android: Detect and save a toolchain from the NDKBrad King2016-08-122-0/+296
| | | | | |
| * | | | | Android: Set CMAKE_SYSROOT automaticallyBrad King2016-08-121-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compute CMAKE_SYSROOT automatically for the current API and architecture selection. This causes the --sysroot option to be passed to GNU and Clang compilers.
| * | | | | Android: Detect and save the architecture, ABI, and processorBrad King2016-08-121-1/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new CMakeSystem.cmake entries for the architecture and ABI. Store the processor in CMAKE_SYSTEM_PROCESSOR.
| * | | | | Android: Detect and save the API levelBrad King2016-08-121-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store the Android API level in CMAKE_SYSTEM_VERSION. If it is not provided by the user, initialize it from CMAKE_ANDROID_API or fall back to finding the latest available in the NDK.
| * | | | | Android: Detect and save the NDK directoryBrad King2016-08-121-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | Add a new CMakeSystem.cmake entry for the NDK location.
| * | | | | Android: Suppress new functionality with Nsight Tegra in VS IDE buildsBrad King2016-08-125-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support for NVIDIA Nsight Tegra Visual Studio Edition was previously implemented in the CMake VS IDE generators. Avoid interfering with that functionality for now. Later we may try to integrate this.
| * | | | | Android: Add placeholders for platform-specific initializationBrad King2016-08-122-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add infrastructure modules to be loaded when initializing builds targeting Android platforms.
| * | | | | Android: Add placeholders for platform-specific compiler selectionBrad King2016-08-123-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add infrastructure modules to be loaded for determining a compiler selection when targeting Android platforms.
| * | | | | Android: Add placeholders for platform-specific compiler settingsBrad King2016-08-127-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add infrastructure modules to be loaded for Clang and GNU compilers when targeting Android platforms.
| * | | | | CMakeDetermine*Compiler: Add hook to save custom compiler informationBrad King2016-08-123-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a way for Platform/<os>-Determine-<lang>.cmake modules to save platform-specific information about the compiler in the configured CMake<lang>Compiler.cmake modules.
| * | | | | CMakeDetermineSystem: Load platform-specific helper modulesBrad King2016-08-122-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once CMAKE_SYSTEM_NAME is known, load a platform-specific Platform/<os>-Determine module in order to enable custom determination of the other settings needed for the CMakeSystem module (e.g. CMAKE_SYSTEM_PROCESSOR). Also add a hook in Modules/CMakeSystem.cmake.in to allow platform-specific information to be saved.
* | | | | | Merge topic 'extend-find-package-search-path'Brad King2016-08-249-9/+82
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 828d6c13 find_package: Extend search path for combined Windows/UNIX convention ff5c89de Help: Widen find_package search path table
| * | | | | | find_package: Extend search path for combined Windows/UNIX conventionSilvio Traversaro2016-08-249-2/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Find packages that install their cmake package configuration files in `lib/cmake/<name>` when they are installed in the default Windows CMAKE_INSTALL_PREFIX, `C:/Program Files/<name>`. Closes: #16212
| * | | | | | Help: Widen find_package search path tableSilvio Traversaro2016-08-231-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make room for additional longer entries.
* | | | | | | Merge topic 'include-what-you-use'Brad King2016-08-2433-67/+192
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5cbb5488 fix a batch of include-what-you-use violations