kopia lustrzana https://github.com/espressif/esp-idf
16 wiersze
758 B
CMake
16 wiersze
758 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
|
|
# Here for reproducible builds, we use the CI compile options to make sure they're same.
|
|
# Use -ffile-prefix-map to map the local path prefix to ci path prefix
|
|
|
|
set(ENV{EXTRA_CFLAGS} "-DIDF_CI_BUILD -Werror -Werror=deprecated-declarations -Werror=unused-variable \
|
|
-Werror=unused-but-set-variable -Werror=unused-function -Wstrict-prototypes \
|
|
-ffile-prefix-map=$ENV{IDF_PATH}=/builds/espressif/esp-idf")
|
|
|
|
set(ENV{EXTRA_CXXFLAGS} "-DIDF_CI_BUILD -Werror -Werror=deprecated-declarations -Werror=unused-variable \
|
|
-Werror=unused-but-set-variable -Werror=unused-function \
|
|
-ffile-prefix-map=$ENV{IDF_PATH}=/builds/espressif/esp-idf")
|
|
|
|
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
|
project(test_core_dump)
|