diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2023-10-12 11:11:41 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2023-10-12 11:11:41 +0200 |
| commit | 12785240ca92bb623e1f836b4c81238d875198cd (patch) | |
| tree | f753312ff416e5c21575eae9ff0069b1cfa30bdc /conanfile.py | |
| parent | b9ff63ee60c1316573190eaf757a12b8d1b83f9c (diff) | |
| download | teachos-12785240ca92bb623e1f836b4c81238d875198cd.tar.xz teachos-12785240ca92bb623e1f836b4c81238d875198cd.zip | |
build: switch to ninja multi-config generator
Diffstat (limited to 'conanfile.py')
| -rw-r--r-- | conanfile.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/conanfile.py b/conanfile.py index 84d6e77..b2ff441 100644 --- a/conanfile.py +++ b/conanfile.py @@ -19,6 +19,7 @@ class KernelConan(ConanFile): tool_requires = [ "cmake/[~3.27]", "gcc/13.2.0@teachos/stable", + "ninja/[~1.11]", ] def build(self): @@ -36,7 +37,7 @@ class KernelConan(ConanFile): dependencies = CMakeDeps(self) dependencies.generate() - toolchain = CMakeToolchain(self) + toolchain = CMakeToolchain(self, generator="Ninja Multi-Config") toolchain.cache_variables["CMAKE_TRY_COMPILE_TARGET_TYPE"] = "STATIC_LIBRARY" toolchain.variables["TEACHOS_DESCRIPTION"] = self.description toolchain.variables["TEACHOS_HOMEPAGE_URL"] = self.homepage @@ -50,7 +51,7 @@ class KernelConan(ConanFile): toolchain.generate() def layout(self): - cmake_layout(self, src_folder="source") + cmake_layout(self, src_folder="source", generator="Ninja Multi-Config") class PlatformIncludeBlock: |
