mirror of
https://github.com/otakuto/crazydiskinfo.git
synced 2025-08-13 01:05:22 +00:00
Made using Decimal for Raw Value a CMake option
RAW_VALUES_DEC can be turned ON or OFF
This commit is contained in:
parent
9fbf4cd441
commit
212bc613d8
2 changed files with 8 additions and 0 deletions
|
@ -1,7 +1,11 @@
|
|||
cmake_minimum_required(VERSION 2.8.0)
|
||||
option(RAW_VALUES_DEC "Display Raw Values in Decimal instead of Hex" OFF)
|
||||
project(CrazyDiskInfo CXX)
|
||||
add_executable(CrazyDiskInfo main.cpp)
|
||||
set(CMAKE_CXX_FLAGS "-Wall -std=c++11")
|
||||
if(RAW_VALUES_DEC)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DRAWDEC")
|
||||
endif()
|
||||
SET_TARGET_PROPERTIES(CrazyDiskInfo PROPERTIES OUTPUT_NAME crazy)
|
||||
target_link_libraries(CrazyDiskInfo atasmart)
|
||||
target_link_libraries(CrazyDiskInfo ncursesw)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue