projects
/
project
/
fwtool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7dc052
)
convert into CMake project
author
Petr Štetiar
<ynezz@true.cz>
Thu, 17 Oct 2019 12:50:48 +0000
(14:50 +0200)
committer
Petr Štetiar
<ynezz@true.cz>
Sat, 9 Nov 2019 13:23:45 +0000
(14:23 +0100)
Aligning it with other C based projects.
Signed-off-by: Petr Štetiar <ynezz@true.cz>
CMakeLists.txt
[new file with mode: 0644]
patch
|
blob
diff --git a/CMakeLists.txt
b/CMakeLists.txt
new file mode 100644
(file)
index 0000000..
8c449f9
--- /dev/null
+++ b/
CMakeLists.txt
@@ -0,0
+1,8
@@
+CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
+
+PROJECT(fwtool C)
+INCLUDE(GNUInstallDirs)
+
+ADD_DEFINITIONS(-Wall -Werror -Wextra -Wno-unused-parameter)
+ADD_EXECUTABLE(fwtool fwtool.c)
+INSTALL(TARGETS fwtool RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})