Switch from using deprecated Options class to Variables

This commit is contained in:
C4NCER 2014-02-25 19:33:09 +13:00
parent 06e358199f
commit 942f14747b
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ if profile:
elif os.path.isfile(profile+".py"): elif os.path.isfile(profile+".py"):
customs.append(profile+".py") customs.append(profile+".py")
opts=Options(customs, ARGUMENTS) opts=Variables(customs, ARGUMENTS)
opts.Add('target', 'Compile Target (debug/profile/release).', "debug") opts.Add('target', 'Compile Target (debug/profile/release).', "debug")
opts.Add('platform','Platform: '+str(platform_list)+'(sfml).',"") opts.Add('platform','Platform: '+str(platform_list)+'(sfml).',"")
opts.Add('python','Build Python Support: (yes/no)','no') opts.Add('python','Build Python Support: (yes/no)','no')