Commit 4f0a08c8 authored by Michaël Roynard's avatar Michaël Roynard

Clean way to get source code

parent 2672a35a
Pipeline #1965 failed with stage
in 46 seconds
from conans import CMake, ConanFile
from conans import CMake, ConanFile, tools
class GtestconstexprextConan(ConanFile):
name = "gtest-constexpr-ext"
......@@ -11,9 +11,12 @@ class GtestconstexprextConan(ConanFile):
requires = "gtest/1.8.0@bincrafters/stable"
generators = "cmake"
exports_sources = "include/*", "test/*", "CMakeLists.txt"
no_copy_source = True
def source(self):
git = tools.Git()
git.clone(self.url)
def build(self):
cmake = CMake(self)
cmake.configure()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment