[xiph-cvs] cvs commit: win32sdk exportmf.js
Chris Wolf
cwolf at xiph.org
Sat Oct 20 11:08:23 PDT 2001
cwolf 01/10/20 11:08:22
Added: . exportmf.js
Log:
Macro-free way to export makefiles, thanks Matthijs Laan
Revision Changes Path
1.1 win32sdk/exportmf.js
Index: exportmf.js
===================================================================
/*
* $Id: exportmf.js,v 1.1 2001/10/20 18:08:22 cwolf Exp $
*
* Start msdev and export makefiles and dependency files.
*/
var msdev = WScript.CreateObject("msdev.application");
var shell = WScript.CreateObject("WScript.Shell");
var env = shell.Environment("PROCESS");
var SRCROOT = env("SRCROOT");
if (SRCROOT.length < 1)
{
WScript.Echo("Error: " + WScript.ScriptFullName + " \"SRCROOT\" not set.");
WScript.Quit(1);
}
msdev.Documents.Open(SRCROOT + "\\win32sdk\\all.dsw", "", true);
msdev.ActiveProject = msdev.Projects("all");
msdev.ExecuteCommand("BuildProjectExport");
msdev.Documents.CloseAll();
msdev.Quit();
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list