platformio.ini 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. ; PlatformIO Project Configuration File
  2. ;
  3. ; Build options: build flags, source filter
  4. ; Upload options: custom upload port, speed and extra flags
  5. ; Library options: dependencies, extra library storages
  6. ; Advanced options: extra scripting
  7. ;
  8. ; Please visit documentation for the other options and examples
  9. ; http://docs.platformio.org/page/projectconf.html
  10. [platformio]
  11. #src_dir = ./googlemock
  12. #src_dir = ./googletest
  13. src_dir = .
  14. [env:googletest_esp32]
  15. platform = espressif32
  16. board = esp32dev
  17. framework = arduino
  18. build_flags = -I./googletest/include -I./googletest
  19. src_filter = +<*> -<.git/> -<googlemock> -<googletest/codegear/> -<googletest/samples> -<googletest/test/> -<googletest/xcode> -<googletest/src> +<googletest/src/gtest-all.cc> +<googletest/src/gtest_main.cc>
  20. upload_speed = 921600
  21. [env:googlemock_esp32]
  22. platform = espressif32
  23. board = esp32dev
  24. framework = arduino
  25. build_flags = -I./googlemock/include -I./googletest/include -I./googletest -I./googlemock
  26. src_filter = +<*> -<.git/> -<googletest> -<googlemock/test/> -<googlemock/src> +<googlemock/src/gmock-all.cc> +<googlemock/src/gmock_main.cc> +<googletest/src/gtest-all.cc>
  27. upload_speed = 921600