tycho / crisscross

A C++ library with various uses.

This URL has Read+Write access

commit  7987aa68f431ed617ef9fc0f469a294e970fb091
tree    b9ba04d069e7eafc21d85d7741c991dd82dffb6d
parent  d420e00b73628b612b946ab2cda8a6fc9c4f7076
crisscross / INSTALL
100644 47 lines (37 sloc) 1.692 kb
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
41
42
43
44
45
46
47
Starting with v0.7.2, CrissCross now requires CMake in order
to compile.
 
On UNIX/Linux and similar systems, you can typically just type
 
cmake .
make check
make install
 
and ignore the rest of this document.
 
It's best to build CrissCross outside of the source tree,
however. The best way to accomplish this is to do something
like this (note that the commands assume you start inside the
CrissCross source tree, and that the CrissCross source tree
is in a folder called 'crisscross'):
 
mkdir ../cc-build
cd ../cc-build
cmake ../crisscross
make check
make install
 
Thanks to CMake, building on Windows systems is not much
harder than building on any other platform. First, install
CMake from www.cmake.org. You can use Cygwin if you prefer,
but CMake in Cygwin does not generate Visual Studio project
files. Once the Windows version of CMake is installed, bring
up a command prompt and 'cd' to the directory the CrissCross
sources are in. Once there, type
 
cmake -G "Visual Studio 9 2008" .
 
and you've got Visual Studio 2008 projects set up. If you
have an older version of Visual Studio, no worries. You can
replace the text in quotes with "Visual Studio 8 2005" or
one of the other options CMake allows. You can find out what
other options cmake permits by bringing up a command prompt
and simply running 'cmake'.
 
Major warning about Visual Studio compiles: we do NOT support
compiling with Visual Studio 6. While we personally prefer the
UI Visual Studio 6 provides, the compiler it has is essentially
broken and refuses to compile some perfectly valid C++ code.
It's possible to set up Visual Studio 6.0 to use a newer
compiler, but that is beyond the scope of this document.