mirror of
https://github.com/mikage-emu/mikage-dev.git
synced 2025-01-22 21:41:08 +01:00
Conan: Recommend building with CMakeToolchain
This commit is contained in:
parent
661a72c8f6
commit
5c77c861ef
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue