[xiph-cvs] cvs commit: win32sdk/sdk/build exportmf.js

Chris Wolf cwolf at xiph.org
Sat Oct 20 11:08:48 PDT 2001



cwolf       01/10/20 11:08:48

  Added:       sdk/build exportmf.js
  Log:
  Macro-free way to export makefiles, thanks Matthijs Laan

Revision  Changes    Path
1.1                  win32sdk/sdk/build/exportmf.js

Index: exportmf.js
===================================================================
/*
 * $Id: exportmf.js,v 1.1 2001/10/20 18:08:48 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 SDKHOME= env("SDKHOME");

if (SDKHOME.length < 1)
{
  WScript.Echo("Error: " + WScript.ScriptFullName + " \"SDKHOME\" not set.");
  WScript.Quit(1);
}

msdev.Documents.Open(SDKHOME + "\\build\\examples.dsw");
msdev.ActiveProject = msdev.Projects("examples");
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