anbox/external/backward-cpp/test_package/conanfile.py
Shengjing Zhu 5e35efbf73 external: update backward-cpp to v1.4
rename the directory name to backward-cpp

Closes: #803
Signed-off-by: Shengjing Zhu <i@zhsj.me>
2018-07-08 00:22:45 +08:00

14 lines
367 B
Python

from conans import ConanFile, CMake
import os
class TestBackward(ConanFile):
settings = 'os', 'compiler', 'build_type', 'arch'
generators = 'cmake'
def build(self):
cmake = CMake(self)
cmake.configure(defs={'CMAKE_VERBOSE_MAKEFILE': 'ON'})
cmake.build()
def test(self):
self.run(os.path.join('.', 'bin', 'example'))