def build(self): cmake = CMake(self) cmake.configure() cmake.build() if self.options.run_tests: with tools.run_environment(self): cmake.test(output_on_failure=True)
def build(self): cmake = CMake(self) with tools.run_environment(self): cmake.configure() cmake.build() if self.options.run_tests: with tools.environment_append({"CTEST_OUTPUT_ON_FAILURE": "1"}): cmake.test()
def build(self): cmake = CMake(self) cmake.configure(source_folder=None if self._run_tests else "src") cmake.build() if self._run_tests: cmake.test(output_on_failure=True)
def test(self): if not tools.cross_building(self): cmake = CMake(self) with tools.run_environment(self): cmake.test()
def build(self): cmake = CMake(self) cmake.configure() cmake.build() if self.options.build_tests: cmake.test(output_on_failure=True)
def build(self): cmake = CMake(self) cmake.configure() cmake.build() if self.settings.arch == "x86_64": cmake.test()
def build(self): cmake = CMake(self) cmake.configure(build_script_folder=None if self._run_tests else "src") cmake.build() if self._run_tests: cmake.test()
def test(self): if not tools.cross_building(self): cmake = CMake(self) cmake.test()