Skip to content

Commit ccb37eb

Browse files
committed
CMake: Set compile options (-Wall -Wextra -Wpedantic -Werror)
1 parent cb96b57 commit ccb37eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

service/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ target_link_libraries (${BIN_NAME}
6868
${GLIB2_LDFLAGS}
6969
${PMLOG_LDFLAGS}
7070
)
71+
target_compile_options(${BIN_NAME} PRIVATE -Wall -Wextra -Wpedantic -Werror)
7172

7273
file(COPY ${CMAKE_SOURCE_DIR}/services.json DESTINATION "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")
7374
file(COPY ${CMAKE_SOURCE_DIR}/scripts/autostart.sh DESTINATION "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}")

0 commit comments

Comments
 (0)