bsp; group = proj.Object.AddFilter('resource'); 189. group.Filter = strSrcFilter; 190. } 191. catch (e) { 192. throw e; 193. } 194.} 195. 196.// Configurations data 197.var nNumConfigs = 2; 198. 199.var astrConfigName = new Array(); 200.astrConfigName[0] = "Debug"; 201.astrConfigName[1] = "Release"; 202. 203.function AddConfigurations(proj, strProjectName) { 204. try { 205. var nCntr; 206. for (nCntr = 0; nCntr < nNumConfigs; nCntr++) { 207. // Check if it's Debug configuration 208. var bDebug = false; 209. if (astrConfigName[nCntr].search("Debug") != -1) 210. bDebug = true; 211. 212. // General settings 213. var config = proj.Object.Configurations(astrConfigName[nCntr]); 214. 215. // if(wizard.FindSymbol("CC_USE_UNICODE")) 216. config.CharacterSet = charSetUnicode; 217. // else 218. // config.CharacterSet = charSetMBCS; 219. 220. var WizardVersion = wizard.FindSymbol('WIZARD_VERSION'); 221. if(WizardVersion >= 10.0) { 222. config.OutputDirectory = '$(SolutionDir)$(Configuration).win32\\' 223. config.IntermediateDirectory = '$(Configuration).win32\\'; 224. &n上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] ... 下一页 >>
|