Chris Johnson | 2c8ab3f | 2018-12-04 21:44:39 -0600 | [diff] [blame] | 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 | |
| 11 | |
| 12 | [platformio] |
| 13 | #src_dir = ./googlemock |
| 14 | #src_dir = ./googletest |
| 15 | src_dir = . |
| 16 | |
| 17 | [env:googletest_esp32] |
| 18 | platform = espressif32 |
| 19 | board = esp32dev |
| 20 | framework = arduino |
| 21 | build_flags = -I./googletest/include -I./googletest |
| 22 | src_filter = +<*> -<.git/> -<googlemock> -<googletest/codegear/> -<googletest/samples> -<googletest/test/> -<googletest/xcode> -<googletest/src> +<googletest/src/gtest-all.cc> +<googletest/src/gtest_main.cc> |
| 23 | upload_speed = 921600 |
| 24 | |
| 25 | [env:googlemock_esp32] |
| 26 | platform = espressif32 |
| 27 | board = esp32dev |
| 28 | framework = arduino |
| 29 | build_flags = -I./googlemock/include -I./googletest/include -I./googletest -I./googlemock |
| 30 | src_filter = +<*> -<.git/> -<googletest> -<googlemock/test/> -<googlemock/src> +<googlemock/src/gmock-all.cc> +<googlemock/src/gmock_main.cc> +<googletest/src/gtest-all.cc> |
| 31 | upload_speed = 921600 |