conanfile.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 # -*- coding: utf-8 -*-
00003 import os
00004 from conans import ConanFile, CMake
00005 
00006 
00007 class TestPackageConan(ConanFile):
00008     settings = "os", "compiler", "build_type", "arch"
00009     generators = "cmake"
00010 
00011     def build(self):
00012         cmake = CMake(self)
00013         cmake.configure()
00014         cmake.build()
00015 
00016     def test(self):
00017         assert os.path.isfile(os.path.join(self.deps_cpp_info["BehaviorTree.CPP"].rootpath, "licenses", "LICENSE"))
00018         bin_path = os.path.join("bin", "test_package")
00019         self.run(bin_path, run_environment=True)


behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Feb 2 2019 03:50:10