Have conan test-build the package in a separate subdirectory

This commit is contained in:
Martin Hořeňovský 2019-05-23 14:29:45 +02:00
parent bfb4ee1597
commit 90378f4a59
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -18,7 +18,7 @@ class CatchConan(ConanFile):
cmake.definitions["BUILD_TESTING"] = "OFF" cmake.definitions["BUILD_TESTING"] = "OFF"
cmake.definitions["CATCH_INSTALL_DOCS"] = "OFF" cmake.definitions["CATCH_INSTALL_DOCS"] = "OFF"
cmake.definitions["CATCH_INSTALL_HELPERS"] = "ON" cmake.definitions["CATCH_INSTALL_HELPERS"] = "ON"
cmake.configure() cmake.configure(build_folder='build')
cmake.install() cmake.install()
self.copy(pattern="LICENSE.txt", dst="licenses") self.copy(pattern="LICENSE.txt", dst="licenses")