Skip to content

Repository for beginners to get started developing C++ with cmkr.

License

Notifications You must be signed in to change notification settings

build-cpp/cmkr_for_beginners

Repository files navigation

cmkr_for_beginners

Gitpod ready-to-code

Repository for beginners to get started developing C++ with cmkr.

Try it in your browser!

You can use the Gitpod link to try this template in your browser.

Building (IDE)

Clone this repository and open it in your favorite IDE with CMake support (Visual Studio, CLion, Qt Creator). Everything should work out of the box.

Building (command line)

cmake -B build
cmake --build build

Then open the .sln (Windows) or run make (Unix) from the build directory.

cmake.toml

Under the hood cmkr generates the CMakeLists.txt required to build this project from the cmake.toml file:

[project]
name = "cmkr_for_beginners"
description = "A minimal cmkr project."

[target.hello_world]
type = "executable"
sources = ["src/main.cpp"]