summaryrefslogtreecommitdiffstats
path: root/src/libktorrent/util/CMakeLists.txt
blob: fb8fa3062ee3a4d0a78c06fffca28d0a8de04e80 (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
include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}/..
  ${CMAKE_CURRENT_BINARY_DIR}
)


##### check for profiling support

if( WITH_PROFILING_SUPPORT )
  add_definitions(-DKT_PROFILE )
endif( )


##### util library (static)

tde_add_library( util STATIC_PIC AUTOMOC
  SOURCES
    array.cpp autorotatelogjob.cpp bitset.cpp error.cpp file.cpp fileops.cpp functions.cpp
    httprequest.cpp log.cpp mmapfile.cpp profiler.cpp ptrmap.cpp sha1hash.cpp sha1hashgen.cpp
    timer.cpp urlencoder.cpp waitjob.cpp
  LINK
    torrent-static
)