Browse Source

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

Cleanup imports
pull/2/head
Alibek Omarov 2 years ago committed by GitHub
parent
commit
e0216e2658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      wscript

8
wscript

@ -2,8 +2,7 @@
# encoding: utf-8 # encoding: utf-8
# a1batross, mittorn, 2018 # a1batross, mittorn, 2018
from __future__ import print_function from waflib import Build, Context, Logs
from waflib import Logs, Context, Configure
import sys import sys
import os import os
@ -380,6 +379,11 @@ int main(void){ return !opus_custom_encoder_init(0, 0, 0); }''', fatal = False):
conf.add_subproject(i.name) conf.add_subproject(i.name)
def build(bld): 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') bld.load('xshlib')
for i in SUBDIRS: for i in SUBDIRS:

Loading…
Cancel
Save