666ad1d | Brad King | 24 February 2017, 15:07:18 UTC | Revert "Ninja: Use full path for all source files" This reverts commit v3.7.0-rc1~275^2 (Ninja: Use full path for all source files, 2016-08-05). Unfortunately using absolute paths can cause incorrect rebuilds due to ninja limitations. The ninja manual [1] explains: > ... using absolute paths, your depfile may result in a mixture of > relative and absolute paths. Paths used by other build rules need > to match exactly. Passing an absolute path to a source file to the compiler while using a relative path in the ninja build manifest can cause such mixture and lead to incorrect rebuilds. Simply revert the change for now. Note that there was a follow-up to the original change in commit v3.7.0-rc2~10^2 (Ninja: Fix RC language depfile generation with cmcldeps, 2016-10-13). We don't need to revert that because that change made the relevant code cleverly adapt to whatever variable we use to reference the source file. [1] https://ninja-build.org/manual.html#_deps Fixes: #16675 Issue: #13894 | 24 February 2017, 15:15:50 UTC |
efac65d | Brad King | 15 February 2017, 19:45:31 UTC | Merge branch 'fix-ctest_update-svn' into release-3.7 | 15 February 2017, 19:45:31 UTC |
51849bb | Brad King | 15 February 2017, 18:43:34 UTC | ctest_update: Fix svn log and external loading Since commit v3.7.0-rc1~132^2 (CTestSVN: Fix segfault when CTEST_UPDATE_VERSION_ONLY is enabled, 2016-09-12) we do not properly extract svn log or externals. After updating we erase the information that was loaded before updating and can no longer log the changes between revisions to extract authors. Fix this by only loading the repository information once, whether needed by `NoteOldRevision`, `NoteNewRevision`, or both. Fixes: #12630, #16646 | 15 February 2017, 19:44:37 UTC |
2b1cdd8 | Brad King | 20 January 2017, 16:53:24 UTC | Merge branch 'case-insensitive-bindir-detection' into release | 20 January 2017, 16:53:24 UTC |
7f0a21a | Ben Boeckel | 18 January 2017, 15:06:23 UTC | cmSystemTools: use the actual case for root detection On Windows, calling a binary installed with the default `bin` binary directory will fail to be detected when called as `BIN\cmake.exe` due to the string compare. Get the actual case of the path before checking that the path ends with `CMAKE_BIN_DIR`. Fixes #16574. | 18 January 2017, 15:08:40 UTC |
35413bf | Brad King | 13 January 2017, 13:58:58 UTC | CMake 3.7.2 | 13 January 2017, 13:58:58 UTC |
0051989 | Brad King | 11 January 2017, 18:51:38 UTC | Merge branch 'cmFileMonitor-skip-empty-names' into release | 11 January 2017, 18:51:38 UTC |
7bad99b | Aleix Pol | 11 January 2017, 18:08:04 UTC | cmake-server: Do not try watching subdirectories with empty names `cmsys::SystemTools::SplitPath` will return empty segments on paths where there's duplicaded consequent slashes (e.g. `/home/dir/my//stuff`). This makes the cmFileWatcher choke. Teach cmFileMonitor to skip these empty segments. Closes: #16531 | 11 January 2017, 18:48:41 UTC |
e9d3557 | Brad King | 10 January 2017, 18:15:58 UTC | Merge branch 'FindBoost-1.63' into release | 10 January 2017, 18:15:58 UTC |
a9b9350 | Roger Leigh | 27 December 2016, 12:02:54 UTC | FindBoost: Add support for 1.63 | 10 January 2017, 18:15:34 UTC |
c046356 | Brad King | 10 January 2017, 14:53:26 UTC | Merge branch 'pgsql-yum' into release | 10 January 2017, 14:53:26 UTC |
5ffee69 | Rolf Eike Beer | 29 December 2016, 10:05:36 UTC | FindPostgreSQL: automatically find installations from yum.postgresql.org In commit v3.3.0-rc1~4^2 (FindPostgreSQL: Search some more common packaging locations) the PostgreSQL_ADDITIONAL_SEARCH_PATHS variable was removed. This was used e.g. by osm2pgsql to be able to build on CentOS with recent PostgreSQL versions. At least add those locations from yum.postgresql.org, which is a more or less official location. | 10 January 2017, 14:52:42 UTC |
68d1366 | Brad King | 09 January 2017, 21:33:02 UTC | Merge branch 'cmake-server-do-not-crash-on-interface-lib' into release | 09 January 2017, 21:33:02 UTC |
33e628e | Tobias Hunger | 06 January 2017, 14:18:52 UTC | server-mode: Do not crash when running into INTERFACE_LIBRARY Closes: #16539 | 09 January 2017, 21:31:11 UTC |
195ab50 | Brad King | 16 December 2016, 13:56:02 UTC | Merge branch 'mr-reset-error-flag-on-configure' into release | 16 December 2016, 13:56:02 UTC |
7789dd9 | Tobias Hunger | 16 December 2016, 08:24:39 UTC | server-mode: Call ResetErrorOccured before configure Closes: #16506 | 16 December 2016, 13:54:37 UTC |
12bea47 | Brad King | 08 December 2016, 13:25:08 UTC | Merge branch 'FindBoost-vs15' into release | 08 December 2016, 13:25:08 UTC |
c3b6b5b | Vic Luo | 07 December 2016, 02:37:18 UTC | FindBoost: Add support for VS 2017 | 08 December 2016, 13:20:08 UTC |
f243a34 | Brad King | 07 December 2016, 16:17:49 UTC | Merge branch 'vs-fix-standalone-Windows7.1SDK-toolset' into release | 07 December 2016, 16:17:49 UTC |
27431de | Brad King | 07 December 2016, 15:38:18 UTC | VS: Fix standalone Windows7.1SDK toolset selection Since commit v3.7.0-rc1~142^2~1 (VS: Explicitly default to v100 toolset in Visual Studio 2010, 2016-07-21) we prefer to always set a platform toolset explicitly so that `CMAKE_VS_PLATFORM_TOOLSET` can be reported. However, the `v100` default for the VS 10 generator is not appropriate for all environments. We fixed support for VS 2010 Express Edition in commit v3.7.0-rc1~142^2 (VS: Do not default to missing v100 64-bit toolset on VS 2010 Express, 2016-09-09). Fix support for the standalone Windows7.1SDK toolset environment by recognizing the `PlatformToolset` environment variable that it sets to `Windows7.1SDK` and using this as our default toolset instead. Closes: #16483 | 07 December 2016, 16:02:54 UTC |
0d89c1e | Brad King | 30 November 2016, 19:30:41 UTC | Merge branch 'vs-Zc-inline' into release | 30 November 2016, 19:30:41 UTC |
418afd5 | Brad King | 30 November 2016, 19:20:15 UTC | VS: Add v140 flag table entries for `-Zc:inline[-]` The documentation of this option [1] claims that the default is off, but VS seems to use `-Zc:inline` by default if `RemoveUnreferencedCodeData` does not appear in the `.vcxproj` file. Add the flag table entry to allow use of the flag to be configured. [1] https://msdn.microsoft.com/en-us/library/dn642448.aspx Suggested-by: Serti Ayoub <ayb.serti@gmail.com> | 30 November 2016, 19:20:15 UTC |
315d44f | Brad King | 30 November 2016, 18:44:50 UTC | VS: Add v141 flag table entry for `-Zc:inline-` The negative form of the `-Zc:inline` flag is missing from c:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/Common7/IDE/VC/VCTargets/1033/cl.xml so it was not included in our flag table automatically. Add it manually. Suggested-by: Serti Ayoub <ayb.serti@gmail.com> | 30 November 2016, 19:04:02 UTC |
d69cf34 | Brad King | 30 November 2016, 18:14:52 UTC | Merge branch 'cmake-server-pad-arguments' into release | 30 November 2016, 18:14:52 UTC |
28e891f | Tobias Hunger | 30 November 2016, 16:20:34 UTC | server-mode: Do not ignore the first cacheArgument on configure SetCacheArgs skips the first argument it gets, so add some padding before calling it. | 30 November 2016, 18:14:15 UTC |
db3499d | Brad King | 30 November 2016, 14:54:05 UTC | CMake 3.7.1 | 30 November 2016, 14:54:05 UTC |
f75d936 | Brad King | 29 November 2016, 16:05:29 UTC | Merge branch 'vs15-rename-generator' into release | 29 November 2016, 16:05:29 UTC |
d639620 | Roman Wüger | 29 November 2016, 12:50:21 UTC | VS: Rename VS 15 generator to 'Visual Studio 15 2017' The final name of this VS version was announced: https://blogs.msdn.microsoft.com/visualstudio/2016/11/16/visual-studio-2017-rc/ Add the year to the generator name accordingly. For convenience, map the name without the year to the name with the year. | 29 November 2016, 15:46:36 UTC |
a04bbcd | Brad King | 28 November 2016, 19:55:48 UTC | Merge branch 'libarchive-openssl-1.1' into release | 28 November 2016, 19:55:48 UTC |
6f23dae | Brad King | 17 November 2016, 20:44:44 UTC | libarchive: Add support for building with OpenSSL 1.1 OpenSSL 1.1 made some CTX structures opaque. Port our code to use the structures only through pointers via OpenSSL 1.1 APIs. Use our adaption layer to make this work with OpenSSL 1.0 and below. Patch-by: Tomas Mraz <tmraz@redhat.com> Patch-from: https://bugzilla.redhat.com/1383744 | 28 November 2016, 19:55:42 UTC |
7d43320 | Brad King | 17 November 2016, 20:26:41 UTC | libarchive: Add headers to adapt between OpenSSL 1.1 and older versions Add private forwarding headers for `openssl/{evp,hmac}.h` to give us a central place to add adaptation code to work across multiple incompatible OpenSSL versions. Provide compatibility implementations of some OpenSSL 1.1 APIs when using older OpenSSL versions. | 28 November 2016, 19:55:42 UTC |
ca7a52f | Brad King | 28 November 2016, 18:57:56 UTC | Merge branch '16449-revert-xcode-system-includes' into release | 28 November 2016, 18:57:56 UTC |
543dcb0 | Gregor Jasny | 23 November 2016, 17:19:54 UTC | Revert "Xcode: Obey SYSTEM keyword for includes (#15687)" Revert commit v3.7.0-rc1~266^2 (Xcode: Obey SYSTEM keyword for includes, 2015-08-31). It worked for C, C++, and Swift but not for GNU Assembly files for which Xcode has no property to set flags. Closes: #16449 | 28 November 2016, 18:42:46 UTC |
47dd761 | Brad King | 21 November 2016, 16:52:32 UTC | Merge branch 'doc-CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT' into release | 21 November 2016, 16:52:32 UTC |
df9fea7 | Brad King | 21 November 2016, 16:49:33 UTC | Help: Document CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT variable This variable documentation was simply missing. Suggested-by: Craig Scott <craig.scott@crascit.com> | 21 November 2016, 16:52:00 UTC |
37966a5 | Brad King | 18 November 2016, 16:43:43 UTC | Merge branch 'vs-15-preview-5' into release | 18 November 2016, 16:43:43 UTC |
9fd9fd9 | Brad King | 18 November 2016, 15:05:00 UTC | Merge branch 'backport-android-info-variables' into release | 18 November 2016, 15:05:00 UTC |
ea8eba0 | Brad King | 14 November 2016, 19:19:55 UTC | Android: Add CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE Expose the binutils' machine name (typically used as a prefix on the tool names) publicly. This is expected to match the `gcc -dumpmachine` value. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com> | 18 November 2016, 15:03:15 UTC |
0d3eb13 | Brad King | 11 November 2016, 20:22:43 UTC | Android: Add CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG variable The NDK provides prebuilt toolchain files in directories named for the host architecture. The NDK build system calls this `HOST_TAG`. Expose the value publicly for use by clients that need to pass it to external tools. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com> | 18 November 2016, 15:03:07 UTC |
236d624 | Brad King | 11 November 2016, 19:50:50 UTC | Android: Always set CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION When this variable is not set by the user or toolchain file, set it to the default selected. This will be useful for client code that needs to pass the value to an external tool that needs to find the same toolchain in the NDK. Leave it empty for a standalone toolchain. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com> | 18 November 2016, 15:02:57 UTC |
4cddb46 | Brad King | 15 November 2016, 15:13:37 UTC | Merge branch 'armcc-response-file-flag' into release | 15 November 2016, 15:13:37 UTC |
d608e85 | Ben Boeckel | 14 November 2016, 14:06:12 UTC | ARMCC: Fix flag used for response files ARMCC does not use the `@` sigil to indicate response files, but instead the `--via=` flag. See the documentation here: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0491h/CHDCIEGC.html Fixes: #16425 | 15 November 2016, 14:31:33 UTC |
afb4a22 | Brad King | 14 November 2016, 16:24:56 UTC | Merge branch 'cmake-server-fix-16423' into release | 14 November 2016, 16:24:56 UTC |
516a2cd | Tobias Hunger | 14 November 2016, 15:54:04 UTC | server-mode: Reset GlobalGenerator before configure This is what cmake-gui also does to avoid CMake crashing on repeated attempts to configure it. Fixes #16423. | 14 November 2016, 16:06:37 UTC |
04dce5f | Brad King | 14 November 2016, 15:19:12 UTC | Merge branch 'cmake-server-fix-16422' into release | 14 November 2016, 15:19:12 UTC |
d0a707b | Tobias Hunger | 14 November 2016, 14:38:05 UTC | server-mode: Prevent possible crash when watching directories The `filename` passed by libuv may be `nullptr`, so handle that explicitly. Fixes: #16422 | 14 November 2016, 15:18:44 UTC |
7f0470c | Brad King | 14 November 2016, 15:14:13 UTC | Merge branch 'FindBISON-fix-rebuild' into release | 14 November 2016, 15:14:13 UTC |
c087072 | Brad King | 14 November 2016, 15:03:15 UTC | FindBISON: Do not rebuild every time when not VERBOSE Since commit v3.7.0-rc1~348^2~3 (FindBISON: Change usage of [VERBOSE <file>] to [VERBOSE [<file>]], 2016-07-16) we always list the VERBOSE output file as an output of our custom command even if the option is not used. This causes the rule to re-run every time (e.g. with Ninja). Revert one hunk from that change (that looks incorrect) to fix it. Closes: #16426 | 14 November 2016, 15:06:48 UTC |
5cfc2e9 | Brad King | 11 November 2016, 14:24:18 UTC | CMake 3.7.0 | 11 November 2016, 14:24:18 UTC |
dc083f9 | Brad King | 09 November 2016, 16:26:04 UTC | Merge branch 'autorcc-only-no-rebuild' into release | 09 November 2016, 16:26:04 UTC |
e4232b8 | Brad King | 09 November 2016, 16:05:45 UTC | QtAutogen: Do not re-generate AUTORCC outputs on every build Refactoring in commit v3.6.0-rc1~134^2~10 (Autogen: Split out moc file generation code to dedicated method, 2016-04-18) removed the unconditional creation of the `<target>_automoc.cpp` file. Now it is generated only when `AUTOMOC` is enabled. However, if this file is not created then our internal `GenerateAll` setting is enabled on every build, causing `AUTORCC` to re-generate its file(s) every time. Fix the `GenerateAll` setting to be used only for when autogen settings change. The old logic was left from when we had only automoc. Closes: #16413 | 09 November 2016, 16:22:07 UTC |
51112aa | Brad King | 08 November 2016, 14:48:33 UTC | Merge branch 'pkgconfig_imported_target' into release | 08 November 2016, 14:48:33 UTC |
61898de | Florent Castelli | 04 November 2016, 22:35:27 UTC | PkgConfig: Fix FindPkgConfig imported target feature The options to the find_library call to create the imported target used a literal string "HINTS /path NO_DEFAULT_PATH" instead of a list of options. This resulted in never finding any library in my testing. | 04 November 2016, 22:35:27 UTC |
adf5f25 | Brad King | 04 November 2016, 12:30:22 UTC | CMake 3.7.0-rc3 | 04 November 2016, 12:30:22 UTC |
8b75290 | Brad King | 03 November 2016, 13:30:29 UTC | Merge branch 'cpackifw-search-algorithm' into release | 03 November 2016, 13:30:29 UTC |
20cc76c | Konstantin Podsvirov | 02 November 2016, 20:15:07 UTC | CPackIFW: Update search to find QtIFW distributed with QtSDK Also avoid CMP0007 warnings. | 03 November 2016, 13:28:15 UTC |
5f7f0ab | Brad King | 02 November 2016, 13:07:53 UTC | Merge branch 'FindHDF5-restore-default-C' into release | 02 November 2016, 13:07:53 UTC |
ff3ccc1 | Brad King | 02 November 2016, 13:03:56 UTC | FindHDF5: Restore pre-3.6 behavior of finding only C by default Refactoring in commit v3.6.0-rc1~72^2 (HDF5: Rework component searching to correctly find HL for all bindings, 2016-05-12) changed the default behavior from finding only the C bindings to finding everything for the enabled languages. Restore the original behavior for compatibility and because many projects need only the C bindings. Closes: #16397 | 02 November 2016, 13:06:56 UTC |
c555eca | Brad King | 02 November 2016, 12:52:23 UTC | Merge branch 'doc-cmake-qt-fixes' into release | 02 November 2016, 12:52:23 UTC |
1c52e65 | Thiago M. de C. Marques | 01 November 2016, 21:04:13 UTC | Help: Update example Qt 5 find_package call to add missing component Running CMake on it caused the following error: error: Target "publisher" links to target "Qt5::DBus" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Add the missing DBus component. | 02 November 2016, 12:51:57 UTC |
4c802a3 | Marcus D. Hanwell | 01 November 2016, 16:44:34 UTC | Help: Update example Qt 5 find_package call to use COMPONENTS | 02 November 2016, 12:51:53 UTC |
2857ca8 | Brad King | 02 November 2016, 12:44:22 UTC | Merge branch 'cpack-doc-typos' into release | 02 November 2016, 12:44:22 UTC |
503766f | Brad King | 02 November 2016, 12:44:16 UTC | Merge branch 'fix-macos-sysroot' into release | 02 November 2016, 12:44:16 UTC |
4ab3b0c | Alex Turbov | 02 November 2016, 08:53:55 UTC | CPackRPM: Fix incorrect variable name in documentation `CPACK_RPM_COMPONENT_INSTALL` is the correct variable to set to enable component packaging. `CPACK_RPM_PACKAGE_COMPONENT` is just set to a component name when CPack calls corresponding installer. | 02 November 2016, 12:42:56 UTC |
e6460e7 | Alex Turbov | 02 November 2016, 08:53:55 UTC | CPackDeb: Fix incorrect variable name in documentation `CPACK_DEB_COMPONENT_INSTALL` is the correct variable to set to enable component packaging. `CPACK_DEB_PACKAGE_COMPONENT` is just set to a component name when CPack calls corresponding installer. | 02 November 2016, 12:42:44 UTC |
c75b891 | Alex Turbov | 01 November 2016, 14:07:22 UTC | CPackDeb: fix copy-n-paste typos in documentation | 01 November 2016, 14:13:20 UTC |
9350419 | Gregor Jasny | 31 October 2016, 09:29:44 UTC | Darwin: Remove deployment target version check Starting with Xcode 8 the SDK folder also contains an unversioned entry: MacOSX.sdk MacOSX10.12.sdk -> MacOSX.sdk If this unversioned path is used CMake cannot detect the SDK version. Furthermore, querying the SDK version via xcodebuild -sdk <sysroot> -version Path gives bogus results for the Command Line Tools installed into `/`. The OS X deployment target version and SDK version are not as tied as they once were, so this check is now more trouble than it is worth. Simply remove it. Closes: #16323 | 01 November 2016, 13:37:49 UTC |
542d52f | Gregor Jasny | 31 October 2016, 09:25:38 UTC | Revert "Xcode: Convert maybe unversioned OSX sysroot into versioned SDK path" Revert commit v3.7.0-rc1~48^2 (Xcode: Convert maybe unversioned OSX sysroot into versioned SDK path, 2016-09-25). The replacement of `else()` with `if(CMAKE_OSX_SYSROOT)` defeats the prior handling of `if("x${CMAKE_OSX_SYSROOT}" MATCHES "/")`. This causes the combination -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING="" -DCMAKE_OSX_SYSROOT:STRING=/ to not be honored and `-isysroot` to be emitted as a compiler flag universally. We will need another solution to the problem the now-reverted commit was meant to address. Closes: #16394 | 01 November 2016, 13:31:08 UTC |
77413bc | Brad King | 28 October 2016, 19:20:30 UTC | Merge branch 'FindMatlab-fix-typo' into release | 28 October 2016, 19:20:30 UTC |
f2de707 | Matthew Woehlke | 28 October 2016, 17:40:58 UTC | FindMatlab: Fix typo in matlab_add_unit_test implementation Fix typo in variable used to communicate between matlab_add_unit_test and its helper script MatlabTestsRedirect.cmake that was introduced in commit v3.7.0-rc1~116^2 (FindMatlab: Extend matlab_add_unit_test to run arbitrary test code, 2016-08-30). | 28 October 2016, 19:19:24 UTC |
1e57461 | Brad King | 28 October 2016, 14:42:23 UTC | Merge branch 'FindMatlab-9.1' into release | 28 October 2016, 14:42:23 UTC |
e29f33c | Francesco Romano | 28 October 2016, 09:47:16 UTC | FindMatlab: Add support for Matlab 2016b (9.1) | 28 October 2016, 14:41:43 UTC |
a316f5f | Brad King | 28 October 2016, 12:27:21 UTC | Merge branch 'cmake-server-handshake-improvements' into release | 28 October 2016, 12:27:21 UTC |
42ccbee | Tobias Hunger | 27 October 2016, 09:48:31 UTC | server-mode: Handle generator toolset and platform in handshake | 28 October 2016, 11:46:15 UTC |
d792491 | Tobias Hunger | 27 October 2016, 09:34:45 UTC | cmake-server: Better error reporting during handshake Catch more problematic input during handshake and report failure. These were caught before when trying to configure, but it is way better to get these reports early. | 27 October 2016, 18:18:42 UTC |
075cc0f | Brad King | 26 October 2016, 13:22:13 UTC | Merge branch 'intel-17-features' into release | 26 October 2016, 13:22:13 UTC |
554b4f9 | Brad King | 26 October 2016, 13:10:24 UTC | Features: Record features for Intel C++ 17 on UNIX Issue: #16384 | 26 October 2016, 13:18:38 UTC |
4ec0329 | Brad King | 24 October 2016, 18:36:50 UTC | Merge branch 'cmake-server-message-quoting' into release | 24 October 2016, 18:36:50 UTC |
de21e56 | Brad King | 24 October 2016, 18:36:46 UTC | Merge branch 'intel-compile-features-windows' into release | 24 October 2016, 18:36:46 UTC |
9b8dc79 | Brad King | 24 October 2016, 14:44:44 UTC | cmake-server: Change message wrapper to avoid ambiguity with content Change our message wrapper from [== CMake Server ==[ ... ]== CMake Server ==] to [== "CMake Server" ==[ ... ]== "CMake Server" ==] to guarantee that no JSON content can ever contain the ending string (because it would be encoded as `]== \"CMake Server\" ==]`). | 24 October 2016, 18:36:13 UTC |
881585f | Brad King | 24 October 2016, 18:16:22 UTC | Intel: Fix compiler extension flags on Windows The extension flags enabled by commit v3.6.0-rc1~120^2~1 (Features: Record standard flags for Intel C/C++ on Windows, 2016-04-18) of the form `-Qstd=gnu++11` are not supported by the Intel C/C++ Compiler for Windows. Fall back to using the non-extension form of the flags. Issue: #16384 | 24 October 2016, 18:29:40 UTC |
69a7309 | Brad King | 24 October 2016, 17:50:10 UTC | Merge branch 'android-pic' into release | 24 October 2016, 17:50:10 UTC |
4c272ad | Brad King | 24 October 2016, 15:45:18 UTC | Android: Link position-independent executables with proper flags Add `-fPIE -pie` to the default executable link flags when `CMAKE_POSITION_INDEPENDENT_CODE` is enabled. This is required by Android 16 and above for executables to run on the device. Closes: #16382 | 24 October 2016, 15:45:18 UTC |
6205f17 | Brad King | 24 October 2016, 15:40:53 UTC | Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically If the toolchain file or cache does not set this, enable it automatically based on the Android API version. Versions 16 and above expect position independent code. Use the main `CMAKE_POSITION_INDEPENDENT_CODE` setting in favor of hard-coding `-fpic` or `-fPIC` in the compiler flags for each ABI. This allows CMake to use `-fpie` or `-fPIE` as needed when sources are meant for executables, and `-fpic` or `-fPIC` for other sources. | 24 October 2016, 15:40:53 UTC |
6cd02f0 | Brad King | 24 October 2016, 14:31:14 UTC | Merge branch 'backport-ninja-subdir-binary-dir' into release | 24 October 2016, 14:31:14 UTC |
42db2eb | Alexis Murzeau | 23 October 2016, 16:58:28 UTC | Ninja: Use binary dir for `$subdir/all` targets The targets added by commit v3.6.0-rc1~240^2~2 (Ninja: Add `$subdir/all` targets, 2016-03-11) use as `$subdir` the relative path from the top of the source tree to the current source directory. This is not correct when using `add_subdirectory(test test_bin)`. Instead we need to use the relative path from the top of the binary tree to the current binary directory as was done for related targets by commit v3.7.0-rc1~268^2 (Ninja: Add `$subdir/{test,install,package}` targets, 2016-08-05). | 24 October 2016, 13:49:23 UTC |
22ef704 | Brad King | 21 October 2016, 17:38:54 UTC | Merge branch 'doc-cmake-server-typos' into release | 21 October 2016, 17:38:54 UTC |
4818969 | Tobias Hunger | 21 October 2016, 17:11:41 UTC | Help: Fix cmake-server documentation Some information was not updated to reflect the latest implementation. Reported-by: Sylvain Joubert <joubert.sy@gmail.com> | 21 October 2016, 17:37:10 UTC |
6bc03a2 | Brad King | 21 October 2016, 17:26:56 UTC | Merge branch 'android-link-exe' into release | 21 October 2016, 17:26:56 UTC |
295c8ef | Brad King | 21 October 2016, 13:12:34 UTC | Android: Add missing link flags for device executables See `${ndk}/build/core/default-build-commands.mk` for link flags the NDK uses for executables. Add them to our default executable link flags. Suppress `nocopyreloc` on `arm64-v8a` because it does not work with some STL types. Closes: #16380 | 21 October 2016, 14:43:45 UTC |
914874f | Brad King | 21 October 2016, 12:43:25 UTC | Merge branch 'android-armeabi-c++_static' into release | 21 October 2016, 12:43:25 UTC |
43f4326 | Brad King | 21 October 2016, 12:23:38 UTC | Android: Fix support for armeabi with c++_static Add missing "unwind" and "atomic" libraries needed for this combination. See `${ndk}/sources/cxx-stl/llvm-libc++/libs/armeabi/libc++.a` for the libraries the NDK uses. Issue: #16380 | 21 October 2016, 12:42:25 UTC |
876da11 | Brad King | 19 October 2016, 12:53:08 UTC | CMake 3.7.0-rc2 | 19 October 2016, 12:53:08 UTC |
a0c539b | Brad King | 18 October 2016, 18:24:34 UTC | Merge branch 'fix-Android-NsightTegra' into release | 18 October 2016, 18:24:34 UTC |
9af881d | Brad King | 18 October 2016, 17:31:16 UTC | Tests: Add VSNsightTegra test for VS 2015 | 18 October 2016, 17:32:50 UTC |
6739d24 | Brad King | 18 October 2016, 17:25:35 UTC | Tests: Fix VSNsightTegra test on Android NDK r12b Test with architecture `armv7-a` instead of `armv7-a-hard` because the latter is supporte supported only with NDK revisions r9c to r11c. | 18 October 2016, 17:32:50 UTC |
06c3961 | Brad King | 18 October 2016, 17:03:34 UTC | VS: Fix NVIDIA Nsight Tegra Visual Studio Edition support The guard added by commit v3.7.0-rc1~229^2~17 (Android: Suppress new functionality with Nsight Tegra in VS IDE builds, 2016-06-02) to `Modules/Platform/Android-Determine.cmake` does not work in that location because `CMAKE_VS_PLATFORM_NAME` is not set until after the module is loaded. Change this particular guard to test for the Visual Studio generator instead. If in the future we add support for using Visual Studio for Android without Nsight Tegra then something more will be needed, but this is good enough for now. Closes: #16371 | 18 October 2016, 17:32:50 UTC |
0749991 | Brad King | 18 October 2016, 17:12:02 UTC | Merge branch 'cmake-server-pipe-mode-fix' into release | 18 October 2016, 17:12:02 UTC |
e3cb311 | Brad King | 18 October 2016, 16:56:13 UTC | Merge branch 'external-project-source-subdir-usage' into release | 18 October 2016, 16:56:13 UTC |
615f3ed | Ben Boeckel | 18 October 2016, 14:55:24 UTC | ExternalProject: make SOURCE_SUBDIR directly appendable This allows it to be used in expansions without being conditional based on its value. | 18 October 2016, 16:51:38 UTC |