-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe9dc9e
commit df82752
Showing
1 changed file
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,17 +2,15 @@ | |
from conan.tools import files | ||
from conan import ConanFile | ||
import os | ||
import textwrap | ||
|
||
required_conan_version = ">=1.59.0" | ||
|
||
class GTLabLoggingConan(ConanFile): | ||
name = "gtlab-logging" | ||
license = "BSD-3-Clause" | ||
author = "Martin Siggel <[email protected]>" | ||
url = "https://github.com/dlr-gtlab/gt-logging" | ||
url = "https://github.com/conan-io/conan-center-index" | ||
homepage = "https://github.com/dlr-gtlab/gt-logging" | ||
toppics = "logging", "qt" | ||
topics = ("logging", "qt") | ||
description = "Simple logging interface with qt support" | ||
|
||
settings = "os", "arch", "compiler", "build_type" | ||
|
@@ -29,9 +27,8 @@ def generate(self): | |
CMakeToolchain(self).generate() | ||
CMakeDeps(self).generate() | ||
|
||
|
||
def layout(self): | ||
cmake_layout(self) | ||
cmake_layout(self, src_folder="src") | ||
|
||
def config_options(self): | ||
if self.settings.os == "Windows": | ||
|
@@ -41,9 +38,9 @@ def source(self): | |
files.get(self, **self.conan_data["sources"][self.version], | ||
strip_root=True, destination=self.source_folder) | ||
|
||
def build(self): | ||
def build(self): | ||
cmake = CMake(self) | ||
cmake.configure(build_script_folder="src") | ||
cmake.configure() | ||
cmake.build() | ||
|
||
|
||
|