summaryrefslogtreecommitdiffstats
blob: 441dc27946af20938de69fa6102f88ebcdeadc4a (plain)
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
Import("env")

myenv = env.Clone()
myenv.UseFlags(env["LIMBER_FLAGS"])
myenv.MergeFlags(env["SLIMBER_FLAGS"])
myenv.MergeFlags(env["SWIFTOOLS_FLAGS"])
myenv.MergeFlags(env["SWIFTEN_FLAGS"])
myenv.MergeFlags(env["SWIFTEN_DEP_FLAGS"])

myenv.Program("Slimber", [
		"main.mm",
		"CocoaController.mm",
		"CocoaMenulet.mm",
	])

myenv.Nib("MainMenu")

myenv.AppBundle("Slimber", resources = { "": [
		"MainMenu.nib",
		"../Resources/Slimber.icns",
		"../Resources/Credits.html",
		"../Resources/Online.png",
		"../Resources/Offline.png",
		"../Resources/UsersOnline.png",
		"../Resources/UsersOffline.png"
	]}, info = {
		"NSMainNibFile" : "MainMenu",
		"LSUIElement" : "1",
	})