forked from strukturag/libheif
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePresets.json
115 lines (115 loc) · 3.39 KB
/
CMakePresets.json
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 0,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"displayName": "Default Config",
"description": "Default building parameters",
"cacheVariables": {
"WITH_AOM_DECODER" : "ON",
"WITH_AOM_DECODER_PLUGIN" : "ON",
"WITH_AOM_ENCODER" : "ON",
"WITH_AOM_ENCODER_PLUGIN" : "ON",
"WITH_DAV1D" : "ON",
"WITH_DAV1D_PLUGIN" : "ON",
"WITH_LIBDE265" : "ON",
"WITH_LIBDE265_PLUGIN" : "ON",
"WITH_RAV1E" : "ON",
"WITH_RAV1E_PLUGIN" : "ON",
"WITH_SvtEnc" : "ON",
"WITH_SvtEnc_PLUGIN" : "ON",
"WITH_X265" : "ON",
"WITH_X265_PLUGIN" : "ON",
"WITH_UNCOMPRESSED_CODEC" : "ON"
}
},
{
"name": "develop",
"inherits": "default",
"displayName": "development",
"description": "Enable all experimental features. Do not use plugins, compile everything built-in.",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_SHARED_LIBS": "ON",
"BUILD_TESTING" : "ON",
"WITH_REDUCED_VISIBILITY" : "OFF",
"WITH_DEFLATE_HEADER_COMPRESSION" : "ON",
"WITH_LIBSHARPYUV" : "ON",
"WITH_EXAMPLES": "ON",
"WITH_FUZZERS": "OFF",
"WITH_AOM_DECODER_PLUGIN" : "OFF",
"WITH_AOM_ENCODER_PLUGIN" : "OFF",
"WITH_DAV1D_PLUGIN" : "OFF",
"WITH_LIBDE265_PLUGIN" : "OFF",
"WITH_RAV1E_PLUGIN" : "OFF",
"WITH_SvtEnc_PLUGIN" : "OFF",
"WITH_X265_PLUGIN" : "OFF"
}
},
{
"name": "release",
"inherits": "default",
"displayName": "Standard release build",
"description": "Recommended parameters for a release build.",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BUILD_SHARED_LIBS": "ON",
"BUILD_TESTING" : "OFF",
"WITH_REDUCED_VISIBILITY" : "ON",
"WITH_DEFLATE_HEADER_COMPRESSION" : "ON",
"WITH_LIBSHARPYUV" : "ON",
"WITH_EXAMPLES": "ON",
"WITH_FUZZERS": "OFF"
}
},
{
"name": "release-noplugins",
"inherits": "release",
"displayName": "Release build without plugins",
"description": "Release without plugins with minimal configuration for HEIC and AVIF.",
"cacheVariables": {
"ENABLE_PLUGIN_LOADING" : "OFF",
"WITH_LIBDE265" : "ON",
"WITH_X265" : "ON",
"WITH_AOM_DECODER" : "ON",
"WITH_AOM_ENCODER" : "ON",
"WITH_DAV1D" : "OFF",
"WITH_RAV1E" : "OFF",
"WITH_SvtEnc" : "OFF"
}
},
{
"name": "testing",
"inherits": "default",
"displayName": "Tests",
"description": "For running the tests",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"ENABLE_PLUGIN_LOADING" : "OFF",
"BUILD_TESTING" : "ON",
"WITH_REDUCED_VISIBILITY" : "OFF"
}
},
{
"name": "fuzzing",
"inherits": "default",
"displayName": "Fuzzing",
"description": "For running the fuzzers",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_SHARED_LIBS": "OFF",
"WITH_FUZZERS" : "ON",
"WITH_EXAMPLES" : "OFF",
"ENABLE_PLUGIN_LOADING" : "OFF",
"WITH_DEFLATE_HEADER_COMPRESSION" : "ON",
"WITH_LIBSHARPYUV" : "ON",
"WITH_REDUCED_VISIBILITY" : "OFF"
}
}
]
}