You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by fa...@apache.org on 2006/11/15 15:13:55 UTC
svn commit: r475242 -
/incubator/stdcxx/trunk/etc/config/windows/projectdef.js
Author: faridz
Date: Wed Nov 15 06:13:55 2006
New Revision: 475242
URL: http://svn.apache.org/viewvc?view=rev&rev=475242
Log:
2006-11-15 Farid Zaripov <fa...@kyiv.vdiweb.com>
* projectdef.js (InitVSObjects): Use devenv.com instead of
devenv.exe to get buildlog in batch build
Modified:
incubator/stdcxx/trunk/etc/config/windows/projectdef.js
Modified: incubator/stdcxx/trunk/etc/config/windows/projectdef.js
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/windows/projectdef.js?view=diff&rev=475242&r1=475241&r2=475242
==============================================================================
--- incubator/stdcxx/trunk/etc/config/windows/projectdef.js (original)
+++ incubator/stdcxx/trunk/etc/config/windows/projectdef.js Wed Nov 15 06:13:55 2006
@@ -56,7 +56,11 @@
{
dte = WScript.CreateObject("VisualStudio.DTE." + VERSION);
if (DEVENV == "")
- DEVENV = dte.FullName;
+ {
+ // use devenv.com executable, if it present
+ var comName = dte.FullName.replace(/\.exe$/i, ".com");
+ DEVENV = fso.FileExists(comName) ? comName : dte.FullName;
+ }
}
catch (e) {}