Browse Source

added common warnigs levels to test build

The gcc options -Wall, -Wextra and -Werror are common build option.
The options should be used to ensure warning free building.
pull/27/head
Vitus Birkmeir 3 years ago
parent
commit
1fc1f4ff91
  1. 2
      test-in-docker/src/CMakeLists.txt

2
test-in-docker/src/CMakeLists.txt

@ -18,6 +18,8 @@ include_directories(
include(${LWIP_DIR}/src/Filelists.cmake)
add_compile_options(-Wall -Wextra -Werror)
add_executable(lwip-runner
${CMAKE_CURRENT_SOURCE_DIR}/main.c
${CMAKE_CURRENT_SOURCE_DIR}/../lwip-include/sys_arch.c

Loading…
Cancel
Save