cmkr_for_beginners_msvc_static
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:
https://github.com/gmh5225/cmkr/blob/main/docs/examples/msvc-runtime.md
[project]
name = "cmkr_for_beginners"
description = "A minimal cmkr project."
msvc-runtime = "static"
[target.hello_world]
type = "executable"
sources = ["src/main.cpp"]