Repository navigation
Expand file tree
/
Copy pathGoldenDecoder.build
More file actions
87 lines (68 loc) · 2.2 KB
/
Copy pathGoldenDecoder.build
File metadata and controls
87 lines (68 loc) · 2.2 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
Compiler:windows msvc
Compiler:linux gcc
Compiler:apple clang
Assembly(preserve_case) GoldenDecoder
TitleName Golden Decoder
Description Decodes the audio images on the Golden Record
Version 1.1
CompanyName Ali El Saleh
Copyright Copyright (c) $CompanyName
License(generate) BSD3
IconFile Voyager_Golden_Record
Icon $(IconFile)
Icon.GLFW_ICON:windows $(IconFile)
BuildDirectory Build/%Mode
IntermediateDirectory Intermediate/%Mode
if mode == release
{
SharedCompilerFlags:msvc /O2
SharedCompilerFlags:gcc|clang -O3
if windows
{
Linker.Subsystem Windows
Linker.EntryPoint mainCRTStartup
}
}
if mode == debug
{
SharedCompilerFlags:msvc /Od
SharedLinkerFlags:gcc|clang -g3
Compiler.Defines _DEBUG
}
SharedCompilerFlags:msvc /MD
SourceFiles Source/Program
Compiler.Flags $SharedCompilerFlags
Linker.Flags $SharedLinkerFlags
Compiler.Flags:macos -mmacosx-version-min=11.0
Linker.Flags:macos -mmacosx-version-min=11.0
Compiler.Includes .
Library.Paths Libraries
Libraries Raylib-&Platform-&cpu.arch
Libraries:windows user32 shell32 gdi32 winmm
Libraries:linux m X11
Apple.Frameworks Foundation AppKit IOKit
PostBuild.Copy Resources/* $(BuildDirectory)/Resources
PostBuild.Copy LICENSE $(BuildDirectory)
if macos
{
Apple.Bundle
BundleApp $(BuildDirectory)/$(TitleName).app
BundleContents $(BundleApp)/Contents
BundleResources $(BundleContents)/Resources/Resources
PostBuild
{
Copy Resources/* "$(BundleResources)"
Copy LICENSE "$(BundleContents)/Resources"
Cmd codesign --force --sign - "$(BundleApp)"
Cmd:zip ditto -c -k --sequesterRsrc --keepParent "$(BundleApp)" $(BuildDirectory)/$(Assembly)-&Platform-&(cpu.arch)-v$(Version).zip
}
}
Assert.Platform Windows:x64 Linux:x64 Linux:arm64 macOS
Assert.File Resources/golden.wav
File.Resources/golden.wav.ErrorMessage
{
Resources/golden.wav is missing
if this is a fresh clone, the audio is stored in git lfs: install it and run: git lfs pull
}
option.mode(Debug Release)
.Run