component.mk 516 B

1234567891011121314151617181920212223
  1. #
  2. # Component Makefile
  3. #
  4. unity/src/unity.o: CFLAGS += -Wno-unused-const-variable
  5. COMPONENT_ADD_INCLUDEDIRS = include unity/src
  6. COMPONENT_SRCDIRS = unity/src .
  7. ifdef CONFIG_UNITY_ENABLE_BACKTRACE_ON_FAIL
  8. COMPONENT_PRIV_INCLUDEDIRS += include/priv
  9. endif
  10. ifndef CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER
  11. COMPONENT_OBJEXCLUDE += unity_runner.o
  12. endif
  13. ifdef CONFIG_UNITY_ENABLE_FIXTURE
  14. COMPONENT_SRCDIRS += unity/extras/fixture/src
  15. COMPONENT_ADD_INCLUDEDIRS += unity/extras/fixture/src
  16. endif
  17. COMPONENT_SUBMODULES := unity