-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathchalet.json
More file actions
93 lines (90 loc) · 2.11 KB
/
Copy pathchalet.json
File metadata and controls
93 lines (90 loc) · 2.11 KB
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
{
"name": "builder",
"version": "1.0.0",
"externalDependencies": {
"fmt": {
// "repository": "git@github.com:fmtlib/fmt.git",
"repository": "https://github.com/fmtlib/fmt",
"tag": "9.1.0",
"kind": "git"
},
// "mini-yaml" : {
// "repository" : "git@github.com:jimmiebergmann/mini-yaml.git",
// "kind" : "git"
// },
"yaml": {
// "repository" : "git@github.com:jbeder/yaml-cpp.git",
"repository": "https://github.com/jbeder/yaml-cpp",
"kind": "git"
}
},
"targets": {
"yaml": {
"kind": "cmakeProject",
"location": "${external:yaml}",
"recheck": false,
"defines": [
"BUILD_STATIC_LIBS=ON",
"BUILD_SHARED_LIBS=OFF",
"CMAKE_COMPILE_WARNING_AS_ERROR=0",
// "CMAKE_OSX_DEPLOYMENT_TARGET=10.9",
// "CMAKE_C_FLAGS=-arch arm64 -arch x86_64 -O3 -DNDEBUG -funroll-loops -Werror",
"CMAKE_C_FLAGS=-fPIC",
// -arch x86_64
"CMAKE_CXX_FLAGS=-arch arm64 -stdlib=libc++ -O3 -DNDEBUG -funroll-loops -std=c++11"
]
},
"fmt": {
"kind": "cmakeProject",
"location": "${external:fmt}",
"recheck": false
// ,
// "defines": [
// "CMAKE_OSX_DEPLOYMENT_TARGET=10.15"
// ]
},
"ofbuild": {
"kind": "executable",
"language": "C++",
"settings:Cxx": {
"cppStandard": "c++17",
"warningsPreset": "pedantic",
"includeDirs": [
// "${external:mini-yaml}/yaml",
"${external:yaml}/src",
"${external:yaml}/include",
"${external:fmt}/include"
// ,
// "src"
],
// "precompiledHeader": "src/pch.hpp",
// ,
"libDirs": ["${externalBuild:fmt}", "${externalBuild:yaml}"],
"staticLinks": [
"fmt",
"yaml-cpp"
// "${externalBuild:yaml}/libyaml-cpp.a"
]
},
"files": [
"src/**.cpp"
// ,
// "${external:mini-yaml}/yaml/**.cpp"
]
}
},
"distribution": {
// "all": {
// "kind": "bundle",
// "buildTargets": "*"
// },
"ofbuild-${targetTriple}": {
// "ofbuild": {
"kind": "archive",
"condition": "[:macos]",
"format": "zip",
// "include": "build/universal-apple-darwin_Release/ofbuild"
"include": "build/arm64-apple-darwin_Release/ofbuild"
}
}
}