-
Notifications
You must be signed in to change notification settings - Fork 3
/
chalet.json
189 lines (189 loc) · 4.34 KB
/
chalet.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
{
"version": "0.0.1",
"name": "chalet-example-sfml",
"externalDependencies": {
"sfml": {
"kind": "git",
"repository": "https://github.com/SFML/SFML.git",
"tag": "2.6.1"
},
"sfml-patch": {
"kind": "script",
"condition": "[:macos]",
"file": "platform/macos/cmake_patch.sh",
"arguments": [
"${external:sfml}"
]
}
},
"package": {
"sfml.shared": {
"searchPaths[toolchain:x86_64-pc-windows-msvc]": [
"${external:sfml}/extlibs/bin/x64"
],
"searchPaths[toolchain:i686-pc-windows-msvc]": [
"${external:sfml}/extlibs/bin/x86"
],
"copyFilesOnRun[toolchain:pc-windows-msvc]": [
"openal32.dll"
],
"copyFilesOnRun[toolchain:w64-mingw32]": [
"libopenal-1.dll"
],
"settings:Cxx": {
"includeDirs": [
"${external:sfml}/include"
],
"libDirs": [
"${externalBuild:sfml}/lib"
],
"links[:!macos+:!debug]": [
"sfml-graphics",
"sfml-audio",
"sfml-network",
"sfml-window",
"sfml-system"
],
"links[:!macos+:debug]": [
"sfml-graphics-d",
"sfml-audio-d",
"sfml-network-d",
"sfml-window-d",
"sfml-system-d"
],
"links[:macos]": [
"${externalBuild:sfml}/lib/${so:sfml-graphics}",
"${externalBuild:sfml}/lib/${so:sfml-audio}",
"${externalBuild:sfml}/lib/${so:sfml-network}",
"${externalBuild:sfml}/lib/${so:sfml-window}",
"${externalBuild:sfml}/lib/${so:sfml-system}"
],
"links[:linux+toolchain:!w64-mingw32]": [
"X11"
],
"links[:windows]": [
"gdi32"
],
"appleFrameworks": [
"CoreFoundation",
"CoreGraphics",
"FLAC",
"freetype",
"ogg",
"OpenAL",
"vorbis",
"vorbisenc",
"vorbisfile"
],
"appleFrameworkPaths": [
"${external:sfml}/extlibs/libs-osx/Frameworks"
]
}
}
},
"abstracts:sfml": {
"language": "C++",
"settings:Cxx": {
"cppStandard": "c++20",
"runtimeTypeInformation": false,
"cppFilesystem": true,
"warningsPreset": "strict",
"treatWarningsAsErrors": true,
"defines[:debug]": [
"_DEBUG"
],
"includeDirs": [
"src"
],
"links[:windows]": [
"dwmapi"
],
"windowsApplicationIcon": "platform/windows/app.ico",
"windowsApplicationManifest": "platform/windows/app.manifest"
}
},
"targets": {
"sfml": {
"kind": "cmakeProject",
"location": "${external:sfml}",
"recheck": false,
"rebuild": false,
"defines[toolchain:x86_64-apple-darwin]": [
"SFML_USE_SYSTEM_DEPS=OFF",
"FREETYPE_INCLUDE_DIR_ft2build=${external:sfml}/extlibs/headers/freetype2",
"FREETYPE_INCLUDE_DIR_freetype2=${external:sfml}/extlibs/headers",
"FLAC_LIBRARY=${external:sfml}/extlibs/libs-osx/Frameworks/FLAC.framework",
"FREETYPE_LIBRARY=${external:sfml}/extlibs/libs-osx/Frameworks/freetype.framework",
"VORBIS_LIBRARY=${external:sfml}/extlibs/libs-osx/Frameworks/vorbis.framework",
"VORBISFILE_LIBRARY=${external:sfml}/extlibs/libs-osx/Frameworks/vorbisfile.framework",
"VORBISENC_LIBRARY=${external:sfml}/extlibs/libs-osx/Frameworks/vorbisenc.framework",
"OGG_LIBRARY=${external:sfml}/extlibs/libs-osx/Frameworks/ogg.framework"
]
},
"sfml-app": {
"kind": "executable",
"extends": "sfml",
"files": "src/**.cpp",
"settings:Cxx": {
"precompiledHeader": "src/PCH.hpp",
"windowsSubSystem[:!debug]": "windows"
},
"importPackages": [
"sfml.shared"
]
}
},
"distribution": {
"SFMLApp": {
"kind": "bundle",
"buildTargets": [
"sfml",
"sfml-app"
],
"include": [
"content"
],
"exclude": [
"*.psd",
"*.rar",
"*.7z",
"Thumbs.db",
".DS_Store"
],
"macosBundle": {
"type": "app",
"infoPropertyList": "platform/macos/Info.plist.json",
"entitlementsPropertyList": "platform/macos/Entitlements.plist.json",
"icon": "platform/sfml-logo.png"
},
"linuxDesktopEntry": {
"template": "platform/linux/app.desktop",
"icon": "platform/sfml-logo.png"
}
},
"SFMLApp.dmg": {
"kind": "macosDiskImage",
"pathbarVisible": false,
"textSize": 12,
"iconSize": 80,
"background": {
"1x": "platform/macos/dmg-background.png",
"2x": "platform/macos/dmg-background@2x.png"
},
"size": {
"width": 512,
"height": 342
},
"positions": {
"SFMLApp": {
"x": 120,
"y": 188
},
"Applications": {
"x": 392,
"y": 188
}
}
}
}
}