Conan-CPP/README.md
2025-05-08 18:04:35 -05:00

23 lines
No EOL
730 B
Markdown

# Conan C++
This is a Conan / Meson template. It's based on some online tutorials, and is a modified version of [this project](https://code.cthulhub.net/Riley/Conan-C).
I made this when I wanted to make more C / C++ projects but with a more "pythonic" build system.
# Setup
## Linux / Windows
1. Install CMake
2. Install Meson
3. Install GCC (UCRT MSYS2)
## Windows
4. Edit `~\.conan2\profiles\default` to match [docs/default](docs/default)
## Linux
4. If you run linux you can probably figure this out. It should work mostly out of the box.
## Both Again
5. Run `build.bat` or `build.sh` respectively.
6. Edit your intellisense to read the compile_commands from `${workspaceFolder}/build/meson-src/compile_commands.json`