Aligning it with other C based projects.

Signed-off-by: Petr Štetiar <[email protected]>
---
 CMakeLists.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 CMakeLists.txt

diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 000000000000..a73ce69f74c0
--- /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_SBINDIR})

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to