-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconanfile.py
More file actions
36 lines (28 loc) · 919 Bytes
/
conanfile.py
File metadata and controls
36 lines (28 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from conan import ConanFile
from conan.tools.cmake import CMake, cmake_layout
class ecsRecipe(ConanFile):
name = "ecs"
version = "1.0"
package_type = "application"
license = "MIT"
author = ("Pascal Behmenburg")
url = "<Package recipe repository url here, for issues about the package>"
description = "ECS"
topics = "ecs"
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeToolchain", "CMakeDeps"
exports_sources = "CMakeLists.txt", "src/*", "tests/*"
def requirements(self):
self.requires("sfml/2.6.1")
self.requires("fmt/10.2.0")
self.requires("gtest/1.14.0")
self.requires("spdlog/1.13.0")
def layout(self):
cmake_layout(self)
def build(self):
cmake = CMake(self)
cmake.configure()
cmake.build()
def package(self):
cmake = CMake(self)
cmake.install()