makefile: make it possible to turn on matchcompiler verifications with 'VERIFY=1'
This commit is contained in:
parent
0943fecf03
commit
e1fd003e2d
6
Makefile
6
Makefile
|
@ -11,7 +11,11 @@ ifndef SRCDIR
|
|||
endif
|
||||
|
||||
ifeq ($(SRCDIR),build)
|
||||
matchcompiler_S := $(shell python tools/matchcompiler.py)
|
||||
ifdef VERIFY
|
||||
matchcompiler_S := $(shell python tools/matchcompiler.py --verify)
|
||||
else
|
||||
matchcompiler_S := $(shell python tools/matchcompiler.py)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Set the CPPCHK_GLIBCXX_DEBUG flag. This flag is not used in release Makefiles.
|
||||
|
|
|
@ -234,7 +234,11 @@ int main(int argc, char **argv)
|
|||
fout << "# folder where lib/*.cpp files are located\n";
|
||||
makeConditionalVariable(fout, "SRCDIR", "lib");
|
||||
fout << "ifeq ($(SRCDIR),build)\n"
|
||||
<< " matchcompiler_S := $(shell python tools/matchcompiler.py)\n"
|
||||
<< " ifdef VERIFY\n"
|
||||
<< " matchcompiler_S := $(shell python tools/matchcompiler.py --verify)\n"
|
||||
<< " else\n"
|
||||
<< " matchcompiler_S := $(shell python tools/matchcompiler.py)\n"
|
||||
<< " endif\n"
|
||||
<< "endif\n\n";
|
||||
|
||||
// The _GLIBCXX_DEBUG doesn't work in cygwin or other Win32 systems.
|
||||
|
|
Loading…
Reference in New Issue