This commit is contained in:
Javier Jerónimo Suárez 2016-11-19 11:54:34 +01:00
parent 748a95c84f
commit 09cae9f4c2

View File

@ -1,5 +1,4 @@
from conans import ConanFile, CMake
import shutil
class CrowConan(ConanFile):
name = "Crow"
@ -12,11 +11,10 @@ class CrowConan(ConanFile):
def source(self):
# this will create a hello subfolder, take it into account
self.run("git clone https://github.com/javierjeronimo/crow.git")
shutil.move("crow/*", ".")
def build(self):
cmake = CMake(self.settings)
# self.run('cmake %s %s' % (self.conanfile_directory, cmake.command_line))
self.run('cmake %s/crow %s' % (self.conanfile_directory, cmake.command_line))
self.run("cmake . %s" % cmake.build_config)
self.run("make")