You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
766 B
35 lines
766 B
2 years ago
|
---
|
||
|
# Automatically generated from tests/msvc-runtime/cmake.toml - DO NOT EDIT
|
||
|
layout: default
|
||
|
title: Static MSVC runtime
|
||
|
permalink: /examples/msvc-runtime
|
||
|
parent: Examples
|
||
|
nav_order: 8
|
||
|
---
|
||
|
|
||
|
# Static MSVC runtime
|
||
|
|
||
|
|
||
|
|
||
|
```toml
|
||
|
[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"
|
||
|
```
|
||
|
|
||
|
|
||
|
|
||
|
<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>
|