parent
88632c3b98
commit
5b1fef5431
@ -0,0 +1,2 @@
|
||||
Roy Marples <roy@marples.name>
|
||||
Calvin Morrison <mutantturkey@gmail.com>
|
@ -0,0 +1,66 @@
|
||||
#################################################
|
||||
#
|
||||
# (C) 2010-2011 Serghei Amelian
|
||||
# serghei (DOT) amelian (AT) gmail.com
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
#################################################
|
||||
|
||||
cmake_minimum_required( VERSION 2.8 )
|
||||
|
||||
|
||||
##### general package setup #####################
|
||||
|
||||
project( khdapsmonitor )
|
||||
|
||||
set( PACKAGE kdebase )
|
||||
set( VERSION "3.5.13" )
|
||||
|
||||
|
||||
##### include essential cmake modules ###########
|
||||
|
||||
include( FindPkgConfig )
|
||||
include( CheckIncludeFile )
|
||||
include( CheckCSourceRuns )
|
||||
include( CheckCXXSourceCompiles )
|
||||
include( CheckLibraryExists )
|
||||
include( CheckFunctionExists )
|
||||
include( CheckStructHasMember )
|
||||
|
||||
|
||||
##### include our cmake modules #################
|
||||
|
||||
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
|
||||
include( TDEMacros )
|
||||
|
||||
|
||||
##### setup install paths #######################
|
||||
|
||||
include( TDESetupPaths )
|
||||
tde_setup_paths( )
|
||||
|
||||
find_package( TQt )
|
||||
find_package( TDE )
|
||||
|
||||
##### set PKG_CONFIG_PATH #######################
|
||||
|
||||
set( ENV{PKG_CONFIG_PATH} "${PKG_CONFIG_PATH}:$ENV{PKG_CONFIG_PATH}:${LIB_INSTALL_DIR}/pkgconfig" )
|
||||
|
||||
|
||||
##### configure checks ##########################
|
||||
|
||||
###### global compiler settings #################
|
||||
|
||||
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
|
||||
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
|
||||
set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
|
||||
|
||||
|
||||
##### kdebase directories #######################
|
||||
|
||||
add_subdirectory( src )
|
||||
|
||||
##### write configure files #####################
|
||||
|
||||
configure_file( config.h.cmake config.h @ONLY )
|
@ -0,0 +1,5 @@
|
||||
KHDAPSMonitor is a TDE based monitor for laptops that support the IBM
|
||||
Hard Drive Active Protection System (http://hdaps.sf.net)
|
||||
|
||||
You'll need to be running the hdapsd daemon to get monitoring support.
|
||||
|
@ -0,0 +1,4 @@
|
||||
Documentation - lol
|
||||
Better Polling
|
||||
Configurable interval
|
||||
Configurable readings (keyboard, mouse etc)
|
Loading…
Reference in new issue