File: SConscript

package info (click to toggle)
swift-im 2.0%2Bdev6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 15,456 kB
  • ctags: 15,521
  • sloc: cpp: 86,078; python: 1,431; xml: 546; sh: 263; ansic: 54; makefile: 42
file content (17 lines) | stat: -rw-r--r-- 600 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import datetime

Import("env")

SConscript("Controllers/SConscript")

if env["SCONS_STAGE"] == "build" :
	if not GetOption("help") and not env.get("HAVE_OPENSSL", 0) and not env.get("HAVE_SCHANNEL", 0) :
		print "Error: Swift requires OpenSSL support, and OpenSSL was not found."
		if "Swift" in env["PROJECTS"] :
			env["PROJECTS"].remove("Swift")
	elif not GetOption("help") and not env.get("HAVE_QT", 0) :
		print "Error: Swift requires Qt. Not building Swift."
		if "Swift" in env["PROJECTS"] :
			env["PROJECTS"].remove("Swift")
	elif env["target"] == "native":
		 SConscript("QtUI/SConscript")