summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ExternalProject-cmd-poisoning'Brad King2016-11-181-68/+65
|\ | | | | | | | | 02445138 ExternalProject: Do not trip over pre-existing 'cmd' variable
| * ExternalProject: Do not trip over pre-existing 'cmd' variableKarsten Sperling2016-11-171-68/+65
| | | | | | | | | | | | | | | | | | Callers of `_ep_get_build_command` do not initialize the output variable they pass and expect the function to unconditionally set it. Revise the function to not check its own output variable. Otherwise if a `cmd` variable happens to be set when `ExternalProject_Add` is called then it will be erroneously used as the default `BUILD`, `TEST`, and `INSTALL` command.
* | Merge topic 'android-info-variables'Brad King2016-11-173-2/+29
|\ \ | |/ |/| | | | | | | | | f7c5e970 Android: Add CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE d95e6dff Android: Add CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG variable 3d42a72b Android: Always set CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION
| * Android: Add CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINEBrad King2016-11-143-0/+11
| | | | | | | | | | | | | | | | 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>
| * Android: Add CMAKE_ANDROID_NDK_TOOLCHAIN_HOST_TAG variableBrad King2016-11-143-0/+4
| | | | | | | | | | | | | | | | | | 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>
| * Android: Always set CMAKE_ANDROID_NDK_TOOLCHAIN_VERSIONBrad King2016-11-143-2/+14
| | | | | | | | | | | | | | | | | | 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>
* | Merge topic 'msvc-no-explicit-_DEBUG'Brad King2016-11-161-2/+2
|\ \ | | | | | | | | | | | | 6d0b5ff6 MSVC: Do not define _DEBUG explicitly when using /MDd
| * | MSVC: Do not define _DEBUG explicitly when using /MDdBrad King2016-11-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | With the latter flag the compiler automatically defines `_DEBUG`: https://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx Closes: #16430
* | | Merge topic 'armcc-response-file-flag'Brad King2016-11-161-0/+1
|\ \ \ | |/ / |/| | | | | | | | d608e85c ARMCC: Fix flag used for response files
| * | ARMCC: Fix flag used for response filesBen Boeckel2016-11-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge topic 'add-SHA-3'Brad King2016-11-153-4/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f636d1e7 Help: Add notes for topic 'add-SHA-3' cb5dba8e Tests: Add SHA-3 algorithm coverage to CPack checksum test a9fa6099 ExternalProject: Add support for SHA-3 algorithms b4ffd26f ExternalData: Add support for SHA-3 algorithms 60939702 file: Add support for SHA-3 algorithms 92f95aed string: Add support for SHA-3 algorithms c326209f cmCryptoHash: Add support for SHA-3 algorithms 979e8ba6 Help: De-duplicate and spell out supported hash algorithms 7a79f7e3 librhash: Activate SHA-3 implementation 87584b5e Merge branch 'upstream-librhash' into add-SHA-3 7fcbd47e librhash 2016-11-06 (de79828d) c50c32a3 librhash: Update import script to add SHA-3 implementation
| * | | ExternalProject: Add support for SHA-3 algorithmsBrad King2016-11-111-1/+1
| | | |
| * | | ExternalData: Add support for SHA-3 algorithmsBrad King2016-11-111-2/+7
| | | |
| * | | Help: De-duplicate and spell out supported hash algorithmsBrad King2016-11-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Spell out the supported algorithms in a definition list in the `string(<HASH>)` command documentation. Revise the `file(<HASH>)` command and CPack module documentation to reference it instead of duplicating the list.
* | | | Merge topic 'UseSWIG_USE_BUILD_SHARED_LIBS'Brad King2016-11-151-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | d5b56dd1 UseSWIG: Add USE_BUILD_SHARED_LIBS to accepted values for the TYPE arg
| * | | | UseSWIG: Add USE_BUILD_SHARED_LIBS to accepted values for the TYPE argDaniele E. Domenichelli2016-11-141-1/+3
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new signature is SWIG_ADD_LIBRARY(<name> [TYPE <SHARED|MODULE|STATIC|USE_BUILD_SHARED_LIBS>] LANGUAGE <language> SOURCES <file>... )
* | | | Merge topic 'ExternalProject-fix-UPDATE_DISCONNECTED'Brad King2016-11-151-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 4deaa25f ExternalProject: Fix UPDATE_DISCONNECTED with empty update steps
| * | | | ExternalProject: Fix UPDATE_DISCONNECTED with empty update stepsBrad King2016-11-151-2/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `UPDATE_DISCONNECTED` is enabled the post-update steps unconditionally depend on a `skip-update` step instead of `update`. Make `skip-update` available whenever `UPDATE_DISCONNECTED` is enabled, whether there is a real update step or not. Closes: #16428
* | | | Merge topic 'FindBISON-fix-rebuild'Brad King2016-11-151-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | c087072e FindBISON: Do not rebuild every time when not VERBOSE
| * | | FindBISON: Do not rebuild every time when not VERBOSEBrad King2016-11-141-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge topic 'swig_add_library'Brad King2016-11-141-9/+47
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a57e7630 Help: Add notes for topic 'swig_add_library' 013193d0 SwigTest: Update for swig_add_library and add lua example ec1d585c UseSWIG: Do not set PREFIX property for SHARED and STATIC lua libraries 4c5b3c1c UseSWIG: Do not set NO_SONAME property for SHARED and STATIC libraries d0a9d8bb UseSWIG: Add swig_add_library macro.
| * | | UseSWIG: Do not set PREFIX property for SHARED and STATIC lua librariesDaniele E. Domenichelli2016-11-111-1/+3
| | | |
| * | | UseSWIG: Do not set NO_SONAME property for SHARED and STATIC librariesDaniele E. Domenichelli2016-11-111-1/+3
| | | |
| * | | UseSWIG: Add swig_add_library macro.Daniele E. Domenichelli2016-11-111-7/+41
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | swig_add_module does not allow to set the type for the library and instead always create the library as MODULE. This patch adds the new swig_add_library command with this signature: SWIG_ADD_LIBRARY(<name> [TYPE <SHARED|MODULE|STATIC>] LANGUAGE <language> SOURCES <file>... ) The swig_add_module is deprecated in favour of swig_add_library. Closes: #16415
* | | Merge topic 'vs_targets_file_as_library'Brad King2016-11-111-0/+1
|\ \ \ | | | | | | | | | | | | | | | | 883bd34a VS: Treat libraries ending in `.targets` as msbuild imports
| * | | VS: Treat libraries ending in `.targets` as msbuild importsSoji Yamakawa2016-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate `<Import Project="..." .../>` to import the `.targets` files into `.vcxproj` files. Closes: #16340
* | | | Merge topic 'fuchsia-platform'Brad King2016-11-111-0/+25
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 3cfad71c Add Fuchsia platform module
| * | | | Add Fuchsia platform modulePetr Hosek2016-11-091-0/+25
| | |/ / | |/| | | | | | | | | | | | | | Fuchsia is a new operating system. This module provides a minimal setup needed to use Fuchsia toolchain.
* | | | Merge topic 'ExternalProject-GIT_CONFIG'Brad King2016-11-111-2/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 2be9d85a ExternalProject: Allow passing config flags to git clone
| * | | | ExternalProject: Allow passing config flags to git cloneChristian Fetzer2016-11-091-2/+12
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Add a `GIT_CONFIG` parameter that allows to specify `--config` flags that are passed to the git clone command. This can be used to specify for example `core.autocrlf=true`. The `--config` parameter is supported since Git 1.7.7.
* | | | Merge topic 'intel-compile-features'Brad King2016-11-111-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | 5e428389 Features: Detect Intel C++14 mode more reliably 1f848031 Features: Suppress c_static_assert test coverage on Intel <= 15
| * | | | Features: Detect Intel C++14 mode more reliablyBrad King2016-11-101-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `__cplusplus` macro is not defined to the language level reliably. When simulating MSVC it is always set to `1`. When simulating GCC it is set to the lower value of the current language level and the maximum level supported by the simulated version of GCC (from observation). For MSVC we already used a combination of `__INTEL_CXX11_MODE__` and `__cpp_aggregate_nsdmi` to detect C++14 mode. Extend this for general use by removing the condition on `_MSC_VER`.
* | | | Features: Fix standards and features for Intel 15 on WindowsBrad King2016-11-102-13/+19
|/ / / | | | | | | | | | | | | The Intel 15 compiler for Windows does not support the same set of standards and features as the same version for other platforms.
* | | Merge topic 'FindSDL_preventGrowingCacheVar'Brad King2016-11-091-2/+5
|\ \ \ | | | | | | | | | | | | | | | | f18b18b7 FindSDL: Prevent unbounded growth of SDL_LIBRARY_TEMP variable
| * | | FindSDL: Prevent unbounded growth of SDL_LIBRARY_TEMP variableCraig Scott2016-11-081-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Just modify the cache var property rather than using set() to hide it. Otherwise the set() includes other values added to the temporary list. Closes: #16406
* | | | Merge topic 'pkgconfig_imported_target'Brad King2016-11-091-1/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | 61898de6 PkgConfig: Fix FindPkgConfig imported target feature
| * | | PkgConfig: Fix FindPkgConfig imported target featureFlorent Castelli2016-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Merge branch 'cpackifw-search-algorithm' into releaseBrad King2016-11-031-21/+47
| |\ \ \
| * \ \ \ Merge branch 'FindHDF5-restore-default-C' into releaseBrad King2016-11-021-10/+2
| |\ \ \ \
| * \ \ \ \ Merge branch 'cpack-doc-typos' into releaseBrad King2016-11-022-7/+7
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'fix-macos-sysroot' into releaseBrad King2016-11-022-30/+2
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'FindMatlab-fix-typo' into releaseBrad King2016-10-282-3/+3
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'FindMatlab-9.1' into releaseBrad King2016-10-281-0/+1
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'intel-17-features' into releaseBrad King2016-10-261-3/+3
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'intel-compile-features-windows' into releaseBrad King2016-10-242-6/+12
| |\ \ \ \ \ \ \ \ \ \
* | \ \ \ \ \ \ \ \ \ \ Merge topic 'cpack-rpm-omit-unsupported-tags'Brad King2016-11-081-0/+24
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b34c0457 Release text for omitting unsupported tags topic cd042330 CPack/RPM test for Suggests tag 228280d8 CPack/RPM prevent special tags from being removed d8e83ab9 CPack/RPM omit unsupported tags
| * | | | | | | | | | | | CPack/RPM prevent special tags from being removedDomen Vrankar2016-11-051-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some tags are not listed by rpmbuild querytags even though they are supported. Ignore those tags during the removal of unsupported tags.
| * | | | | | | | | | | | CPack/RPM omit unsupported tagsAlexander Adam2016-11-051-0/+20
| | |_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Omit tags that are not supported by provided rpmbuild as some tags get added/removed in later versions of the tool. Closes: #13423
* | | | | | | | | | | | FortranCInterface: Make mangling detection robust to PIC FortranBrad King2016-11-041-0/+3
|/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using a Fortran compiler that produces PIC executables by default with a C compiler that does not produce PIC by default then the mangling detection executable fails to link. Explicitly enable PIC for the C compiler just in case the Fortran compiler needs it to link. Issue: #16405
* | | | | | | | | | | Merge topic 'cpackifw-search-algorithm'Brad King2016-11-041-21/+47
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20cc76c9 CPackIFW: Update search to find QtIFW distributed with QtSDK