mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-04 02:29:49 -06:00
Add python script to build all modules with warnings as errors
This commit is contained in:
14
support/jenkins/buildAllModulesWithErrors.py
Normal file
14
support/jenkins/buildAllModulesWithErrors.py
Normal file
@@ -0,0 +1,14 @@
|
||||
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")
|
||||
cmd.append("-OPENSPACE_WARNINGS_AS_ERRORS=ON")
|
||||
for m in modules:
|
||||
cmd.append("-DOPENSPACE_MODULE_" + m.upper() + "=ON")
|
||||
|
||||
cmd.append("..")
|
||||
call(cmd)
|
||||
Reference in New Issue
Block a user