Ticket #57 (new task)

Opened 2 years ago

Last modified 1 year ago

Create batch file which sets environment & launches devenv.exe for VS users

Reported by: marcusl Assigned to: unassigned
Priority: major Milestone: 2.0 Release
Component: Build Version:
Keywords: Cc:
Completion:

Description

Something like:

 call vcvars32.bat
 if not exist scons.bat / python.exe echo failure!!
 set INCLUDE / LIB / PATH = ... opensg/win32/supportlibs/ ...
 devenv /useenv

Makes it very easy to start.

Change History

09/23/06 02:47:26 changed by marcusl

  • milestone set to 2.0 Release.

10/15/06 14:13:51 changed by marcusl

  • type changed from defect to task.

Just for reference, here's what I've used for 1.8 with VS8:

If this file is in the root-dir of the cvs-checkout, and the system has been built (by scons), this will work nicely. No extra pathes need to be set.

@echo off
call "%VS80COMNTOOLS%\vsvars32.bat"

set OSGDIR=%~dp0%/Build/win32-msvc80/installed
set SUPDIR=%~dp0%/../supportlibs
set INCLUDE=%OSGDIR%/include;%SUPDIR%/include;%INCLUDE%
set LIB=%OSGDIR%/lib;%SUPDIR%/lib;%LIB%
set PATH=%OSGDIR%/lib;%PATH%

devenv /useenv

And I know we're working on autolink (#55). So, all that's left is to make sure the windows build somehow always defines: OSG_CONFIGURED_H, OSG_WITH_XXX & OSG_BUILD_DLL. (I know there's been discussion on that..)

Then it would be very easy to develop OpenSG projects on windows.