mirror of
https://github.com/build-cpp/cmkr
synced 2026-06-08 13:22:55 +00:00
731 B
731 B
layout, title, permalink, parent, nav_order
| layout | title | permalink | parent | nav_order |
|---|---|---|---|---|
| default | Minimal example | /examples/basic | Examples | 0 |
Minimal example
A minimal cmake.toml project:
[project]
name = "basic"
description = "Minimal example"
[target.basic]
type = "executable"
sources = ["src/basic.cpp"]
Declares an executable target called basic with src/basic.cpp as a source file. Equivalent to CMake's add_executable(basic src/basic.cpp).
This page was automatically generated from tests/basic/cmake.toml.