aboutsummaryrefslogtreecommitdiffstats
path: root/doc/building-vc7.txt
blob: 8771aa44c30b048001c2c77b8c3e79c62bf1c6ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
How to build TightVNC with VC7 (Visual C++ .NET)
================================================


Introduction
------------

This text documents how to build TightVNC with VC7. 


The VC7 "Standard" Edition
--------------------------

The VC7 "Standard" Edition does not come with an optimizing
compiler. It is possible to use the compiler from the free Visual C++
Toolkit 2003, though. See
http://www.sawtoothdistortion.com/Articles/FreeOptimizingCompiler.html
for more information. (This documents assumes that you are using Method
Two.)


Building
--------

* Open vnc.dsw. Select "Yes to all". 

* Select Build->Configuration Manager->Active Solution
  Configuration->Release.

* In Solution Explorer, select all projects except
  "logmessages". Right-click, and select properties.

* Below Configuration Properties->C/C++->Precompiled Headers, select
  "Not Using Precompiled Headers". 

* If you are using the Standard Edition and would like to build with
  optimizations, select Configuration Properties->C/C++->Command Line
  and fill in "/O2". 

* Build Solution.