Files
OpenSpace/support/jenkins/buildAllModules.py
2015-05-27 11:15:53 +02:00

13 lines
284 B
Python

import os
from subprocess import call
# To be called from the build folder in the OpenSpace
modules = os.listdir("../modules")
cmd = ["cmake"]
cmd.append("-DGHOUL_USE_DEVIL=OFF")
for m in modules:
cmd.append("-DOPENSPACE_MODULE_" + m.upper() + "=ON")
cmd.append("..")
call(cmd)