sp; MidlTool.MkTypLibCompatible = false; 331. if (IsPlatformWin32(config)) 332. MidlTool.TargetEnvironment = midlTargetWin32; 333. if (bDebug) 334. MidlTool.PreprocessorDefinitions = "_DEBUG"; 335. else 336. MidlTool.PreprocessorDefinitions = "NDEBUG"; 337. MidlTool.HeaderFileName = strProjectName + ".h"; 338. MidlTool.InterfaceIdentifierFileName = strProjectName + "_i.c"; 339. MidlTool.ProxyFileName = strProjectName + "_p.c"; 340. MidlTool.GenerateStublessProxies = true; 341. MidlTool.TypeLibraryName = "$(IntDir)/" + strProjectName + ".tlb"; 342. MidlTool.DLLDataFileName = ""; 343. 344. // Post-build settings 345.// var PostBuildTool = config.Tools("VCPostBuildEventTool"); 346.// PostBuildTool.Description = "Performing copy resource from Resource to OutDir..."; 347.// PostBuildTool.CommandLine = "xcopy /E /Q /Y \"$(ProjectDir)Resource\\*.*\" \"$(OutDir)\""; 348. } 349. } 350. catch (e) { 351. throw e; 352. } 353.} 354. 355.function AddPchSettings(proj) { 356. try { 357. // var files = proj.Object.Files; 358. // var fStdafx = files("StdAfx.cpp"); 359. // 360.   << 上一页 [11] [12] [13] [14] [15] [16] 下一页
|