summaryrefslogtreecommitdiffstats
blob: a354bc88134ba60846090c559b7436b65c4e9daa (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
30
31
32
Import("env")

myenv = env.Clone()
myenv.MergeFlags(env["SLIMBER_FLAGS"])
myenv.MergeFlags(env["SWIFTEN_FLAGS"])
myenv.MergeFlags(env["LIBIDN_FLAGS"])
myenv.MergeFlags(env["BOOST_FLAGS"])
myenv.MergeFlags(env.get("LIBXML_FLAGS", ""))
myenv.MergeFlags(env.get("EXPAT_FLAGS", ""))
myenv.Append(FRAMEWORKS = "Cocoa")

myenv.Program("Slimber", [
		"main.mm",
		"CocoaController.mm",
		"CocoaMenulet.mm",
		"CocoaAction.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",
	})