replaced gtest + mockme with CPPUtest + subhook
Part 1
This commit is contained in:
parent
95af4ce0d8
commit
8709bcb465
284 changed files with 87 additions and 113526 deletions
23
platforms/platform-test-f4-ll/component.mk
Normal file
23
platforms/platform-test-f4-ll/component.mk
Normal file
|
@ -0,0 +1,23 @@
|
|||
SELF_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
|
||||
REL_DIR := $(patsubst %/,%,$(dir $(lastword $(MAKEFILE_LIST))))
|
||||
ifeq ($(MKDBG), 1)
|
||||
$(info >>> $(REL_DIR)/component.mk)
|
||||
endif
|
||||
$(eval C_SOURCES += $(wildcard $(REL_DIR)/platform/*.c))
|
||||
$(eval COMMON_INCLUDES += \
|
||||
-I$(REL_DIR) \
|
||||
-I$(REL_DIR)/cpputest_i386/include \
|
||||
-I$(REL_DIR)/subhook_i386/include)
|
||||
$(eval LIBDIR += -L$(REL_DIR)/cpputest_i386/lib -L$(REL_DIR)/subhook_i386/lib)
|
||||
$(eval LIBS += -lCppUTestExt -lCppUTest -lsubhook -lpthread)
|
||||
$(eval COMPONENT_DEPS += $(REL_DIR)/cpputest_i386 $(REL_DIR)/subhook_i386)
|
||||
|
||||
$(REL_DIR)/cpputest_i386:
|
||||
$(REL_DIR)/build_cpputest.sh
|
||||
|
||||
$(REL_DIR)/subhook_i386:
|
||||
$(REL_DIR)/build_subhook.sh
|
||||
|
||||
ifeq ($(MKDBG), 1)
|
||||
$(info <<<)
|
||||
endif
|
Loading…
Add table
Add a link
Reference in a new issue