- 10 Jan, 2017 1 commit
-
-
Alexey Sokolov authored
Issue: #4147
-
- 15 Dec, 2016 4 commits
-
-
José Simões authored
When cross-compiling to or from a Windows platform we should still find a Git for the host environment.
-
Maxime Morel authored
-
Francois Budin authored
`PYTHON_LIBRARY` may contain a list because of `SelectLibraryConfigurations`. If it is the case, the list can be: optimized;<FILEPATH_TO_RELEASE_LIBRARY>;debug;<FILEPATH_TO_DEBUG_LIBRARY> Instead of directly using the value of `PYTHON_LIBRARY` in the CMake function `get_filename_component()`, we loop over the content of the relevant parts of `PYTHON_LIBRARY` and `PYTHON_DEBUG_LIBRARY` whether they are lists or not. Suggested-by:
Brad King <brad.king@kitware.com>
-
Michael Stürmer authored
-
- 13 Dec, 2016 1 commit
-
-
Brad King authored
Do not assume that the implicit link line is the last line of the output from `nvcc -v`. Instead first find the `LIBRARIES=` line, and then look for that content on a later line. It appears twice. First on a call to `nvlink`, which we ignore. Later it appears on the implicit link line. Extract the latter line. On failure, abort with a `FATAL_ERROR` so that the user does not try to build without proper link information. Once we have the line, parse it with `separate_arguments` using the `UNIX_COMMAND` option just like `CMakeParseImplicitLinkInfo` already does. This robustly parses the command line and removes quoting. Then extract the first argument as the host link launcher.
-
- 12 Dec, 2016 3 commits
-
-
Roger Leigh authored
Also convert the path to a cmake path
-
Roger Leigh authored
- 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
-
e9925248 authored
`find_program` does not work with `${a};${b}` as a search path. Use separate arguments to `PATHS`.
-
- 09 Dec, 2016 1 commit
-
-
Brad King authored
Since commit v3.7.0-rc1~392^2 (Honor CMAKE_<LANG>_FLAGS[_<CONFIG>]_INIT set in toolchain files, 2016-07-05) our convention is to initialize compiler flag variables via `string(APPEND)` rather than `set()`. Fix the convention for `CMAKE_CUDA_FLAGS[_<CONFIG>]_INIT`.
-
- 08 Dec, 2016 1 commit
-
-
Vic Luo authored
-
- 07 Dec, 2016 1 commit
-
-
Henning Meyer authored
Missing or missconfigured file utility should not skip adding dependencies. Instead it should print out a fatal error message. Fixes #16486
-
- 06 Dec, 2016 2 commits
-
-
Sebastian Holtermann authored
-
Sebastian Holtermann authored
-
- 03 Dec, 2016 1 commit
-
-
Harry Mallon authored
* 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.
-
- 02 Dec, 2016 7 commits
-
-
Brad King authored
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
-
Brad King authored
-
Brad King authored
-
Brad King authored
-
Brad King authored
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).
-
Michał Górny authored
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}`.
-
- 30 Nov, 2016 1 commit
-
- 29 Nov, 2016 2 commits
-
-
caryoscelus authored
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.
-
Harry Mallon authored
* Add `GRAPHVIZ_GRAPH_TYPE` options. * Correct inaccurate usage info.
-
- 28 Nov, 2016 7 commits
-
-
Rolf Eike Beer authored
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).
-
Rolf Eike Beer authored
FPHSA already does this.
-
Rolf Eike Beer authored
The version of CMake required to build CMake is now new enough to have that variable.
-
Vladimír Vondruš authored
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.
-
Vladimír Vondruš authored
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.
-
Gautier Pelloux-Prayer authored
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.
-
- 24 Nov, 2016 1 commit
-
-
Konstantin Podsvirov authored
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.
-
- 18 Nov, 2016 6 commits
-
-
Brad King authored
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>
-
Brad King authored
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>
-
Brad King authored
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>
-
Brad King authored
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>
-
Brad King authored
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>
-
Brad King authored
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>
-
- 17 Nov, 2016 1 commit
-
-
Karsten Sperling authored
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.
-