607d9cf561 WINDOWS_EXPORT_ALL_SYMBOLS: Do not export C++ operators declared extern "C"
8f8b2e9429 bindexplib: Truncate short symbol names on first embedded null-terminator
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10791
63c3e1fd3b ci: Shorten name of job testing Intel 2021.9 compilers on Windows
ebeee21983 ci: Update to IntelLLVM 2025.1 on Windows
3bce19c653 ci: Add script to repackage Intel oneAPI compilers
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10810
e37a40442a ci: Update Windows builds to MSVC 14.44 toolset
c955d5c31f ci: Tie Intel 2024.1 jobs on Windows to MSVC 14.43 toolset
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10802
e37a40442a ci: Update Windows builds to MSVC 14.44 toolset
c955d5c31f ci: Tie Intel 2024.1 jobs on Windows to MSVC 14.43 toolset
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10802
e37a40442a ci: Update Windows builds to MSVC 14.44 toolset
c955d5c31f ci: Tie Intel 2024.1 jobs on Windows to MSVC 14.43 toolset
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10802
The pattern `extern "C" { inline bool operator==(...) {} }` appears
in at least one Windows SDK header, `winnt.h`. Translation units that
instantiate the inline symbol produce object files with a symbol named
just `==`. Avoid exporting such symbols because the linker will not
recognize them.
Fixes: #24999
- Added intro code block showing how to include this module.
- Added examples section.
- Added missing CMAKE_REQUIRED_LINK_DIRECTORIES variable (this module
can also use it as of CMake 3.31).
- Added a note that this is a linker only check and it doesn't check
whether the variable is also declared in headers, unlike
check_symbol_exists().
- Added "See Also" section.
- Added intro code block showing how to include this module.
- Used "command" instead of "macro".
- Described the command arguments in a list separately.
- Refactored some descriptions.
- Added a rubric title for variables that affect the check.
- Added intro code block showing how to include this module.
- Added a list of variables that can affect the check. The
CMAKE_REQUIRED_LINK_OPTIONS is skipped as it is currently internally
overridden by the module's check command.
- Added examples section.
- Described command arguments as a list.
- Added included section describing the `LINKER:` (and `SHELL:`) prefix.
- Added link to the module in target_link_options() docs.
41a4a32135 FindPython: Avoid implicit link library on Windows
811f00f9ad FindPython: rely on ABIFLAGS on Windows for ABI profile
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10800
41a4a32135 FindPython: Avoid implicit link library on Windows
811f00f9ad FindPython: rely on ABIFLAGS on Windows for ABI profile
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10800
41a4a32135 FindPython: Avoid implicit link library on Windows
811f00f9ad FindPython: rely on ABIFLAGS on Windows for ABI profile
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10800
Starting with version 3.14, on Windows, by specifying macro Py_NO_LINK_LIB,
the python library is no longer implicitly specified at the link step.
Fixes: #26756