Obtain External libraries for Visual Studio 2008 from /nfs/farm/g/glast/u05/extlib/VC90 Currently (Nov. 18, 2009) that would include: ape 2.5.36 cfitsio v3060A CLHEP 1.9.4.2 cppunit 1.10.2 f2c 3.4-gl2 fftw 3.1.2 ROOT v5.2026.00-gl500a-gl6 python 2.6.5 swig 1.3.31 xerces 2.8.0-gl1 extFiles v0r9
Obtain a copy of a LATEST ST build from CVS, i.e. ScienceTools-LATESTHEAD-1-2992832: cvs -z9 co -r ScienceTools-LATESTHEAD-1-2992 832 -d ScienceTools-1-2992 832 ScienceTools-scons
Add the files makeStudio.py and msvs.py in CVS. These files should be added to site_scons/site_tools under the top ScienceTools (or other container) directory.
Edit the file site_scons\site_tools\registerTargets.py
Uncomment the line from makeStudio.py import *
Uncomment the section calling makeStudio at the bottom of the registerTargets.py file
Edit the file SConstruct (in top ScienceTools or other container directory) to uncomment the line: import msvs and comment out the line import SCons.Tool.msvs as msvs
Users should go to the utility options item in the Options menu to make sure the correct SCons will be used. For windows this means going to Options->utility Options->scons command to something like: C:\Python25\Scripts\scons.bat
Go also to build options under the Options menu and select vc9 for the compiler.
Under Options choose setup the base path and point to the installation of the ScienceTools source (Alternatively, one can do the cvs checkout from GoGui, then go back and add/modify files as explained in steps 6-8.)
Choose the top-level package in the Navigator panel and then
In the command line text box, type setup and Enter. This will create the file _setup.js, used to set environment variables when Studio is invoked.
In the command line text box type, to_install and Enter. Installs includes, xml files, python files, etc in the top-level directory.
In the commnad line tesxt box type, StudioFiles and Enter. Creates all project and solution files.
You should now have solution files for most if not all of the packages in the ST distribution. To open one using Visual Studio, choose a package, such as facilties and click on the MSC++ icon in the GoGui window.
You can also create solution files for individual packages by highlighting a package name in the Navigator window and clicking on "Build". This will build and install all other targets for that package as well (e.g., libraries and executables).