[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/expresscpp/expresscpp/master/test_package/conanfile.py [Back]  [Original]

#!/usr/bin/env python

import os.path
from conans import ConanFile, CMake


class ExpressCppTestConan(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = ["cmake_find_package", "cmake", "cmake_paths"]

    def build(self):
        cmake = CMake(self)
        cmake.configure()
        cmake.build()

    def test(self):
        bin_path = os.path.join("bin", "expresscpp-app")
        self.run(bin_path, run_environment=True)

Web Proxy Viewer  |  New URL  |  Original Page