Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dtmerge/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include(GNUInstallDirs)
#set project name
project(dtmerge)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
add_compile_options(-Wall -Wextra $<$<CONFIG:Debug>:-Werror>)

if (CMAKE_COMPILER_IS_GNUCC)
add_definitions (-ffunction-sections)
Expand Down
2 changes: 1 addition & 1 deletion eeptools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include(GNUInstallDirs)
#set project name
project(eeptools)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
add_compile_options(-Wall -Wextra $<$<CONFIG:Debug>:-Werror>)

if (CMAKE_COMPILER_IS_GNUCC)
add_definitions (-ffunction-sections)
Expand Down
2 changes: 1 addition & 1 deletion pinctrl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.10...3.27)
include(GNUInstallDirs)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
add_compile_options(-Wall -Wextra $<$<CONFIG:Debug>:-Werror>)

#set project name
project(pinctrl)
Expand Down
2 changes: 1 addition & 1 deletion piolib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ project(piolib)

add_compile_definitions(LIBRARY_BUILD=1)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
add_compile_options(-Wall -Wextra $<$<CONFIG:Debug>:-Werror>)

if (CMAKE_COMPILER_IS_GNUCC)
add_definitions (-ffunction-sections)
Expand Down
2 changes: 1 addition & 1 deletion piolib/examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ include(GNUInstallDirs)
#set project name
project(examples)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
add_compile_options(-Wall -Wextra $<$<CONFIG:Debug>:-Werror>)

if (CMAKE_COMPILER_IS_GNUCC)
add_definitions (-ffunction-sections)
Expand Down
2 changes: 1 addition & 1 deletion rpieepromab/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.10...3.27)
include(GNUInstallDirs)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
add_compile_options(-Wall -Wextra $<$<CONFIG:Debug>:-Werror>)

# Set project name and version
project(rpieepromab VERSION 0.2.2)
Expand Down
2 changes: 1 addition & 1 deletion rpifwcrypto/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.10...3.27)
include(GNUInstallDirs)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror")
add_compile_options(-Wall -Wextra $<$<CONFIG:Debug>:-Werror>)

# Set project name
project(rpifwcrypto)
Expand Down
2 changes: 1 addition & 1 deletion vclog/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10...3.27)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -pedantic")
add_compile_options(-Wall -Wextra $<$<CONFIG:Debug>:-Werror> -pedantic)

#set project name
project(vclog)
Expand Down