summaryrefslogtreecommitdiffstats
path: root/ksysguard/ksysguardd/Linux/CMakeLists.txt
blob: b0cff42059d41a91481c892d6033202d63203899 (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
#################################################
#
#  (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()

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
)