You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Automatically generated from tests/msvc-runtime/cmake.toml - DO NOT EDIT
3
+
layout: default
4
+
title: Static MSVC runtime
5
+
permalink: /examples/msvc-runtime
6
+
parent: Examples
7
+
nav_order: 8
8
+
---
9
+
10
+
# Static MSVC runtime
11
+
12
+
13
+
14
+
```toml
15
+
[project]
16
+
name = "msvc-runtime"
17
+
description = "Static MSVC runtime"
18
+
msvc-runtime = "static"
19
+
20
+
# This target will compile with a static runtime
21
+
[target.static-runtime]
22
+
type = "executable"
23
+
sources = ["src/main.cpp"]
24
+
25
+
# This target overrides the [project].msvc-runtime
26
+
[target.dynamic-runtime]
27
+
type = "executable"
28
+
sources = ["src/main.cpp"]
29
+
msvc-runtime = "dynamic"
30
+
```
31
+
32
+
33
+
34
+
<sup><sub>This page was automatically generated from [tests/msvc-runtime/cmake.toml](https://github.com/build-cpp/cmkr/tree/main/tests/msvc-runtime/cmake.toml).</sub></sup>
0 commit comments