32 lines
1.1 KiB
32 lines
1.1 KiB
4 years ago
|
; PlatformIO Project Configuration File
|
||
|
;
|
||
|
; Build options: build flags, source filter
|
||
|
; Upload options: custom upload port, speed and extra flags
|
||
|
; Library options: dependencies, extra library storages
|
||
|
; Advanced options: extra scripting
|
||
|
;
|
||
|
; Please visit documentation for the other options and examples
|
||
|
; http://docs.platformio.org/page/projectconf.html
|
||
|
|
||
|
|
||
|
[platformio]
|
||
|
#src_dir = ./googlemock
|
||
|
#src_dir = ./googletest
|
||
|
src_dir = .
|
||
|
|
||
|
[env:googletest_esp32]
|
||
|
platform = espressif32
|
||
|
board = esp32dev
|
||
|
framework = arduino
|
||
|
build_flags = -I./googletest/include -I./googletest
|
||
|
src_filter = +<*> -<.git/> -<googlemock> -<googletest/codegear/> -<googletest/samples> -<googletest/test/> -<googletest/xcode> -<googletest/src> +<googletest/src/gtest-all.cc> +<googletest/src/gtest_main.cc>
|
||
|
upload_speed = 921600
|
||
|
|
||
|
[env:googlemock_esp32]
|
||
|
platform = espressif32
|
||
|
board = esp32dev
|
||
|
framework = arduino
|
||
|
build_flags = -I./googlemock/include -I./googletest/include -I./googletest -I./googlemock
|
||
|
src_filter = +<*> -<.git/> -<googletest> -<googlemock/test/> -<googlemock/src> +<googlemock/src/gmock-all.cc> +<googlemock/src/gmock_main.cc> +<googletest/src/gtest-all.cc>
|
||
|
upload_speed = 921600
|