| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since commit v3.5.0-rc1~47^2 (FindCUDA: Support special characters in
path, 2016-01-15) our add_custom_command calls use VERBATIM so that
CMake will automatically quote special characters correctly. However,
this breaks the special `$(VCInstallDir)` placeholder used with Visual
Studio generators. Since we do not support preservation of such
placeholders with VERBATIM (see issue #15001) we must fall back to not
using VERBATIM when the placeholder is used.
A better fix would be to stop using `$(VCInstallDir)` and use the value
of `CMAKE_${CUDA_C_OR_CXX}_COMPILER` instead, but that will require
additional semantic and documentation changes. For now simply fix the
regression with the above approach.
Reported-by: Stephen Sorley <Stephen.Sorley@jhuapl.edu>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We deprecated this module in commit v3.5.0-rc1~295^2
(CMakeForceCompiler: Deprecate this module and its macros, 2015-10-19)
in order to determine whether anyone still has use cases that require
it. Indeed we still need to provide a way to work with toolchains that
cannot link binaries without special flags. Remove the deprecation
warnings until we can provide an alternative to the module for this use
case.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since commit v3.5.0-rc1~32^2~1 (ExternalProject: Simplify `cmake
--build` configuration passing, 2016-01-19) we use the `$<CONFIG>`
generator expression to generate the `cmake --build . --config <config>`
value for the default BUILD_COMMAND instead of the CMAKE_CFG_INTDIR
placeholder value provided by multi-config generators. However, some
projects have been abusing the old implementation detail by setting
CMAKE_CFG_INTDIR themselves to get a specific configuration. Those
projects should be updated to set their own BUILD_COMMAND to get
non-default behavior. Meanwhile we can be compatible with their
existing releases by detecting when CMAKE_CFG_INTDIR is not a
generator-provided placeholder and using its value instead.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
fa78ee97 FindGit: Improve documentation formatting
facfb52c FindGit: Document Git_FOUND, unset internal var
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Git is called Git, not git.
* FindGit sets Git_FOUND, too.
* Unset internal variable git_names
|
|/ /
| |
| |
| | |
It is not `CLASS_DIR`.
|
|\ \
| | |
| | |
| | |
| | | |
b94e855d FindBoost: Add support for Boost 1.61
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
9b08c623 FindPNG: Create an imported PNG::PNG target (#15911)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Imported targets are now the recommended way of dealing with external
library dependencies. Add one for FindPNG and update documentation
accordingly. Also add a test case activated by CMake_TEST_FindPNG.
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
40249bcc FindPkgConfig: set standard variables in the cache
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes a regression introduced when the code was simplified to use the
variable queries.
Fixes #15903.
Reported-by: Bernd Lörwald
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
f9e45ab9 FindXalanC: New module to find the Apache Xalan-C++ library
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
ec00e89e ExternalProject: Fix TEST_BEFORE_INSTALL for multi-config generators
5d739a3c ExternalProject: Simplify `cmake --build` configuration passing
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
In multi-config generators we must tell `ctest` what configuration to
test.
Reported-by: Taylor Braun-Jones <taylor@braun-jones.org>
|
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | | |
Check CMAKE_CONFIGURATION_TYPES instead of CMAKE_CFG_INTDIR in order
to recognize multi-config generators. Then use $<CONFIG> to pass
the configuration value.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | |
| | | | | |
c8daac35 GetPrerequisites: Define api-ms-win-* files as system libraries (#15691)
|
| |/ / /
| | | |
| | | |
| | | | |
Suggested-by: Gilles Khouzam <gillesk@microsoft.com>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
18c3714f UseJava: Fix create_javah CLASSPATH handling on Windows
|
| |/ / /
| | | |
| | | |
| | | | |
Preserve semicolons in the value.
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
8979a107 FindPkgConfig: Fix restoration of PKG_CONFIG_PATH in environment
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
The original value is saved in `_pkg_config_path_old`. Fix this typo
left by commit v3.1.0-rc1~763^2 (FindPkgConfig: Extend PKG_CONFIG_PATH
using CMake variables, 2014-03-06).
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
83d63391 ExternalProject: Add option to set `git clone -o` argument
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a `GIT_REMOTE_NAME` option to `ExternalProject_Add` to support
git clone --origin <name>
Default to `origin` if not specified.
|
|\ \ \
| | |/
| |/|
| | |
| | | |
6ccc3070 FindCUDA: Support special characters in path (#15919)
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Add `VERBATIM` to all `add_custom_command` calls so that CMake will
escape arguments properly even when special characters such as "()" are
present.
Suggested-by: Nils Gladitz <nilsgladitz@gmail.com>
|
|/
|
|
|
|
|
|
|
|
|
| |
In Modules/Platform/WindowsPaths.cmake our previously recorded
environment variable combinations no longer seem to be correct. For
example, a 64-bit cmake binary may see ProgramW6432 in the environment
and end up not considering the "ProgramFiles(x86)" variable. Instead
check for all possible environment variables in the preferred order and
then remove duplicates.
Reported-by: Shawn Waldon <shawn.waldon@kitware.com>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
4b24626e FindDCMTK: Simplify documentation.
361c199f FindDCMTK: Add reStructuredText formatting.
d790f4fe FindDCMTK: Keep original copyright notice.
8c8e53d0 FindDCMTK: Minor documentation grammatical issues.
d50cbbb0 FindDCMTK: Obey QUIET option for find_package.
31b4700e FindDCMTK: Improve compatibility with DCMTKConfig.cmake.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
This is a follow-up to 31b4700ed640bee962f9db9ce25fa84261a944d2.
Remove the extra character that was added to ensure the CMake.ModuleNotices
test passes.
|
| |
| |
| |
| | |
Also remove CTK integration reference to avoid confusion.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This improvement to the FindDCMTK module improves compatibility with recent
DCMTK, which provides a DCMTKConfig.cmake file. See the module comments for a
compatibility matrix.
It also provides DCMTK_INCLUDE_DIRS.
Ported from CommonTK (commontk.org).
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Most packages install their .pc files into PREFIX/lib/pkgconfig, but
some put them into PREFIX/share/pkgconfig. Either is valid, and
pkg-config itself looks in both for the /usr and /usr/local prefixes.
This fixes an issue where some packages (yajl, for example) are not
found if they are installed into a non-standard prefix and
CMAKE_PREFIX_PATH is used to locate them.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
4d05f195 FindwxWidgets: Drop suppression of -isystem
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This was added by commit v2.8.0~2292 (... Set variable
wxWidgets_INCLUDE_DIRS_NO_SYSTEM on the Mac ..., 2008-04-16) and updated
by commit v2.8.9~183^2 (FindwxWidgets: Do not use -isystem on OpenBSD,
2012-05-14). Since the underlying cause was never investigated fully we
do not know the conditions under which -isystem breaks wxWidgets, but
suppressing -isystem is problematic for users that do not want to see
warnings in wxWidgets headers. Simply drop the special case for now so
we can see whether anyone hits the problem again, at which point it can
be investigated in more detail.
Reported-by: Simon Wells <swel024@gmail.com>
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Drop the 'UNIX' condition on Clang compiler features. This enables
use of compile features with MinGW Clang, though additional work may
be needed for clang-cl.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The if(STREQUAL) expressions do not support globbing expressions.
Use regular experssions with MATCHES instead.
Reported-by: Yahui Wang <youngqv@foxmail.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
64e26850 CrayPrgEnv: Cleanup binaries from implicit compile flag detection
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
d9bf5206 CMakeDetermineCompilerId: Fix VS Itanium platform name (#15889)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
VS expects the platform to be just `Itanium`, so drop the incorrect
special case mapping it to `ia64`. This platform name has been wrong
since the logic was added by commit v2.8.10~148^2~8 (VS: Detect the
compiler id and tool location, 2012-08-16).
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
928d2085 CrayPrgEnv: Don't use absolute paths for imlicit libraries
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When parsing implicit include dirs, link dirs, and link libs, all
arguments are resolved to absolute paths instead of relative paths.
This is correct for link and include directories but link libraries
should only include the library name, not it's path.
|