mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-23 16:41:02 +02:00
Compare commits
2
Commits
6050aa155d
...
a24bff8b08
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a24bff8b08 | ||
|
|
fe9ea67814 |
@@ -12,6 +12,10 @@ if(NOT CMAKE_BUILD_TYPE)
|
|||||||
set(CMAKE_BUILD_TYPE Release)
|
set(CMAKE_BUILD_TYPE Release)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_EXPORT_COMPILE_COMMANDS STREQUAL "")
|
||||||
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE BOOL "project default" FORCE)
|
||||||
|
endif()
|
||||||
|
|
||||||
# Add an option to enable treating warnings as errors
|
# Add an option to enable treating warnings as errors
|
||||||
option(ENABLE_WERROR "Treat all compiler warnings as errors" OFF)
|
option(ENABLE_WERROR "Treat all compiler warnings as errors" OFF)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user