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.