generated from Riley/Conan-C
23 lines
642 B
Markdown
23 lines
642 B
Markdown
|
|
# Conan C
|
||
|
|
|
||
|
|
This is a Conan / Meson template. It's based on some online tutorials.
|
||
|
|
|
||
|
|
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`
|