From 56b3969f682e86146e53a24f4378a63ccf340251 Mon Sep 17 00:00:00 2001 From: Joshua Phillips Date: Sat, 25 Apr 2009 11:21:44 +0000 Subject: [PATCH] Used Variables instead of Options, in SConstruct --- SConstruct | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SConstruct b/SConstruct index e0ba3bd..23dcc07 100644 --- a/SConstruct +++ b/SConstruct @@ -1,15 +1,15 @@ # Build options -opts = Options('scache.conf') -opts.AddOptions( - PathOption('PREFIX', 'Set the install "prefix"', '/usr/local'), - PathOption('DESTDIR', 'Set the installation root', '/'), +opts = Variables('scache.conf') +opts.AddVariables( + PathVariable('PREFIX', 'Set the install "prefix"', '/usr/local'), + PathVariable('DESTDIR', 'Set the installation root', '/'), ('BUILDDIR', 'Set the sub-directory to put object files in', 'build'), ('INCLUDE_DIRS', 'Set the default include directories to build into the compiler', '/include:/usr/include:/usr/local/include:/opt/include'), ('CC', 'Set the C compiler to use'), ('LINK', 'Set the linker to use'), ('CFLAGS', 'Change the flags for the compiler', '-Wall -std=c99 -pedantic -O3 -g -ffunction-sections -fdata-sections'), ('LINKFLAGS', 'Change the flags for the linker', '-Wl,--gc-sections'), - BoolOption('verbose', 'Show full commands during the build process', False), + BoolVariable('verbose', 'Show full commands during the build process', False), ) env = Environment(options = opts) -- 2.11.4.GIT