-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconanfile.py
More file actions
27 lines (22 loc) · 918 Bytes
/
conanfile.py
File metadata and controls
27 lines (22 loc) · 918 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
from conan import ConanFile
from conan.tools.cmake import cmake_layout
class CS2ServerGUI(ConanFile):
name = "cs2servergui"
description = "A simple manager for your CS2 server"
version = "3.0.0"
# We use a cmake-driven approach (so that cmake is calling the conan and not vice versa,
# so we only need CMakeDeps, see discussion: https://github.com/conan-io/conan/issues/17361)
generators = "CMakeDeps"
settings = "os", "compiler", "build_type", "arch"
build_policy = "missing"
def requirements(self):
self.requires("cpr/1.14.1")
self.requires("nlohmann_json/3.11.3")
self.requires("libcurl/8.17.0")
self.requires("sqlitecpp/3.3.3")
self.requires("gtest/1.17.0")
def layout(self):
cmake_layout(self)
def configure(self):
if self.settings.os == "Windows":
self.options["libcurl"].with_ssl = "schannel"