Link Search Menu Expand Document

Static MSVC runtime

[project]
name = "msvc-runtime"
description = "Static MSVC runtime"
msvc-runtime = "static"

# This target will compile with a static runtime
[target.static-runtime]
type = "executable"
sources = ["src/main.cpp"]

# This target overrides the [project].msvc-runtime
[target.dynamic-runtime]
type = "executable"
sources = ["src/main.cpp"]
msvc-runtime = "dynamic"

This page was automatically generated from tests/msvc-runtime/cmake.toml.