Now build old classes and build tests are command line settings.

This commit is contained in:
Relintai 2023-04-27 19:38:50 +02:00
parent d5d3ac9e9c
commit 40d2f95a57
2 changed files with 10 additions and 2 deletions

9
SCsub
View File

@ -4,6 +4,15 @@ Import('env')
module_env = env.Clone() module_env = env.Clone()
module_env.pmlpp_build_old_classes = True
module_env.pmlpp_build_tests = True
if ARGUMENTS.get('pmlpp_build_old_classes', 'yes') == 'no':
module_env.pmlpp_build_old_classes = False
if ARGUMENTS.get('pmlpp_build_tests', 'yes') == 'no':
module_env.pmlpp_build_tests = False
sources = [ sources = [
"register_types.cpp", "register_types.cpp",

View File

@ -3,8 +3,7 @@ def can_build(env, platform):
return True return True
def configure(env): def configure(env):
env.pmlpp_build_old_classes = True pass
env.pmlpp_build_tests = True
def get_doc_classes(): def get_doc_classes():
return [ return [