You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
19 lines
575 B
19 lines
575 B
from conans import ConanFile, CMake |
|
import os |
|
|
|
channel = os.getenv("CONAN_CHANNEL", "testing") |
|
username = os.getenv("CONAN_USERNAME", "g-truc") |
|
|
|
class TestGlm(ConanFile): |
|
settings = "os", "compiler", "build_type", "arch" |
|
requires = "glm/master@%s/%s" % (username, channel) |
|
generators = "cmake" |
|
|
|
def build(self): |
|
cmake = CMake(self) |
|
self.run('cmake "%s" %s' % (self.conanfile_directory, cmake.command_line)) |
|
self.run("cmake --build . %s" % cmake.build_config) |
|
|
|
def test(self): |
|
self.run(os.sep.join([".","bin", "testGlm"])) |
|
|
|
|