summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* FindLibUV: Add module to find libuv packageBrad King2016-08-315-0/+169
| | | | | | Add it to a private source directory that is not installed so that we can use it for building CMake itself. This will allow it to mature before being distributed publicly.
* libuv: Fix unused variable warning in uv_loop_closeBrad King2016-08-311-0/+2
|
* libuv: Avoid including macOS CoreServices header globallyBrad King2016-08-311-4/+1
| | | | | We only need the availability macros in `unix/internal.h`. We already include CoreServices where needed in implementation files.
* libuv: Always include our own header firstBrad King2016-08-312-6/+6
|
* libuv: Conditionally declare Windows APIs for VS 2008 and belowBrad King2016-08-313-2/+23
|
* libuv: Fix anonymous union syntaxBrad King2016-08-311-2/+2
|
* libuv: Fix Windows API function typedef syntaxBrad King2016-08-311-5/+5
|
* libuv: Install LICENSE file with CMake documentationBrad King2016-08-311-0/+2
| | | | | When we install using the bundled libuv source, notify users of its license terms.
* libuv: Disable warnings to avoid changing 3rd party codeBrad King2016-08-312-0/+12
| | | | | Add '-w' or equivalent flag on compilers supporting it. Tell MSVC to use its lowest warning level inside libuv sources.
* libuv: Build the library within CMakeBrad King2016-08-316-0/+253
| | | | | | | | | | | Take logic from upstream `Makefile.am` and `configure.ac` to build libuv sources. Update `uv.h` to include KWSys Large File Support configuration so that consistent stream libraries are used (on AIX with XL). Add a `cm_uv.h` header to include the CMake-provided copy of the `uv.h` header from CMake sources.
* Merge branch 'upstream-libuv' into import-libuvBrad King2016-08-3199-0/+47701
|\ | | | | | | | | * upstream-libuv: libuv 2016-08-30 (897738b1)
| * libuv 2016-08-30 (897738b1)libuv upstream2016-08-3199-0/+47701
| | | | | | | | Code extracted from: https://github.com/libuv/libuv.git at commit 897738b160cd5950503a96c9fd5b1e9aab92b0ff (v1.x).
* Add script to update libuv from upstreamBrad King2016-08-311-0/+26
|
* 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.