From 85ca7943695357492588f434364da69478cd97fc Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 27 Nov 2018 08:14:25 +0100 Subject: build: update conanfile --- conanfile.py | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'conanfile.py') 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") -- cgit v1.2.3