You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
797 B
37 lines
797 B
#################################################
|
|
#
|
|
# (C) 2010-2011 Serghei Amelian
|
|
# serghei (DOT) amelian (AT) gmail.com
|
|
#
|
|
# Improvements and feedback are welcome
|
|
#
|
|
# This file is released under GPL >= 2
|
|
#
|
|
#################################################
|
|
|
|
add_definitions( -D_GNU_SOURCE )
|
|
|
|
if( WITH_I8K )
|
|
add_definitions( -DHAVE_I8K_SUPPORT )
|
|
endif()
|
|
|
|
if( WITH_SENSORS )
|
|
add_definitions( -DHAVE_SENSORS_SENSORS_H )
|
|
endif()
|
|
|
|
include_directories(
|
|
${CMAKE_BINARY_DIR}
|
|
${CMAKE_SOURCE_DIR}/ksysguard/CContLib
|
|
${CMAKE_SOURCE_DIR}/ksysguard/ksysguardd
|
|
)
|
|
|
|
|
|
##### ksysguardd (static) #######################
|
|
|
|
tde_add_library( ksysguardd STATIC
|
|
SOURCES
|
|
ProcessList.c Memory.c stat.c netdev.c apm.c acpi.c
|
|
loadavg.c cpuinfo.c lmsensors.c netstat.c diskstat.c
|
|
logfile.c i8k.c
|
|
)
|