mirror of https://github.com/CGAL/cgal
s/3.8/3.9/
This commit is contained in:
parent
2dda11dde7
commit
e05fc81a4d
|
|
@ -63,11 +63,11 @@ This document describes how to install \cgal\ on Windows, Unix-like systems and
|
|||
Ideally, installing \cgal\ amounts to:
|
||||
|
||||
\begin{verbatim}
|
||||
cd CGAL-3.8 # go to CGAL directory
|
||||
cd CGAL-3.9 # go to CGAL directory
|
||||
cmake . # configure CGAL
|
||||
make # build the CGAL libraries
|
||||
cd examples/Straight_skeleton_2 # go to an example directory
|
||||
cmake -DCGAL_DIR=$HOME/CGAL-3.8 . # configure the examples
|
||||
cmake -DCGAL_DIR=$HOME/CGAL-3.9 . # configure the examples
|
||||
make # build the examples
|
||||
\end{verbatim}
|
||||
%% $ This dollar is there to trick syntax highlighting in emacs
|
||||
|
|
@ -78,7 +78,7 @@ generator, and third party libraries. That's what this manual is about.
|
|||
\section{Supported Compilers}
|
||||
|
||||
In order to build the \cgal\ libraries, you need a \CC\ compiler.
|
||||
\cgal~3.8 is supported for the following compilers/operating systems:
|
||||
\cgal~3.9 is supported for the following compilers/operating systems:
|
||||
|
||||
\begin{center}\index{compilers!supported}\index{supported compilers}
|
||||
\renewcommand{\arraystretch}{1.3}
|
||||
|
|
@ -160,7 +160,7 @@ installed is recommended. These libraries can be obtained from
|
|||
As Visual \CC\ is not properly
|
||||
supported by the \gmp\ and \mpfr\ projects, we provide precompiled versions
|
||||
of \gmp\ and \mpfr, which can be downloaded with the installer
|
||||
\texttt{CGAL-3.8-Setup.exe}.
|
||||
\texttt{CGAL-3.9-Setup.exe}.
|
||||
|
||||
\subsection{CORE \label{thirdparty:Core}}
|
||||
|
||||
|
|
@ -241,7 +241,7 @@ It also contains a complete \lapack\ implementation.
|
|||
As Visual~\CC\ is not properly
|
||||
supported by the \taucs\ project, we provide a precompiled version of
|
||||
\taucs, which can be downloaded with the installer
|
||||
\texttt{CGAL-3.8-Setup.exe}.
|
||||
\texttt{CGAL-3.9-Setup.exe}.
|
||||
|
||||
{\em CAUTION:} Since version 3.3.1, \cgal\ is no longer compatible with the official
|
||||
release of \taucs\ (currently 2.2). Make sure to use the modified
|
||||
|
|
@ -331,16 +331,16 @@ It can be downloaded from \esbtlpage.
|
|||
|
||||
The \cgal\ library can be downloaded from \cgaldownloadpage.
|
||||
|
||||
After you have downloaded the file \texttt{CGAL-3.8.tar.gz} containing the
|
||||
After you have downloaded the file \texttt{CGAL-3.9.tar.gz} containing the
|
||||
\cgal\ sources, you have to unpack it. Under a Unix-like shell, use the
|
||||
command:
|
||||
|
||||
\begin{verbatim}
|
||||
tar xzf CGAL-3.8.tar.gz
|
||||
tar xzf CGAL-3.9.tar.gz
|
||||
\end{verbatim}
|
||||
|
||||
|
||||
When you are on Windows you may download and run the \texttt{CGAL-3.8-Setup.exe}. It is a
|
||||
When you are on Windows you may download and run the \texttt{CGAL-3.9-Setup.exe}. It is a
|
||||
self extracting executable that installs the \cgal\ source, and that allows
|
||||
you to select and download some precompiled third party libraries.
|
||||
|
||||
|
|
@ -386,7 +386,7 @@ third-party libraries you want to use and where they can be found, and
|
|||
which \cgal\ libraries you want to build. Gathering
|
||||
all this information is called {\em configuration}.
|
||||
|
||||
For CGAL-3.8, the configuration is generated with \cmake, a
|
||||
For CGAL-3.9, the configuration is generated with \cmake, a
|
||||
cross-platform build system. This manual explains only those features of
|
||||
\cmake\ which are needed in order to build \cgal. Please refer to the \cmake\
|
||||
documentation at \cmakepage\ for further details.
|
||||
|
|
@ -403,7 +403,7 @@ argument the root directory of \cgal. For example:
|
|||
|
||||
{\ccTexHtml{\scriptsize}{}
|
||||
\begin{verbatim}
|
||||
cd CGAL-3.8
|
||||
cd CGAL-3.9
|
||||
cmake-gui . # Notice the dot to indicate the current directory.
|
||||
\end{verbatim}
|
||||
}
|
||||
|
|
@ -431,7 +431,7 @@ Alternatively, you can run the command-line tool called
|
|||
|
||||
{\ccTexHtml{\scriptsize}{}
|
||||
\begin{verbatim}
|
||||
cd CGAL-3.8
|
||||
cd CGAL-3.9
|
||||
cmake . # Notice the dot to indicate the current directory.
|
||||
\end{verbatim}
|
||||
}
|
||||
|
|
@ -463,7 +463,7 @@ build files). For example, the following generates solution files for use in Vis
|
|||
|
||||
{\ccTexHtml{\scriptsize}{}
|
||||
\begin{verbatim}
|
||||
cd CGAL-3.8
|
||||
cd CGAL-3.9
|
||||
cmake -G"Visual Studio 9 2008" .
|
||||
\end{verbatim}
|
||||
}
|
||||
|
|
@ -475,7 +475,7 @@ specify the desired compiler in the call to \cmake{}, as in this example:
|
|||
|
||||
{\ccTexHtml{\scriptsize}{}
|
||||
\begin{verbatim}
|
||||
cd CGAL-3.8
|
||||
cd CGAL-3.9
|
||||
cmake -DCMAKE_CXX_COMPILER:FILEPATH=g++-3.4 .
|
||||
\end{verbatim}
|
||||
}
|
||||
|
|
@ -529,7 +529,7 @@ If you turn off the configuration of a library, you can still configure it manua
|
|||
|
||||
{\ccTexHtml{\scriptsize}{}
|
||||
\begin{verbatim}
|
||||
cd CGAL-3.8/src/CGALQt4
|
||||
cd CGAL-3.9/src/CGALQt4
|
||||
cmake . # configures only the CGAL_Qt4 library
|
||||
\end{verbatim}
|
||||
}
|
||||
|
|
@ -582,12 +582,12 @@ You can, for example, generate subdirectories \cgaldir{}\texttt{/cmake/platforms
|
|||
|
||||
{\ccTexHtml{\scriptsize}{}
|
||||
\begin{verbatim}
|
||||
mkdir CGAL-3.8/cmake/platforms/debug
|
||||
cd CGAL-3.8/cmake/platforms/debug
|
||||
mkdir CGAL-3.9/cmake/platforms/debug
|
||||
cd CGAL-3.9/cmake/platforms/debug
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug ../../..
|
||||
|
||||
mkdir CGAL-3.8/cmake/platforms/release
|
||||
cd CGAL-3.8/cmake/platforms/release
|
||||
mkdir CGAL-3.9/cmake/platforms/release
|
||||
cd CGAL-3.9/cmake/platforms/release
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ../../..
|
||||
\end{verbatim}
|
||||
}
|
||||
|
|
@ -608,7 +608,7 @@ succeeding build step as follows:
|
|||
{\ccTexHtml{\scriptsize}{}
|
||||
\begin{verbatim}
|
||||
|
||||
cd CGAL-3.8
|
||||
cd CGAL-3.9
|
||||
|
||||
# build all the selected libraries at once
|
||||
|
||||
|
|
@ -706,7 +706,7 @@ installation in a {\sc Unix}-like environment:
|
|||
{\ccTexHtml{\scriptsize}{}
|
||||
\begin{verbatim}
|
||||
|
||||
cd CGAL-3.8
|
||||
cd CGAL-3.9
|
||||
|
||||
cmake . # configure
|
||||
make # compile
|
||||
|
|
@ -728,7 +728,7 @@ variable explicitly {\em at the configuration time} and not when executing the i
|
|||
\end{ccAdvanced}
|
||||
|
||||
The file \texttt{CGALConfig.cmake} is installed by default in
|
||||
\texttt{\$CMAKE\_INSTALLED\_PREFIX/lib/CGAL-3.8}.
|
||||
\texttt{\$CMAKE\_INSTALLED\_PREFIX/lib/CGAL-3.9}.
|
||||
|
||||
|
||||
\section{Configuring and Building Programs Using \cgal}
|
||||
|
|
@ -747,8 +747,8 @@ to indicate the location of that config file in the \cmake\ variable
|
|||
{\ccTexHtml{\scriptsize}{}
|
||||
\begin{verbatim}
|
||||
|
||||
cd CGAL-3.8/examples/Straight_skeleton_2
|
||||
cmake -DCGAL_DIR=$HOME/CGAL-3.8 .
|
||||
cd CGAL-3.9/examples/Straight_skeleton_2
|
||||
cmake -DCGAL_DIR=$HOME/CGAL-3.9 .
|
||||
make
|
||||
|
||||
\end{verbatim}
|
||||
|
|
@ -788,13 +788,13 @@ controlling variable right up front:
|
|||
{\ccTexHtml{\scriptsize}{}
|
||||
\begin{verbatim}
|
||||
|
||||
cd CGAL-3.8
|
||||
cd CGAL-3.9
|
||||
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-g .
|
||||
|
||||
cd CGAL-3.8/examples/Straight_skeleton_2
|
||||
cd CGAL-3.9/examples/Straight_skeleton_2
|
||||
|
||||
cmake -DCGAL_DIR=CGAL-3.8 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS=-O2 -DCGAL_DONT_OVERRIDE_CMAKE_FLAGS=TRUE .
|
||||
cmake -DCGAL_DIR=CGAL-3.9 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS=-O2 -DCGAL_DONT_OVERRIDE_CMAKE_FLAGS=TRUE .
|
||||
|
||||
\end{verbatim}
|
||||
}
|
||||
|
|
@ -1322,7 +1322,7 @@ cmake -DWITH_examples=false
|
|||
-- uic executable: C:/Work/Downloaded/Libraries/qt-win-opensource-src-4.4.1/bin/uic.exe
|
||||
-- Configuring done
|
||||
-- Generating done
|
||||
-- Build files have been written to: C:/Work/Active/GeometryFactory/CGAL/Autotest/CGAL-3.8/cmake/platforms/a
|
||||
-- Build files have been written to: C:/Work/Active/GeometryFactory/CGAL/Autotest/CGAL-3.9/cmake/platforms/a
|
||||
\end{verbatim}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue