File: SConscript

package info (click to toggle)
swift-im 2.0~beta1%2Bdev47-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 13,508 kB
  • sloc: cpp: 79,149; python: 1,397; xml: 546; sh: 150; ansic: 54; makefile: 40
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")