From 5df0cd6e15235609713b7c1d263058e751d44a20 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Thu, 17 Oct 2019 14:50:48 +0200 Subject: [PATCH] convert into CMake project MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Aligning it with other C based projects. Signed-off-by: Petr Å tetiar --- 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 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}) -- 2.30.2