git subrepo clone git@git.pcmuhely.hu:mississippi/mississippi-mcu-platform-x86_gtest.git platforms/test
subrepo: subdir: "platforms/test" merged: "a470f35" upstream: origin: "git@git.pcmuhely.hu:mississippi/mississippi-mcu-platform-x86_gtest.git" branch: "master" commit: "a470f35" git-subrepo: version: "0.4.0" origin: "https://github.com/ingydotnet/git-subrepo" commit: "7cac75d"
This commit is contained in:
parent
62afeabbbc
commit
2c3fbb4db8
281 changed files with 114282 additions and 0 deletions
19
platforms/test/component.mk
Normal file
19
platforms/test/component.mk
Normal file
|
@ -0,0 +1,19 @@
|
|||
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)/gtest_i386/include)
|
||||
$(eval LIBDIR += -L$(REL_DIR)/gtest_i386/lib)
|
||||
$(eval LIBS += -lgtest -lgtest_main -lpthread)
|
||||
$(eval COMPONENT_DEPS += gtest_build)
|
||||
|
||||
gtest_build: | $(REL_DIR)/gtest_i386
|
||||
|
||||
$(REL_DIR)/gtest_i386:
|
||||
$(REL_DIR)/build-googletest.sh gtest_i386
|
||||
|
||||
ifeq ($(MKDBG), 1)
|
||||
$(info <<<)
|
||||
endif
|
Loading…
Add table
Add a link
Reference in a new issue