summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/MSVC.cmake
Commit message (Collapse)AuthorAgeFilesLines
* LICENSE: Replace references to Copyright.txt with LICENSE.rstKitware Robot2025-03-031-1/+1
| | | | | | | | | | ``` git grep -lz 'Copyright.txt or https://cmake.org/licensing ' | while IFS= read -r -d $'\0' f ; do sed -i '/Copyright.txt or https:\/\/cmake.org\/licensing / { s/Copyright.txt/LICENSE.rst/ }' "$f" ; done ```
* Introduce CMAKE_<LANG>_LINK_MODE variable.Marc Chevrier2025-01-101-0/+2
| | | | | | This variable define how the link step is done. Possible values are: * DRIVER: the compiler is used as driver for the link step * LINKER: the linker is used directly for the link step.
* Rename {_ => }CMAKE_INCLUDE_SYSTEM_FLAG_${lang}_WARNINGPatrick H2024-07-291-1/+1
| | | | | | | Although not documented publicly, projects may need to override this variable. Remove the private `_` prefix from its name. Issue: #25103
* COMPILE_WARNING_AS_ERROR: Add options to treat warnings as errorsMartin Duffy2022-05-061-0/+25
Add `COMPILE_WARNING_AS_ERROR` target property and supporting `CMAKE_COMPILE_WARNING_AS_ERROR` variable. `COMPILE_WARNING_AS_ERROR` is initialized by `CMAKE_COMPILE_WARNING_AS_ERROR`. It is a boolean variable. If it is true, it expands to a different flag depending on the compiler such that any warnings at compile will be treated as errors. Supports compiler ids that I could find a relevant flag for.