]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/libmad/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / libmad / CMakeLists.txt
CommitLineData
1e59de90
TL
1cmake_minimum_required(VERSION 2.8)
2
3project(libmad)
4
5set(SOURCES
6 bit.c
7 bit.h
8 config.h
9 decoder.c
10 decoder.h
11 fixed.c
12 fixed.h
13 frame.c
14 frame.h
15 global.h
16 huffman.c
17 huffman.h
18 layer12.c
19 layer12.h
20 layer3.c
21 layer3.h
22 mad.h
23 stream.c
24 stream.h
25 synth.c
26 synth.h
27 timer.c
28 timer.h
29 version.c
30 version.h
31)
32
33add_library(
34 mad
35 ${SOURCES}
36)
37
38target_compile_definitions(mad
39 PRIVATE _LIB _MBCS ASO_ZEROCHECK HAVE_CONFIG_H FPM_DEFAULT
40 PRIVATE _CRT_SECURE_NO_WARNINGS
41)
42
43install(
44 TARGETS mad
45 RUNTIME DESTINATION bin
46 LIBRARY DESTINATION lib
47 ARCHIVE DESTINATION lib
48)
49
50install(
51 FILES mad.h
52 DESTINATION include
53)