From e360dfd80044f59e4b9eab9727a04829147e5bfb Mon Sep 17 00:00:00 2001 From: otakuto Date: Fri, 20 Jan 2017 13:34:15 +0900 Subject: [PATCH] add CMakeLists.txt --- 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..658b2a1 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,8 @@ +cmake_minimum_required(VERSION 3.0.0) +project(CrazyDiskInfo CXX) +add_executable(CrazyDiskInfo main.cpp) +set(CMAKE_CXX_FLAGS "-Wall -std=c++14") +SET_TARGET_PROPERTIES(CrazyDiskInfo PROPERTIES OUTPUT_NAME crazy) +target_link_libraries(CrazyDiskInfo atasmart) +target_link_libraries(CrazyDiskInfo ncursesw) +INSTALL(TARGETS CrazyDiskInfo RUNTIME DESTINATION /usr/sbin)