Difference between revisions of "HowTo:VCPP Compiling"
m (→Visual C++ 6.0: code and pre tags) |
m (→Compiling under VCpp: some code and pre tags) |
||
Line 7: | Line 7: | ||
---- | ---- | ||
= Compiling under VCpp = | = Compiling under VCpp = | ||
− | When another module (e.g. vegastrike, texturizer), they should be placed in the directory above vega-proj in the directory tree. | + | When another module (e.g. <code>vegastrike</code>, <code>texturizer</code>), they should be placed in the directory above <code>vega-proj</code> in the directory tree. |
− | For example, when you want to checkout | + | For example, when you want to checkout Vegastrike, you may make a <code>Vegastrike</code> directory and from there, checkout <code>vega-proj</code> (or <code>vega-vc7</code> for ".NET" users), <code>vegastrike</code>, <code>data</code> and then maybe <code>texturizer</code> or <code>vssetup</code> ALL from this directory. |
− | + | * <code>vegastrike/</code> - base directory. | |
− | + | * <code>vegastrike/vegastrike/</code> - The stuff from the vegastrike module (the actual code) | |
− | + | * <code>vegastrike/vega-proj/</code> - The project files. (VISUAL C++ 6.x) | |
− | + | * <code>vegastrike/vega-vc7/</code> - The project files. (VISUAL C++ 7.x) | |
− | + | * <code>vegastrike/vssetup/</code> - the vssetup module directory. | |
− | + | * <code>vegastrike/texturizer/</code> - If you want to compile the texturizer. | |
− | + | * <code>data4.x</code> - The newer version of data. Does not need -kb | |
− | module | + | module <code>data</code> (the old data module) is the one exception to this rule. Can be put anywhere on your hard drive. DATA (NOT <code>data4.x</code>, only <code>data</code>) '''MUST''' BE CHECKED OUT WITH THE <code>-kb</code> PARAMETER (=BINARY MODE) |
Here is a list of every project included for CVS compilation: | Here is a list of every project included for CVS compilation: | ||
− | * AsterGet (AsterGen.exe) | + | * AsterGet (<code>AsterGen.exe</code>) |
− | * mission (Mission Launcher.exe) | + | * mission (<code>Mission Launcher.exe</code>) |
− | * savegame (Launcher.exe) | + | * savegame (<code>Launcher.exe</code>) |
− | * texturizer (Texturizer.exe) | + | * texturizer (<code>Texturizer.exe</code>) |
− | ** REQUIRES texturizer module | + | ** REQUIRES texturizer module |
− | * TriSort (TriSort.exe) | + | * TriSort (<code>TriSort.exe</code>) |
− | * vsacctserver (accountserver.exe) | + | * vsacctserver (<code>accountserver.exe</code>) |
− | * vegastrike (Vegastrike.exe) | + | * vegastrike (<code>Vegastrike.exe</code>) |
− | * vsserver (vegaserver.exe) | + | * vsserver (<code>vegaserver.exe</code>) |
− | * vssetup (Setup.exe) | + | * vssetup (<code>Setup.exe</code>) |
− | ** REQUIRES vssetup module | + | ** REQUIRES <code>vssetup</code> module |
== Visual C++ 6.0 == | == Visual C++ 6.0 == |
Revision as of 15:31, 31 March 2005
Checkout CVS | HowTo | Cygwin Compiling |
Compiling under VCpp
When another module (e.g. vegastrike
, texturizer
), they should be placed in the directory above vega-proj
in the directory tree.
For example, when you want to checkout Vegastrike, you may make a Vegastrike
directory and from there, checkout vega-proj
(or vega-vc7
for ".NET" users), vegastrike
, data
and then maybe texturizer
or vssetup
ALL from this directory.
-
vegastrike/
- base directory. -
vegastrike/vegastrike/
- The stuff from the vegastrike module (the actual code) -
vegastrike/vega-proj/
- The project files. (VISUAL C++ 6.x) -
vegastrike/vega-vc7/
- The project files. (VISUAL C++ 7.x) -
vegastrike/vssetup/
- the vssetup module directory. -
vegastrike/texturizer/
- If you want to compile the texturizer. -
data4.x
- The newer version of data. Does not need -kb
module data
(the old data module) is the one exception to this rule. Can be put anywhere on your hard drive. DATA (NOT data4.x
, only data
) MUST BE CHECKED OUT WITH THE -kb
PARAMETER (=BINARY MODE)
Here is a list of every project included for CVS compilation:
- AsterGet (
AsterGen.exe
) - mission (
Mission Launcher.exe
) - savegame (
Launcher.exe
) - texturizer (
Texturizer.exe
)- REQUIRES texturizer module
- TriSort (
TriSort.exe
) - vsacctserver (
accountserver.exe
) - vegastrike (
Vegastrike.exe
) - vsserver (
vegaserver.exe
) - vssetup (
Setup.exe
)- REQUIRES
vssetup
module
- REQUIRES
Visual C++ 6.0
Here is a batch file that could be used to checkout everything and then compile all projects (copy and paste in makeall.bat
), if you were going somewhere for a few hours and wanted to get a working project when you got back:
mkdir vegastrike cd vegastrike @echo ***type in <enter> for prompted password*** cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike login cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike co vega-proj cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike co vegastrike cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike co vssetup cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike co texturizer cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike co -kb data4.x cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike logout cd vega-proj msdev vegastrike.dsw /MAKE ALL
Visual C++ 7.x
Here is a batch file that could be used to checkout everything and then compile all projects (copy and paste in makeall.bat
), if you were going somewhere for a few hours and wanted to get a working project when you got back:
@echo off mkdir vegastrike cd vegastrike echo ***** Type in {ENTER} for password when asked ***** cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike login cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike co vega-vc7 cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike co vegastrike cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike co vssetup cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike co texturizer cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike co data4.x cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike logout cd vega-vc7 echo Building project... "C:\VC7\Common7\IDE\devenv.exe" vegastrike.sln /BUILD Debug cd .. cd ..
NOTE: You must replace the "C:\vc7
" with the directory where you installed visual c++ 7 and replace the "Debug
" on the same line with "Release
" if you want a release build.
Visual C++ Toolkit 2003
This is a free download from Microsoft, and is the same compiler and linker as Visual Studio 2003.
Instructions to come. I'm setting this up in anticipation of success:-)
Checkout CVS | HowTo | Cygwin Compiling |