summaryrefslogtreecommitdiffstats
path: root/ksysguard/ksysguardd/Linux/CMakeLists.txt
blob: f1b02080c1b391683c6ad181ab6635425070a9cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#################################################
#
#  (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
)