Conan: Recommend building with CMakeToolchain

This commit is contained in:
Tony Wasserka 2025-01-05 15:49:54 +01:00
parent 661a72c8f6
commit 5c77c861ef
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ CMake and Conan 2 are required to build Mikage.
* `mkdir build`
* `cd build`
* `conan install .. -of . --build=missing` (add `-s build_type=Debug` for Debug builds)
* ``cmake -DCMAKE_BUILD_TYPE=Release .. -G Ninja -DCMAKE_PREFIX_PATH=`realpath .` ``
* `cmake .. -G Ninja --toolchain conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release`
* `ninja && sudo ninja install`
Some dependencies may be provided by system packages instead of building them

View file

@ -3,7 +3,7 @@ from conan import ConanFile
class MikageConan(ConanFile):
name = "mikage"
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeDeps"
generators = ["CMakeDeps", "CMakeToolchain"]
requires = [
#"boost/1.79.0",