| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
24d73fa0 GNUC: also check __GNUG__ define when checking for g++
|
| |
| |
| |
| |
| |
| |
| | |
At least the scratchbox compiler for the N900, which basically is a gcc 4.2,
sets only __GNUG__ in C++ mode, but not __GNUC__. It does indeed set
__GNUC_MINOR__ and __GNUC_PATCHLEVEL__. Extend the compiler detection code for
GNU compilers in C++ mode to look at __GNUG__ in case __GNUC__ is absent.
|
|\ \
| | |
| | |
| | |
| | | |
c1f3086d FindCUDA: Enable CUDA_SELECT_NVCC_ARCH_FLAGS Auto for MSVC
|
| | |
| | |
| | |
| | | |
Fixes: #16525
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
796dea67 FindPkgConfig: Recheck pkg-config on parameter change.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently, once pkg_check_modules succeeds, it will never call
_pkg_check_modules_internal again. That means that if the parameters
to pkg_check_modules are changed, cmake will be called to reconfigure,
but nothing will change. This change is to store the full string of
arguments to pkg_check_modules and override the FOUND optimization so
that the arguments are reevaluated when modified.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
4bc2c16b FindGTK2: Add unit test to check variables when run twice
9702b3ee FindGTK2: Fix GTK2_LIBRARIES and GTK2_TARGETS when called twice
|
| | |/ /
| |/| |
| | | |
| | | | |
Closes: #16582
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | | |
2759e225 FindLua: try to find library according to version from header
|
| | |/
| |/|
| | |
| | |
| | | |
Patch-by: fft on gitlab.kitware.com
Issue: #15756
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
e6eaf25c FindMPI: Strip quotes from include path and convert to CMake path format
39bf93c8 FindMPI: Add Intel MPI wrapper names on Windows
|
| | | | |
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
e5089c56 CPackIFW: Add some options
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The cpack_ifw_configure_component_group command gained options:
- DEPENDS.
The cpack_ifw_configure_component and
cpack_ifw_configure_component_group commands gained options:
- REQUIRES_ADMIN_RIGHTS;
- UPDATE_TEXT;
- SORTING_PRIORITY; # New name for PRIORITY
- DEPENDENCIES; # Alias for DEPENDS
- AUTO_DEPEND_ON;
- TRANSLATIONS.
For both commands PRIORITY option now is depreceted. Please
use SORTING_PRIORITY instead.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
df3353d1 CUDA: set linker preference between C and C++
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
624709c8 CPack/STGZ: minimalistic packages test
1c93eb68 CPack/STGZ prefer pax for extraction
|
| | |
| | |
| | |
| | |
| | |
| | | |
pax is part of POSIX while tar requires
GNU extensions that are not part of some
UNIX distros
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
1ee0ffab Android: Pass sysroot include directory explicitly
1806e011 Android: Fix c++_{static,shared} support include directory order
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The NDK's `build/core/definitions.mk` file adds compiler flags:
-isystem $$(call host-path,$$(SYSROOT_INC)/usr/include)
This passes the system include directory explicitly even though it is
implied by `--sysroot=`. The explicit flag places the directory
earlier in the include path than the sysroot-default one would be.
Teach CMake to add this include directory at the end of the standard
include path for Android. Otherwise the toolchain's `include-fixed/`
directory may replace system headers with "fixed" copies that are not
from the same API version.
Closes: #16536
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The NDK's own build files:
<ndk>/build/tools/build-cxx-stl.sh
<ndk>/build/cmake/android.toolchain.cmake
for the `c++_static` and `c++_shared` build types add the
`<ndk>/sources/android/support/include` include directory
between the two `<ndk>/sources/cxx-stl/llvm-libc++*` directories.
Re-order our own include directory generation to match.
Issue: #16536
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
1c2ac0b8 Qt4: Only change timestamp on generated .pro files if content changes
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In qt4_create_translation() use file(GENERATE ...) instead of
file(WRITE ...). This also removes a possible CMP0058 warning
because file(GENERATE) tells the Ninja generator about the files
it provides.
Fixes: #16518
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
adc04afe FindLua: Add dl library to Lua static library linking
|
| | |/
| |/|
| | |
| | |
| | | |
If a Lua library is compiled from source as `liblua.a` its link
dependency on `dl` must be satisfied explicitly.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
0ed885f7 ExternalProject: Restore case-insensitive download hash check
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Refactoring in commit v3.6.0-rc1~47^2 (ExternalProject: Re-implement
download logic as a dedicated script, 2016-05-19) accidentally made the
download hash check case-sensitive. The hash comparison is done in hex
strings, so restore case-insensitive comparison since the case of the
hex digits does not matter.
Fixes: #16568
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
3fc4a2b7 QtIFW: Added new options to QtIFW cpack generator for modifying wizard style
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
cdf7e5d8 FindICU: Add 'include' to the path suffixes
|
| |/ /
| | |
| | |
| | | |
Without this FindICU doesn't recognise the installation within homebrew.
|
| |/
|/|
| |
| |
| | |
On Windows, the `LOCATION` property gets the path to the `.dll` rather
than the `.lib` which is unsuitable for linking.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
397b8546 VS: added documentation for C# support
a7dd8e66 VS: added support for C# (for Visual Studio 2010, 2012, 2013, 2015)
6fda6005 VS: renamed target property VS_USER_PROPS_CXX to VS_USER_PROPS
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
8d1f9e5b CUDA: Now pass correct FLAGS when device link cuda executables.
dc5051f1 CUDA: Test that CUDA flags are used when device linking executables.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously we had a two issues when building cuda executables
that required separable compilation. The first was that we didn't
propagate FLAGS causing any -arch / -gencode flags to be dropped, and
secondly generators such as ninja would use the CXX language flags
instead of CUDA when the executable was mixed language.
|
|\ \ \
| |_|/
|/| |
| | |
| | | |
9fe399e3 Features: activate C++11 support for Clang 3.1+
|
| |/ |
|
|/
|
|
|
| |
CheckFunctionExists has some severe limitations that are overcome by
CheckSymbolExists. Document them and suggest the alternative.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
f9a810f7 CUDA: Enable CudaOnly.SeparateCompilation test runtime calls
5599d858 CUDA: Port test cases to Windows with MSVC host compiler
11551702 CUDA: Populate NVIDIA compiler information on Windows
5365421e CUDA: Detect implicit link information on Windows
522b913f CUDA: Find MSVC binutils on Windows
02582b91 CUDA: Populate compiler PDB placeholder during device linking
d470cb70 CUDA: Use `.obj` object file extension on Windows
a2e80cb0 CUDA: Detect MSVC architecture id
65c1e012 CUDA: Detect use of MSVC host compiler
945dd207 CUDA: Allow platform files to set device linking rules
95420cea CMakeParseImplicitLinkInfo: Add support for MSVC invoked by CUDA nvcc
|
| |
| |
| |
| |
| |
| |
| | |
Port Windows-specific compilation and linking rules over from the
`Platform/Windows-MSVC` module and adapt it for NVIDIA CUDA. On Windows
nvcc and its host compiler (MSVC) do not understand or use options like
`-fPIC` or `-std=`, so condition those out.
|
| |
| |
| |
| |
| | |
The `nvcc -v` output on Windows uses response files, so load the one we
need to extract the full link line.
|
| |
| |
| |
| |
| | |
On Windows the host link launcher is just `link.exe`. Find and use that
instead of trying to extract the launcher from the `nvcc -v` output.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Report it in `CMAKE_CUDA_SIMULATE_{ID,VERSION}`.
|
| |
| |
| |
| |
| | |
Condition the default settings on the rule variables not already being
set.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
e0ed1de4 InstallRequiredSystemLibraries: Distinguish UCRT install configurations
|