mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 10:44:34 +00:00
16 lines
421 B
Python
16 lines
421 B
Python
|
from conans import ConanFile, CMake
|
||
|
import os
|
||
|
|
||
|
class TestGlm(ConanFile):
|
||
|
settings = "os", "compiler", "build_type", "arch"
|
||
|
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"]))
|
||
|
|