public
Description: A C++ library with various uses.
Homepage: http://code.google.com/p/crisscross/
Clone URL: git://github.com/tycho/crisscross.git
tycho (author)
Mon Jul 06 01:59:28 -0700 2009
commit  4db695de85017f162043d5037272c9b14f6affad
tree    91c660d6a372dfd259012a72ff64c0b9690da998
parent  709868c09c287401f9fe29b72c4a297b94dfcafc
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.