mirror of https://gitlab.com/ita1024/waf.git
Warn against loading gccdeps/msvcdeps options
This commit is contained in:
parent
b78ecf361c
commit
e64467892c
|
@ -7,9 +7,12 @@ Execute the tasks with gcc -MD, read the dependencies from the .d file
|
|||
and prepare the dependency calculation for the next run.
|
||||
This affects the cxx class, so make sure to load Qt5 after this tool.
|
||||
|
||||
Usage:
|
||||
Usage::
|
||||
|
||||
def options(opt):
|
||||
opt.load('compiler_cxx')
|
||||
def configure(conf):
|
||||
conf.load('gccdeps')
|
||||
conf.load('compiler_cxx gccdeps')
|
||||
"""
|
||||
|
||||
import os, re, threading
|
||||
|
@ -206,3 +209,6 @@ def configure(conf):
|
|||
conf.env.append_value('CXXFLAGS', gccdeps_flags)
|
||||
conf.env.append_unique('ENABLE_GCCDEPS', 'cxx')
|
||||
|
||||
def options(opt):
|
||||
raise ValueError('Do not load gccdeps options')
|
||||
|
||||
|
|
|
@ -16,6 +16,13 @@ The technique of gutting scan() and pushing the dependency calculation
|
|||
down to post_run() is cribbed from gccdeps.py.
|
||||
|
||||
This affects the cxx class, so make sure to load Qt5 after this tool.
|
||||
|
||||
Usage::
|
||||
|
||||
def options(opt):
|
||||
opt.load('compiler_cxx')
|
||||
def configure(conf):
|
||||
conf.load('compiler_cxx msvcdeps')
|
||||
'''
|
||||
|
||||
import os, sys, tempfile, threading
|
||||
|
@ -244,3 +251,6 @@ for k in ('c', 'cxx'):
|
|||
if k in Task.classes:
|
||||
wrap_compiled_task(k)
|
||||
|
||||
def options(opt):
|
||||
raise ValueError('Do not load msvcdeps options')
|
||||
|
||||
|
|
Loading…
Reference in New Issue