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 @@ @@ -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): @@ -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:

Loading…
Cancel
Save