Advertisement
Guest User

Untitled

a guest
Jul 17th, 2020
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.63 KB | None | 0 0
  1. MAKEFILE_DIR=C:/STM32_Projects/blink_project/test
  2.  
  3.  
  4. PROJECT_DIR=C:/STM32_Projects/blink_project
  5. TEST_DIR=$(PROJECT_DIR)/test
  6.  
  7. CPPUTEST_HOME=$(TEST_DIR)/cpputest
  8.  
  9. # project source files path
  10. SRC_DIRS=$(PROJECT_DIR)
  11.  
  12. # project header files path
  13. INCLUDE_DIRS=$(PROJECT_DIR)
  14.  
  15. # add this to avoid problems when including cpputest headers on test files
  16. INCLUDE_DIRS+=$(CPPUTEST_HOME)/include
  17.  
  18. ## specify where the test code is located
  19. TEST_SRC_DIRS=$(TEST_DIR)
  20.  
  21. ## what to call the test binary
  22. TEST_TARGET=test_runner
  23.  
  24. #run MakefileWorker.mk with the variables defined here
  25. include $(CPPUTEST_HOME)/build/MakefileWorker.mk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement