Main Page
Modules
Namespaces
Classes
Files
File List
File Members
conan
test_package
conan/test_package/conanfile.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*-
3
import
os
4
from
conans
import
ConanFile, CMake
5
6
7
class
TestPackageConan
(ConanFile):
8
settings =
"os"
,
"compiler"
,
"build_type"
,
"arch"
9
generators =
"cmake"
10
11
def
build
(self):
12
cmake = CMake(self)
13
cmake.configure()
14
cmake.build()
15
16
def
test
(self):
17
assert
os.path.isfile(os.path.join(self.deps_cpp_info[
"BehaviorTree.CPP"
].rootpath,
"licenses"
,
"LICENSE"
))
18
bin_path = os.path.join(
"bin"
,
"test_package"
)
19
self.run(bin_path, run_environment=
True
)
conanfile.TestPackageConan
Definition:
conan/test_package/conanfile.py:7
conanfile.TestPackageConan.test
def test(self)
Definition:
conan/test_package/conanfile.py:16
conanfile.TestPackageConan.build
def build(self)
Definition:
conan/test_package/conanfile.py:11
behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sun Feb 3 2019 03:14:32