mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Add bare minimum functionality to compile C code and link on Windows. Explicitly label tests that are expected to work with `CFLAGS=-Ze`. Leave out documentation for now because this is not usable in general. Issue: #21536 Inspired-by: Serguei E. Leontiev <leo@sai.msu.ru>
8 lines
238 B
CMake
8 lines
238 B
CMake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
# file LICENSE.rst or https://cmake.org/licensing for details.
|
|
include_guard()
|
|
|
|
macro(__compiler_pellesc lang)
|
|
set(CMAKE_${lang}_LINK_MODE LINKER)
|
|
endmacro ()
|