forked from telekom/sysrepo-plugin-system
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request telekom#18 from telekom/devel
Plugin update: use newest SRPC API and improve startup and running DS functionality
- Loading branch information
Showing
79 changed files
with
535 additions
and
712 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,24 @@ | ||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) | ||
|
||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99") | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic") | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra") | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wconversion") | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wcast-align") | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wstrict-prototypes") | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wuninitialized") | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow") | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wformat=2") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wextra") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wconversion") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wcast-align") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wstrict-prototypes") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wuninitialized") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wshadow") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wformat=2") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_GNU_SOURCE") | ||
|
||
if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 5) | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=incompatible-pointer-types") | ||
endif () | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter") | ||
if (CMAKE_C_COMPILER_ID MATCHES "Clang") | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-newline-eof") | ||
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-gnu-zero-variadic-macro-arguments") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror=incompatible-pointer-types") | ||
endif() | ||
|
||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-parameter") | ||
|
||
if(CMAKE_C_COMPILER_ID MATCHES "Clang") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-newline-eof") | ||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-gnu-zero-variadic-macro-arguments") | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.