summaryrefslogtreecommitdiffstats
path: root/lib/libshout-idjc/CMakeLists.txt
blob: a8cec1e99378f84b95635e7c2ba7e3a674e2de94 (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
37
38
39
40
41
cmake_minimum_required(VERSION 3.0)
project(shout_mixxx C)
 
find_package(OpenSSL)

include_directories(
  .
  src
  include
  src/common
)

add_library(shout_mixxx STATIC
  src/common/avl/avl.c
  src/common/net/sock.c
  src/common/net/resolver.c
  src/common/timing/timing.c
  src/common/httpp/httpp.c
  src/common/httpp/encoding.c
  src/common/thread/thread.c
  src/shout.c
  src/util.c
  src/queue.c
  src/proto_http.c
  src/proto_xaudiocast.c
  src/proto_icy.c
  src/proto_roaraudio.c
  src/format_ogg.c
  src/format_webm.c
  src/format_mpeg.c
  src/codec_vorbis.c
  src/codec_opus.c
  src/tls.c
)

target_compile_definitions(shout_mixxx PRIVATE HAVE_CONFIG_H)
target_compile_options(shout_mixxx PRIVATE -pthread -Wall)

target_link_libraries(shout_mixxx ogg vorbis OpenSSL::SSL OpenSSL::Crypto)