diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2022-09-16 23:28:09 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2022-09-16 23:28:09 +0200 |
| commit | f4d9880d3c9555b48affad727589ef5c093b1841 (patch) | |
| tree | a5552b5a33000a527748ac1c72ca366476af0936 /conanfile.py | |
| parent | 64922e213ac731279cf3341253e67509adb2dfc8 (diff) | |
| download | wanda-f4d9880d3c9555b48affad727589ef5c093b1841.tar.xz wanda-f4d9880d3c9555b48affad727589ef5c093b1841.zip | |
source: clean up structure
Diffstat (limited to 'conanfile.py')
| -rw-r--r-- | conanfile.py | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/conanfile.py b/conanfile.py index f152f2a..f05875f 100644 --- a/conanfile.py +++ b/conanfile.py @@ -1,3 +1,5 @@ +import os + from conans import ConanFile from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout @@ -8,10 +10,16 @@ class Wanda(ConanFile): url = "https://github.com/fmorgner/wanda" license = "BSD 3-clause" description = "A wallpaper changer for the GNOME" + scm = { + "type": "git", + "url": "auto", + "revision": "auto", + } generators = ( "CMakeDeps", - "virtualenv", ) + options = {"shared": [True, False]} + default_options = {"shared": False} settings = ( "os", "arch", @@ -19,11 +27,7 @@ class Wanda(ConanFile): "build_type", ) exports_sources = ( - "CMakeLists.txt", - "src/*", - "include/*", - "lib/*", - "test/*" + "source/*", ) requires = ( "asio/[~=1.24.0]", @@ -56,3 +60,4 @@ class Wanda(ConanFile): def package_info(self): self.cpp_info.libs = ["wanda"] + self.env_info.PATH.append(os.path.join(self.package_folder, "bin")) |
