An open API service indexing awesome lists of open source software.

https://github.com/roy-fokker/cpp23-project-template

Simple C++23 CMake project template for my use-cases
https://github.com/roy-fokker/cpp23-project-template

cmake cmake-presets cmake-project-example cpp23 cppmodules ninja vcpkg

Last synced: 23 days ago
JSON representation

Simple C++23 CMake project template for my use-cases

Awesome Lists containing this project

README

        

# C++23 Project Template

## Uses
- vcpkg for package management
- ninja for build engine
- cmake with cmakepresets for configuration and build
- cmake min_ver 3.30
- C++ modules enabled
- Uses C++ Standard Library modules
- MSVC (Windows only)
- Clang (Linux with libc++ only)

## to be figured out
- Intellisense and clangd both cannot handle modules so don't work correctly

## Example project
- uses fmt from vcpkg

## references
- Building on linux with Clang and libc++ for module support, https://mattbolitho.github.io/posts/vcpkg-with-libcxx/
- CMake 3.30 magic encantations, https://www.kitware.com/import-std-in-cmake-3-30/
- CMake module compilations, https://www.kitware.com/import-cmake-the-experiment-is-over/