| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
- Unify path handling: Rather than repeat the same logic for each
individual path create two macros which can be used throughout
the module.
- Capitalise helpstrings to match the conventions used by the
standard CMake properties
|
|\
| |
| |
| |
| | |
027ce359 FindOpenGL: Provide imported targets for GL and GLU
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Create OpenGL::GL and OpenGL::GLU imported targets using the locations
found.
This feature was originally added by commit v3.1.0-rc1~420^2~2
(FindOpenGL: Provide imported targets for GL and GLU, 2014-05-31) but
had to be reverted by commit v3.1.0-rc3~10^2 (FindOpenGL: Revert support
for imported targets, 2014-12-01) due to issue #15267. Since then we
added support for `IMPORTED_LIBNAME` to interface libraries, so use it
to handle the case where we have only the library name without an
absolute path.
Inspired-by: Philipp Möller <bootsarehax@googlemail.com>
Closes: #15267
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
97c1e569 Help: Add release note for C++ 17 support
85c8e652 Features: Activate C++ 17 support for AppleClang 6.1+
8084f7a6 Features: Activate C++ 17 support for Clang 3.5+
24e29d41 Features: Activate C++ 17 support for GNU 5.1+
ae1a6815 Features: Add infrastructure for C++ 17 language standard
684e4d20 Features: Make feature recording conditions more consistent
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Issue: #16468
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Condition all calls to `_record_compiler_features_{c,cxx}` on
`_result EQUAL 0` so that adding new language standards later does
not need to update them. Avoid some duplicate compiler version
checks by conditioning C11 and CXX14 feature recording on the
existence of `CMAKE_{C11,CXX14}_STANDARD_COMPILE_OPTION` (whose
setting already used the version check).
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
4e4b786e CPack/RPM CPACK_RPM_USER_FILELIST change release note
a5a6f61b CPackRPM now supports multiple directives in CPACK_RPM_USER_FILELIST
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
* In older version "%dir %attr(-, root, root) foo" would put "%dir foo"
in the final spec file.
* Also added comment to describe this and advise not not to add trailing
slashes to directories in USER_FILELIST.
* Includes test in RunCMake CPack which now passes.
|
|/ /
| |
| |
| |
| |
| |
| | |
Split the arguments off of the `ASM${ASM_DIALECT}` environment variable
as is done for `CC` and other compiler variables. This fixes using CMake
when `ASM*` is used to pass additional target flags, e.g. when one uses
`ASM=${CC}`.
|
|\ \
| |/
|/|
| |
| | |
571721c5 PGI: Pass macOS-specific link flags directly to linker
|
| |
| |
| |
| |
| |
| |
| | |
The PGI compiler on macOS does not support some macOS-specific flags so
pass them through `-Wl,` to the linker directly.
Issue: #16457
|
|\ \
| | |
| | |
| | |
| | | |
f7c2a803 CMakeGraphVizOptions: Minor improvements to docs.
|
| |/
| |
| |
| |
| | |
* Add `GRAPHVIZ_GRAPH_TYPE` options.
* Correct inaccurate usage info.
|
|\ \
| | |
| | |
| | |
| | | |
9db0dfd7 FindPythonLibs: Tolerate a non-absolute PYTHON_EXECUTABLE
|
| |/
| |
| |
| |
| |
| |
| |
| | |
The `PYTHON_EXECUTABLE` variable normally contains an absolute path, but
tolerate cases when it does not without calling `get_filename_component`
with an incorrect number of arguments.
Closes: #16452
|
|\ \
| | |
| | |
| | |
| | | |
88ecfd8b CPackIFW: Add some options
|
| |/
| |
| |
| |
| |
| |
| |
| | |
New options is: DEFAULT, VIRTUAL, FORCED_INSTALLATION,
DISPLAY_NAME, DESCRIPTION and RELEASE_DATE.
Options added for both cpack_ifw_configure_component and
cpack_ifw_configure_component_group command.
|
|\ \
| | |
| | |
| | |
| | | |
62c4cb4b UseSWIG: Record generated java files as custom command outputs
|
| |/
| |
| |
| |
| |
| | |
When another target depends on the generated files CMake must know which
custom command generates them in order to hook up the dependency
properly. We already do this for Python. Add the Java files too.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
745b56f5 Find*.cmake: drop the comments before including FPHSA
0ab9cb46 FindLibArchive: do not set LibArchive_FOUND explicitly
703d1943 FindLibArchive: use CMAKE_CURRENT_LIST_DIR to find FPHSA
|
| | |
| | |
| | |
| | |
| | | |
No need to explain this over and over again. While at it, do some other
minor cleanups to whitespace and comments (i.e. delete them).
|
| | |
| | |
| | |
| | | |
FPHSA already does this.
|
| |/
| |
| |
| |
| | |
The version of CMake required to build CMake is now new enough to have
that variable.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
7abb12c8 FindDevIL: Make the ILUT library optional
d3f9f512 FindDevIL: fail properly when library is not found.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Some distributions (such as ArchLinux) have only the IL and ILU
libraries and since these are mainly used, the module should succeed
even though ILUT was not found. Removed it from the FPHSA() macro call,
making it effectively optional.
|
| |/
| |
| |
| |
| |
| | |
Due to a mismatch between module name and name passed to FPHSA() the
macro printed an error message but the error was not caught up by CMake.
Fix the typo.
|
|\ \
| | |
| | |
| | |
| | | |
cbccebba FindPkgConfig: Fix missing error text when library version is specified
|
| |/
| |
| |
| |
| |
| | |
Calls like `pkg_check_modules(somelibrary>=3.22)` that specify a version
requirement should still display an informative error when the package
is not found. Fix our logic accordingly.
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
4cc601f2 Help: Add release note for CUDA support
7b9131da CUDA: Add tests to verify CUDA compiler works properly.
9cf5b98d CUDA: Prefer environment variables CUDACXX and CUDAHOSTCXX.
a5e806b3 CUDA: Add support for CMAKE_CUDA_COMPILE_OPTIONS_VISIBILITY
d038559e CUDA: Add separable compilation support to the makefile generator.
43ce4414 CUDA: Add separable compilation support to the ninja generator.
4b316097 CUDA: Add support for the CUDA_SEPARABLE_COMPILATION target property
ae05fcc6 CUDA: Add LinkLineComputer that computes cuda dlink lines.
115269a8 CUDA: Refactor cmLinkLineComputer to allow for better derived children.
5dec4031 CUDA: Refactor CMakeCUDAInformation to prepare for separable compilation.
5b20d0ab CUDA: C++ compile features now enable cuda c++11 support.
489c52ce CUDA: Use the host compiler for linking CUDA executables and shared libs.
bbaf2434 CUDA: add support for specifying an explicit host compiler.
a92f8d96 CUDA: Enable header dependency scanning.
ec6ce623 CUDA: State that cuda has preprocessor output and can generate assembly.
4f5155f6 CUDA: We now properly perform CUDA compiler identification.
...
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Previously we only reported an error if the compiler was a C compiler.
|
| |
| |
| |
| |
| | |
This way you can mark a .C/.CPP files as a cuda source file and
have nvcc build it as a cuda file.
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
02445138 ExternalProject: Do not trip over pre-existing 'cmd' variable
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | |
| | |
| | | |
6d0b5ff6 MSVC: Do not define _DEBUG explicitly when using /MDd
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With the latter flag the compiler automatically defines `_DEBUG`:
https://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx
Closes: #16430
|