2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 09:56:22 +01:00

wscript: don't clean QtCreator files and reconfigure saved options

Cleanup imports
This commit is contained in:
Alibek Omarov 2022-10-04 03:02:49 +03:00 committed by GitHub
parent 0f2bb5720b
commit e0216e2658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,7 @@
# encoding: utf-8
# a1batross, mittorn, 2018
from __future__ import print_function
from waflib import Logs, Context, Configure
from waflib import Build, Context, Logs
import sys
import os
@ -380,6 +379,11 @@ int main(void){ return !opus_custom_encoder_init(0, 0, 0); }''', fatal = False):
conf.add_subproject(i.name)
def build(bld):
# don't clean QtCreator files and reconfigure saved options
bld.clean_files = bld.bldnode.ant_glob('**',
excl='*.user configuration.py .lock* *conf_check_*/** config.log %s/*' % Build.CACHE_DIR,
quiet=True, generator=True)
bld.load('xshlib')
for i in SUBDIRS: