Files
cpp-project-template/third_party/prometheus/3rdparty/civetweb/test/MakefileTest.mk
tqcq c68893bace
Some checks failed
sm-rpc / build (Debug, aarch64-linux-gnu) (push) Failing after 29s
sm-rpc / build (Debug, arm-linux-gnueabihf) (push) Failing after 16s
sm-rpc / build (Debug, host.gcc) (push) Failing after 11s
sm-rpc / build (Debug, mipsel-linux-gnu) (push) Failing after 12s
sm-rpc / build (Release, aarch64-linux-gnu) (push) Failing after 11s
sm-rpc / build (Release, arm-linux-gnueabihf) (push) Failing after 11s
sm-rpc / build (Release, host.gcc) (push) Failing after 12s
sm-rpc / build (Release, mipsel-linux-gnu) (push) Failing after 16s
feat add spdlog
2025-08-22 18:22:57 +08:00

89 lines
2.2 KiB
Makefile

#
# Copyright (c) 2013 No Face Press, LLC
# License http://opensource.org/licenses/mit-license.php MIT License
#
#This makefile is used to test the other Makefiles
TOP = ..
TEST_OUT = test_install
include $(TOP)/resources/Makefile.in-os
all: test
test: buildoptions buildlibs buildinstall
test: buildexamples threaded
ifeq ($(TARGET_OS),OSX)
test: dmg
endif
test: clean
@echo PASSED
dmg:
@echo "================"
$(MAKE) -C $(TOP) -f Makefile.osx clean package
buildexamples:
@echo "================"
$(MAKE) -C $(TOP)/examples/embedded_c clean all
$(MAKE) -C $(TOP)/examples/embedded_c clean
@echo "================"
$(MAKE) -C $(TOP)/examples/embedded_cpp clean all
$(MAKE) -C $(TOP)/examples/embedded_cpp clean
@echo "================"
$(MAKE) -C $(TOP)/examples/chat clean all
$(MAKE) -C $(TOP)/examples/chat clean
@echo "================"
$(MAKE) -C $(TOP)/examples/hello clean all
$(MAKE) -C $(TOP)/examples/hello clean
@echo "================"
$(MAKE) -C $(TOP)/examples/post clean all
$(MAKE) -C $(TOP)/examples/post clean
@echo "================"
$(MAKE) -C $(TOP)/examples/upload clean all
$(MAKE) -C $(TOP)/examples/upload clean
@echo "================"
$(MAKE) -C $(TOP)/examples/websocket clean all
$(MAKE) -C $(TOP)/examples/websocket clean
buildoptions:
@echo "================"
$(MAKE) -C $(TOP) clean build
@echo "================"
$(MAKE) -C $(TOP) clean build WITH_IPV6=1
@echo "================"
$(MAKE) -C $(TOP) clean build WITH_WEBSOCKET=1
@echo "================"
$(MAKE) -C $(TOP) clean build WITH_LUA=1
@echo "================"
$(MAKE) -C $(TOP) clean build WITH_LUA=1 WITH_IPV6=1 WITH_WEBSOCKET=1
threaded:
@echo "================"
$(MAKE) -j 8 -C $(TOP) clean WITH_LUA=1
$(MAKE) -j 8 -C $(TOP) build WITH_LUA=1
buildinstall:
@echo "================"
$(MAKE) -C $(TOP) clean install PREFIX=$(TEST_OUT)
buildlibs:
@echo "================"
$(MAKE) -C $(TOP) clean lib
@echo "================"
$(MAKE) -C $(TOP) clean slib
@echo "================"
$(MAKE) -C $(TOP) clean lib WITH_CPP=1
@echo "================"
$(MAKE) -C $(TOP) clean slib WITH_CPP=1
clean:
@echo "================"
$(MAKE) -C $(TOP) clean
rm -rf $(TOP)/$(TEST_OUT)
.PHONY: all buildoptions buildinstall clean os linux