aboutsummaryrefslogtreecommitdiff
path: root/conanfile.py
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2018-11-27 08:14:25 +0100
committerFelix Morgner <felix.morgner@gmail.com>2018-11-27 08:14:25 +0100
commit85ca7943695357492588f434364da69478cd97fc (patch)
treee1a28ca0f1afd9ae68e78c853cdba02cdf341250 /conanfile.py
parent97390d565eca8004edb1d262c282aaf9e47c3b7b (diff)
downloadwanda-85ca7943695357492588f434364da69478cd97fc.tar.xz
wanda-85ca7943695357492588f434364da69478cd97fc.zip
build: update conanfile
Diffstat (limited to 'conanfile.py')
-rw-r--r--conanfile.py18
1 files changed, 14 insertions, 4 deletions
diff --git a/conanfile.py b/conanfile.py
index e084427..a77ff14 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -4,12 +4,22 @@ from conans import ConanFile, CMake
class Wanda(ConanFile):
name = "wanda"
- version = "0.1"
+ version = "1.0.0"
+ url = "https://github.com/fmorgner/wanda"
license = "BSD 3-clause"
description = "A wallpaper changer for the GNOME"
generators = "cmake"
- export_sources = (
+ default_user = "fmorgner"
+ default_channel = "stable"
+ settings = (
+ "os",
+ "arch",
+ "compiler",
+ "build_type",
+ )
+ exports_sources = (
"CMakeLists.txt",
+ "cmake/*",
"src/*",
)
requires = (
@@ -19,8 +29,8 @@ class Wanda(ConanFile):
def build(self):
cmake = CMake(self)
- cmake.configure(source_folder="src")
+ cmake.configure(source_folder=".")
cmake.build()
def package(self):
- pass
+ self.copy("wanda", src="bin", dst="bin")