Moved useful elements of the old VisualStudio directory into a new PlatformSpecifics/Windows directory
4
PlatformSpecifics/Windows/collect_mangled_names.bat
Normal file
@@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
rem Insert below the path to the installed visual studio vcvars32.bat
|
||||
call "C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\vcvars32.bat"
|
||||
cscript collect_mangled_names.js
|
||||
102
PlatformSpecifics/Windows/collect_mangled_names.js
Normal file
@@ -0,0 +1,102 @@
|
||||
/* collect_mangled_names - Copyright (C) 2006 Joran Jessurun
|
||||
|
||||
*
|
||||
|
||||
* This library is open source and may be redistributed and/or modified under
|
||||
|
||||
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
|
||||
|
||||
* (at your option) any later version. The full license is in LICENSE file
|
||||
|
||||
* included with this distribution, and on the openscenegraph.org website.
|
||||
|
||||
*
|
||||
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
|
||||
* OpenSceneGraph Public License for more details.
|
||||
|
||||
*
|
||||
|
||||
* Made by Joran Jessurun (A.J.Jessurun@tue.nl)
|
||||
|
||||
*/
|
||||
|
||||
var dumpbin="dumpbin";
|
||||
|
||||
var fso=WScript.createObject("Scripting.FileSystemObject");
|
||||
|
||||
var ForReading=1;
|
||||
|
||||
var ForWriting=2;
|
||||
|
||||
var shell=WScript.createObject("WScript.Shell");
|
||||
|
||||
|
||||
|
||||
function process(file) {
|
||||
|
||||
WScript.echo("Processing: "+file);
|
||||
|
||||
var txt="";
|
||||
|
||||
var exec=shell.exec(dumpbin+' /linkermember:1 "'+file+'"');
|
||||
|
||||
while(!exec.stdOut.atEndOfStream)
|
||||
|
||||
{
|
||||
|
||||
var line=exec.stdOut.readLine();
|
||||
|
||||
if(/3V\?\$RegisterReaderWriterProxy/.test(line)
|
||||
|
||||
|| /3VRegisterDotOsgWrapperProxy/.test(line))
|
||||
|
||||
{
|
||||
|
||||
txt+=line.substr(10)+"\n";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
while(exec.status!=1) WScript.sleep(100);
|
||||
|
||||
|
||||
|
||||
if(txt!="") {
|
||||
|
||||
file=file.replace(/\.lib$/m,".sym");
|
||||
|
||||
var f=fso.openTextFile(file,ForWriting,true);
|
||||
|
||||
f.write(txt);
|
||||
|
||||
f.close();
|
||||
|
||||
WScript.echo("Created: "+file);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
WScript.echo("Collecting mangled names");
|
||||
|
||||
var files=new Enumerator(fso.getFolder("..\\lib\\win32").Files);
|
||||
|
||||
for(;!files.atEnd();files.moveNext()) {
|
||||
|
||||
if(/_s\.lib$/.test(files.item())) {
|
||||
|
||||
process(""+files.item());
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
BIN
PlatformSpecifics/Windows/icons/osg.ico
Normal file
|
After Width: | Height: | Size: 25 KiB |
2
PlatformSpecifics/Windows/icons/osg_icon.rc
Normal file
@@ -0,0 +1,2 @@
|
||||
OSG_ICON ICON DISCARDABLE "osg.ico"
|
||||
|
||||
13
PlatformSpecifics/Windows/icons/src/file.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
osg.xcf: GIMP XCF image data, version 0, 122 x 122, RGB Color
|
||||
osg16-32.png: PNG image data, 16 x 16, 8-bit/color RGBA, non-interlaced
|
||||
osg16-4.png: PNG image data, 16 x 16, 4-bit colormap, non-interlaced
|
||||
osg16-8.png: PNG image data, 16 x 16, 8-bit colormap, non-interlaced
|
||||
osg16.xcf: GIMP XCF image data, version 0, 16 x 16, RGB Color
|
||||
osg32-32.png: PNG image data, 32 x 32, 8-bit/color RGBA, non-interlaced
|
||||
osg32-4.png: PNG image data, 32 x 32, 4-bit colormap, non-interlaced
|
||||
osg32-8.png: PNG image data, 32 x 32, 8-bit colormap, non-interlaced
|
||||
osg32.xcf: GIMP XCF image data, version 0, 32 x 32, RGB Color
|
||||
osg48-32.png: PNG image data, 48 x 48, 8-bit/color RGBA, non-interlaced
|
||||
osg48-4.png: PNG image data, 48 x 48, 4-bit colormap, non-interlaced
|
||||
osg48-8.png: PNG image data, 48 x 48, 8-bit colormap, non-interlaced
|
||||
osg48.xcf: GIMP XCF image data, version 0, 48 x 48, RGB Color
|
||||
6
PlatformSpecifics/Windows/icons/src/make.bat
Normal file
@@ -0,0 +1,6 @@
|
||||
rem mew 2004-01-21
|
||||
rem for description of the icon creation process, see:
|
||||
rem http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/winxpicons.asp
|
||||
|
||||
png2ico.exe osg.ico osg48-32.png osg32-32.png osg16-32.png osg48-8.png osg32-8.png osg16-8.png osg48-4.png osg32-4.png osg16-4.png
|
||||
|
||||
BIN
PlatformSpecifics/Windows/icons/src/osg.xcf
Normal file
BIN
PlatformSpecifics/Windows/icons/src/osg16-32.png
Normal file
|
After Width: | Height: | Size: 870 B |
BIN
PlatformSpecifics/Windows/icons/src/osg16-4.png
Normal file
|
After Width: | Height: | Size: 314 B |
BIN
PlatformSpecifics/Windows/icons/src/osg16-8.png
Normal file
|
After Width: | Height: | Size: 745 B |
BIN
PlatformSpecifics/Windows/icons/src/osg16.xcf
Normal file
BIN
PlatformSpecifics/Windows/icons/src/osg32-32.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
PlatformSpecifics/Windows/icons/src/osg32-4.png
Normal file
|
After Width: | Height: | Size: 525 B |
BIN
PlatformSpecifics/Windows/icons/src/osg32-8.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
PlatformSpecifics/Windows/icons/src/osg32.xcf
Normal file
BIN
PlatformSpecifics/Windows/icons/src/osg48-32.png
Normal file
|
After Width: | Height: | Size: 4.2 KiB |
BIN
PlatformSpecifics/Windows/icons/src/osg48-4.png
Normal file
|
After Width: | Height: | Size: 775 B |
BIN
PlatformSpecifics/Windows/icons/src/osg48-8.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
PlatformSpecifics/Windows/icons/src/osg48.xcf
Normal file
23
PlatformSpecifics/Windows/osgShell.bat
Normal file
@@ -0,0 +1,23 @@
|
||||
@echo off
|
||||
REM This script provides a commandline shell properly configured to run OSG
|
||||
REM executables directly from the OpenThreads/OpenSceneGraph source
|
||||
REM trees.
|
||||
REM mew 2004-07-16
|
||||
|
||||
cd ..\..
|
||||
set PATH=%CD%\OpenThreads\bin\win32;%CD%\OpenSceneGraph\bin\win32;%CD%\3rdParty\bin;%PATH%
|
||||
set OSG_FILE_PATH=%CD%\OpenSceneGraph-Data;%CD%\OpenSceneGraph-Data\Images;%CD%\OpenSceneGraph-Data\fonts;%OSG_FILE_PATH%
|
||||
|
||||
REM uncomment one of these for your desired notify level...
|
||||
rem set OSG_NOTIFY_LEVEL=ALWAYS
|
||||
rem set OSG_NOTIFY_LEVEL=FATAL
|
||||
rem set OSG_NOTIFY_LEVEL=WARN
|
||||
rem set OSG_NOTIFY_LEVEL=NOTICE
|
||||
rem set OSG_NOTIFY_LEVEL=DEBUG
|
||||
rem set OSG_NOTIFY_LEVEL=DEBUG_FP
|
||||
rem set OSG_NOTIFY_LEVEL=INFO
|
||||
|
||||
TITLE osgShell
|
||||
%COMSPEC% /K
|
||||
|
||||
|
||||