mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 11:39:49 -06:00
13 lines
284 B
Python
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) |