2018-10-25 04:52:32 +00:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
unity/src/unity.o: CFLAGS += -Wno-unused-const-variable
|
|
|
|
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS = include unity/src
|
|
|
|
COMPONENT_SRCDIRS = unity/src .
|
|
|
|
|
2018-11-29 09:06:21 +00:00
|
|
|
ifdef CONFIG_UNITY_ENABLE_BACKTRACE_ON_FAIL
|
|
|
|
COMPONENT_PRIV_INCLUDEDIRS += include/priv
|
|
|
|
endif
|
|
|
|
|
2018-10-25 04:52:32 +00:00
|
|
|
ifndef CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER
|
|
|
|
COMPONENT_OBJEXCLUDE += unity_runner.o
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_UNITY_ENABLE_FIXTURE
|
|
|
|
COMPONENT_SRCDIRS += unity/extras/fixture/src
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS += unity/extras/fixture/src
|
|
|
|
endif
|
|
|
|
|
|
|
|
COMPONENT_SUBMODULES := unity
|