From 9aa05526ca323258c4879520093a0fe27826d53c Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 20 Jul 2021 11:27:31 +1000 Subject: Add OPTIMIZATION variable so caller can choose optimization level. Drop lexlib from include path as no longer part of Scintilla. For clang on Windows, turn off deprecated function warning and disable sanitizers as they are slow. --- test/unit/test.mak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/unit/test.mak') diff --git a/test/unit/test.mak b/test/unit/test.mak index 116c6c0d5..9e1c9acf4 100644 --- a/test/unit/test.mak +++ b/test/unit/test.mak @@ -4,9 +4,9 @@ DEL = del /q EXE = unitTest.exe -INCLUDEDIRS = /I../../include /I../../src /I../../lexlib +INCLUDEDIRS = /I../../include /I../../src -CXXFLAGS = /EHsc /std:c++17 /D_HAS_AUTO_PTR_ETC=1 /wd 4805 $(INCLUDEDIRS) +CXXFLAGS = /EHsc /std:c++17 $(OPTIMIZATION) /nologo /D_HAS_AUTO_PTR_ETC=1 /wd 4805 $(INCLUDEDIRS) # Files in this directory containing tests TESTSRC=test*.cxx -- cgit v1.2.3