-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCMakePresets.json
90 lines (90 loc) · 2.58 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
{
"version": 8,
"configurePresets": [
{
"name": "ci-base",
"hidden": true,
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/ci"
},
{
"name": "ci-unit-test",
"inherits": "ci-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"ATSDK_BUILD_TESTS": "unit",
"ATSDK_MEMCHECK": "OFF"
}
},
{
"name": "ci-func-test",
"inherits": "ci-base",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"ATSDK_BUILD_TESTS": "func",
"ATSDK_MEMCHECK": "OFF",
"ATDIRECTORY_HOST": "\"vip.ve.atsign.zone\"",
"ATDIRECTORY_PORT": "64",
"FIRST_ATSIGN": "\"@alice🛠\"",
"SECOND_ATSIGN": "\"@bob🛠\"",
"FIRST_ATSIGN_ATSERVER_HOST": "\"vip.ve.atsign.zone\"",
"FIRST_ATSIGN_ATSERVER_PORT": "25000",
"SECOND_ATSIGN_ATSERVER_HOST": "\"vip.ve.atsign.zone\"",
"SECOND_ATSIGN_ATSERVER_PORT": "25003"
}
},
{
"name": "release-static",
"binaryDir": "${sourceDir}/build/release-static",
"cacheVariables": {
"BUILD_SHARED_LIBS": "OFF",
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_C_FLAGS": "-std=c99 -Wno-error",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/package-source/install",
"ATSDK_BUILD_TESTS": "OFF",
"ATSDK_MEMCHECK": "OFF",
"ENABLE_TESTING": "OFF",
"ENABLE_PROGRAMS": "OFF",
"ENABLE_CJSON_TEST": "OFF",
"CJSON_OVERRIDE_BUILD_SHARED_LIBS": "ON",
"CJSON_BUILD_SHARED_LIBS": "OFF",
"BUILD_SHARED_AND_STATIC_LIBS": "OFF",
"ENABLE_TARGET_EXPORT": "OFF",
"ENABLE_CJSON_VERSION_SO": "OFF"
}
}
],
"buildPresets": [
{
"name": "release-static",
"configurePreset": "release-static"
}
],
"packagePresets": [
{
"name": "static-zip",
"generators": ["ZIP"],
"configurePreset": "release-static",
"packageDirectory": "${sourceDir}/package-source",
"configFile": "${sourceDir}/CPackSourceConfig.cmake"
},
{
"name": "static-tgz",
"generators": ["TGZ"],
"configurePreset": "release-static",
"packageDirectory": "${sourceDir}/package-source",
"configFile": "${sourceDir}/CPackSourceConfig.cmake"
}
],
"workflowPresets": [
{
"name": "package-static",
"steps": [
{ "type": "configure", "name": "release-static" },
{ "type": "build", "name": "release-static" },
{ "type": "package", "name": "static-zip" },
{ "type": "package", "name": "static-tgz" }
]
}
]
}