changeset 486:2aaa22475acd

Debug is now automatically enabled when you build with profiling enabled.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 03 May 2010 15:56:00 +0000
parents d365eb58f3d6
children 7f1c42b66aa4
files SConstruct
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/SConstruct	Fri Apr 30 15:37:33 2010 +0000
+++ b/SConstruct	Mon May 03 15:56:00 2010 +0000
@@ -83,7 +83,7 @@
 AddOption('--enable-profile',
 		dest='enable-profile',
 		action="store_true",
-		help='Build with profiling information',
+		help='Build with profiling information.  This automatically enables debug.',
 		default=False)
 		
 AddOption('--prefix',
@@ -134,6 +134,7 @@
 	rend_grid = 0
 
 if GetOption('enable-profile'):
+	debug = 1
 	profile = 1
 else:
 	profile = 0