浏览代码

Merge pull request #144 from C4NCER/master

move away from deprecated Options class and update .gitignore
okamstudio 11 年之前
父节点
当前提交
f09a1cca07
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      .gitignore
  2. 1 1
      SConstruct

+ 1 - 0
.gitignore

@@ -233,3 +233,4 @@ Desktop.ini
 
 
 # Recycle Bin used on file shares
 # Recycle Bin used on file shares
 $RECYCLE.BIN/
 $RECYCLE.BIN/
+logo.h

+ 1 - 1
SConstruct

@@ -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')