diff SConstruct @ 381:e00d9af76f0a

Removed the --release command line option and replaced it with --enable-debug. Release binaries are now built by default.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Tue, 12 Jan 2010 20:17:01 +0000
parents 2a1259ce2b95
children 81641655bc38
line wrap: on
line diff
--- a/SConstruct	Tue Jan 12 17:22:43 2010 +0000
+++ b/SConstruct	Tue Jan 12 20:17:01 2010 +0000
@@ -4,6 +4,10 @@
 
 _sep = os.path.sep
 
+#**************************************************************************
+#add any command line options here
+#**************************************************************************
+
 vars = Variables()
 vars.Add(PathVariable('DESTDIR', 
 			'Destination directory (prepended to prefix)',
@@ -17,13 +21,10 @@
 
 env.EnsureSConsVersion(1,2)
 
-#**************************************************************************
-#add any command line options here
-#**************************************************************************
-AddOption('--release',
-		dest='release',
+AddOption('--enable-debug',
+		dest='enable-debug',
 		action="store_true",
-		help='Builds the release version of the binaries',
+		help='Builds the debug version of the binaries',
 		default=False)
 		
 AddOption('--disable-opengl',
@@ -79,10 +80,10 @@
 #**************************************************************************
 #save command line options here
 #**************************************************************************
-if GetOption('release'):
+if GetOption('enable-debug'):
+	debug = 1
+else:
 	debug = 0
-else:
-	debug = 1
 	
 if GetOption('disable-opengl'):
 	opengl = 0