test_package/conanfile.py
Go to the documentation of this file.
1 from conans import ConanFile, CMake
2 import os
3 
4 class TestBackward(ConanFile):
5  settings = 'os', 'compiler', 'build_type', 'arch'
6  requires = 'cmake-utils/0.0.0@Manu343726/testing', 'backward/1.3.0@Manu343726/testing'
7  generators = 'cmake'
8 
9  def build(self):
10  cmake = CMake(self.settings)
11  self.run('cmake {} {}'.format(self.conanfile_directory, cmake.command_line))
12  self.run('cmake --build . {}'.format(cmake.build_config))
13 
14  def test(self):
15  self.run(os.path.join('.', 'bin', 'example'))
conanfile.TestBackward.build
def build(self)
Definition: test_package/conanfile.py:9
conanfile.TestBackward.settings
string settings
Definition: test_package/conanfile.py:5
conanfile.TestBackward.test
def test(self)
Definition: test_package/conanfile.py:14
conanfile.TestBackward
Definition: test_package/conanfile.py:4


backward_ros
Author(s):
autogenerated on Tue Mar 1 2022 23:50:48