First version of Conan recipe

This commit is contained in:
Torfinn Berset
2019-01-31 13:50:14 +01:00
parent 2c88f70a20
commit cd1db241ad
4 changed files with 70 additions and 0 deletions

17
test_package/conanfile.py Normal file
View File

@@ -0,0 +1,17 @@
from conans import ConanFile, CMake, tools
import os
class TinyAesCTestConan(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "cmake"
def build(self):
cmake = CMake(self)
cmake.configure()
cmake.build()
def test(self):
if not tools.cross_building(self.settings):
os.chdir("bin")
self.run(".%sexample" % os.sep)