contour-terminal / contour

Modern C++ Terminal Emulator
http://contour-terminal.org/
Apache License 2.0
2.31k stars 100 forks source link

Add CMakePresets.json #1457

Closed christianparpart closed 4 months ago

christianparpart commented 5 months ago

Move more libs from embedded to vcpkg.json (on Windows) and add a CMakePresets.json.

CMake presets are a common way to configure your project. Most IDEs have picked this up so far, so no special IDE-specifics will be needed (anymore), but it can also be done on the CLI of course.

Configure the project

cmake --preset windows-x64

Build the project

cmake --build --preset windows-x64-Debug 

Checklist

Yaraslaut commented 4 months ago

Some bits of info between difference between cmake --target package and cpack https://discourse.cmake.org/t/are-the-commands-cmake-build-target-package-and-cpack-equivalent/612