mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-23 11:44:53 +00:00
Tuning test
This commit is contained in:
1 parent
21c0024a2f
commit
72019b7427
2 files changed
+5
-3
No files matched your search
@@ -15,6 +15,9 @@ matrix:
|
||||
- os: osx
|
||||
compiler: clang
|
||||
script: make mg_prefix
|
||||
- os: osx
|
||||
compiler: clang
|
||||
script: ls -l /usr/include/mbedtls
|
||||
- os: linux
|
||||
compiler: msvc98
|
||||
script: make vc98 vc2017
|
||||
|
||||
@@ -35,7 +35,7 @@ mg_prefix: mongoose.c mongoose.h
|
||||
$(CLANG) mongoose.c $(CFLAGS) -c -o /tmp/x.o && nm /tmp/x.o | grep ' T' | grep -v 'mg_' ; test $$? = 1
|
||||
|
||||
# C++ build
|
||||
test++: CLANG = g++ -Wno-deprecated
|
||||
test++: CLANG = g++ -Wno-deprecated -Wno-missing-field-initializers
|
||||
test++: unamalgamated
|
||||
|
||||
# Make sure we can build from an unamalgamated sources
|
||||
@@ -73,8 +73,7 @@ linux: clean Makefile mongoose.c mongoose.h test/unit_test.c
|
||||
$(GCC) $(CC) mongoose.c test/unit_test.c $(CFLAGS) $(LDFLAGS) -o unit_test_gcc
|
||||
$(GCC) ./unit_test_gcc
|
||||
|
||||
linux++: CC=g++
|
||||
linux++: CFLAGS += -Wno-missing-field-initializers
|
||||
linux++: CC = g++ -Wno-missing-field-initializers
|
||||
linux++: linux
|
||||
|
||||
mongoose.c: $(SRCS) Makefile
|
||||
|
||||
Reference in new issue
Block a user