X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=CMakeLists.txt;fp=CMakeLists.txt;h=8c449f9be6acb45034c232c261e1aa210301b70a;hb=5df0cd6e15235609713b7c1d263058e751d44a20;hp=0000000000000000000000000000000000000000;hpb=a7dc0526f81997fbdc27109452a8e4e519c4b69a;p=project%2Ffwtool.git 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})