mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
More
This commit is contained in:
parent
748a95c84f
commit
09cae9f4c2
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user