build: test_package/conanfile.py cleanup

This commit is contained in:
Mateusz Pusz
2022-03-14 19:27:25 +01:00
parent 211a11b7c9
commit 7730e76fb7

View File

@@ -20,18 +20,12 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE. # SOFTWARE.
from conans import ConanFile, tools, RunEnvironment from conans import ConanFile, tools
from conan.tools.cmake import CMakeToolchain, CMake, CMakeDeps from conan.tools.cmake import CMake
import os
class TestPackageConan(ConanFile): class TestPackageConan(ConanFile):
settings = "os", "compiler", "build_type", "arch" settings = "os", "compiler", "build_type", "arch"
generators = "CMakeToolchain", "CMakeDeps"
def generate(self):
tc = CMakeToolchain(self)
tc.generate()
deps = CMakeDeps(self)
deps.generate()
def build(self): def build(self):
cmake = CMake(self) cmake = CMake(self)