mirror of
https://github.com/johndoe6345789/MetalOS.git
synced 2026-04-24 13:45:02 +00:00
Integrate Conan into build systems
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
@@ -90,8 +90,15 @@ ninja qemu
|
||||
### Conan (With Package Management)
|
||||
|
||||
```bash
|
||||
# First time: install Conan and setup profile
|
||||
pip3 install conan
|
||||
conan profile detect --force
|
||||
|
||||
# Install dependencies and generate toolchain
|
||||
conan install . --build=missing
|
||||
|
||||
# Configure and build
|
||||
mkdir build && cd build
|
||||
conan install .. --build=missing
|
||||
cmake .. -DCMAKE_TOOLCHAIN_FILE=../build/Release/generators/conan_toolchain.cmake -G Ninja
|
||||
ninja
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user