| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This flag is needed for the `<LANG>_VISIBILITY_PRESET` target property.
It has been supported since GCC 4.0, not 4.2 as we previously recorded.
Fixes #16222.
|
|\
| |
| |
| |
| |
| | |
ad453f05 CPackWIX: Support CPACK_COMPONENT_<compName>_DISABLED
6f108f84 CPackComponent: Document the *_HIDDEN and *_DISABLED variables
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Automate with:
find Modules -type f -print0 | xargs -0 perl -i -0pe \
's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
|
|\ \
| |/
|/|
| |
| | |
11768733 NSIS: Quote uninstaller path when executing it in a shell
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Protect our `$0` reference in the shell as `"$0"`. Otherwise it works
with a space in the path only due to an insecure Windows feature.
Prior to this fix, any installer using the option added by commit
v2.8.9~234^2 (Added CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL,
2011-06-11) exposes a local privilege escalation vulnerability.
Reported-by: Amir Szekely <kichik@gmail.com>
Reported-by: Ug_0 Security
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
GIF 4.1.6 introduced version macros in the header file. Use them
to get a full version.
Fixes #16196.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
8a98cf64 Honor CMAKE_*_LINKER_FLAGS[_<CONFIG>]_INIT set in toolchain files
37d15c39 MSVC: Set all CMAKE_*_LINKER_FLAGS_INIT directly
55c884ed Embarcadero: Set all CMAKE_*_LINKER_FLAGS_INIT directly
aec3c79a Strip CMAKE_*_LINKER_FLAGS[_<CONFIG>] initializer whitespace
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Document these variables.
Change our convention for setting these variables from:
set(CMAKE_EXE_LINKER_FLAGS_INIT "...")
to
string(APPEND CMAKE_EXE_LINKER_FLAGS_INIT " ...")
so that any value previously set by a toolchain file will be used.
|
| | |
| | |
| | |
| | | |
Avoid copying CMAKE_EXE_LINKER_FLAGS_INIT to the others.
|
| | |
| | |
| | |
| | | |
Avoid copying CMAKE_EXE_LINKER_FLAGS_INIT to the others.
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
73e9f36e FindOpenMP: Detect version (specification date) from compiler
8f1103c0 FindOpenMP: Cleanup all variables unconditionally
ec963f04 FindOpenMP: Improve documentation formatting
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Port changes from VTK commit fda6a31cb9 (Added Improved FindOpenMP
module, 2015-04-23). Improve use of try_compile to avoid needing
to pass OpenMP flags as libraries.
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | | |
Also drop link to OpenMP compilers because our supported list may
not include all compilers.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
9b588b2b ExternalData: Hide security-sensitive details from output
|
| | | |
| | | |
| | | |
| | | | |
Do not disclose credentials when printing URIs used to fetch external resources.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
2eec433f ExternalProject: Add support for multiple alternative URLs
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Now it is possible to pass multiple URLs as a list that will be tried in
and foreach(). So it will try next URL if the previous failed.
Fixes #15749.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
35322226 CMakeParseImplicitLinkInfo: Exclude libclang_rt libraries
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These libraries are used for Clang runtime analysis support with
flags like `-fsanitize=memory` and are not actually implicitly
linked libraries.
Fixes #16194.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
e3bff7b3 Help: Add notes for topic 'findicu'
4a63be15 FindICU: New module
|
| |/ / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
d5e4516e FindHDF5: Cleanup inconsistent use of HDF5_ROOT
4ece8bdd FindHDF5: Properly fail when required components are not found.
87c1cd9c FindHDF5: Fix h5cc arg parsing to work with homebrew on Mac
|
| | | | |
|
| | | | |
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
83799aa9 CPack/RPM: Debug logging should only print if requested for
|
| | |/
| |/| |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
672e6d2e CPack/RPM: Add missed CPACK_RPM_FILE_NAME fallback variable
|
| | |/
| |/|
| | |
| | |
| | |
| | | |
In commit v3.6.0-rc1~66^2 (CPack/RPM different package names,
2016-05-15) we forgot the non-uppercased fallback variable name
`CPACK_RPM_<COMPONENT>_FILE_NAME`. Add it now.
|
| |\ \ |
|
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The download/extract step uses the file name only internally so we can
just use a fallback default name if one cannot be extracted from the
URL.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
a66004be Honor CMAKE_<LANG>_FLAGS[_<CONFIG>]_INIT set in toolchain files
cdde77e5 OpenWatcom: Partially modernize platform information modules
f9dbe22c Intel: Do not use GNU-like flags on Windows
5a3ed0d7 Intel: Do not use MSVC-like flags for Fortran
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Document these variables.
Change our convention for setting these variables from:
set(CMAKE_C_FLAGS_INIT "...")
to
string(APPEND CMAKE_C_FLAGS_INIT " ...")
so that any value previously set by a toolchain file will be used.
Automate the conversion with:
sed -i 's/set *(\(CMAKE_\(C\|CXX\|Fortran\|RC\|ASM\|${[^}]\+}\)_FLAGS\(_[^_]\+\)\?_INIT \+"\)/string(APPEND \1 /' \
Modules/Compiler/*.cmake Modules/Platform/*.cmake
and follow up with some manual fixes (e.g. to cases that already
meant to append). Also revert the automated changes to contexts
that are not protected from running multiple times.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Migrate from the old `<os>-<cc>.cmake` layout to the modern
`<os>-<id>-<lang>.cmake` layout. Keep settings common to C and C++ in a
`Windows-OpenWatcom.cmake` helper module with an include blocker.
For now just add both C and CXX settings in the helper module.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Refactor options out of `Modules/Compiler/Intel-{ASM,C,CXX,Fortran}.cmake`
into a common helper in `Modules/Compiler/Intel.cmake`. Condition
them to be used only on non-Windows hosts where the Intel compiler
is GNU-like instead of MSVC-like.
Previously this worked only because the options were later overridden
by `Modules/Platform/Windows-Intel*.cmake`, but it is cleaner to not
set the options in the first place.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Teach `Modules/Platform/Windows-MSVC.cmake` not to use MSVC options
for Fortran. We use the `__windows_compiler_msvc` for the Intel
Fortran compiler on Windows for other settings, but we do not want
the flags.
Previously this worked only because the options were later overridden
by `Modules/Platform/Windows-Intel*.cmake`, but it is cleaner to not
set the options in the first place.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
57c337e2 ExternalProject: Match filenames in URLs with query strings and anchors
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
While at it, refactor logic to consolidate the filename extraction
and verification into a single match.
Inspired-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
4e11c966 FindJNI: Improve formatting of FPHSA call
|
| |/ / /
| | | |
| | | |
| | | | |
Pass one argument per line for better readability.
|
|\ \ \ \
| | |_|/
| |/| |
| | | |
| | | | |
26d16380 FindJNI: Fix support for Ubuntu 15.10
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The library search paths added by commit v3.6.0-rc1~281^2~1 (FindJNI:
Add support for Ubuntu 15.10, 2016-03-08) were incorrect. Fix them.
|