-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4304 from MaelRL/CGAL-Header_only_doc_rewrite-GF
Documentation: switch manual to header-only by default (+misc improvements)
- Loading branch information
Showing
25 changed files
with
1,865 additions
and
1,760 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
Documentation/doc/Documentation/Developer_manual/cmakelist_script.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
/*! | ||
|
||
\page devman_create_cgal_CMakeLists Creating a CMake Script for a Program Using %CGAL | ||
|
||
To compile a program that is not shipped with \cgal, it is recommended to also rely on a CMake-supported | ||
configuration using a `CMakeLists.txt`. The Bourne-shell script `cgal_create_CMakeLists.txt` | ||
can be used to create such `CMakeLists.txt` files. | ||
This script resides in the `scripts` directory of \cgal (e.g. `CGAL-\cgalReleaseNumber``/scripts` | ||
directory if you have downloaded a tarball). | ||
Executing `cgal_create_CMakeLists.txt` in an application directory creates a | ||
`CMakeLists.txt` containing rules to build the contained | ||
application(s). Three command line options determine details of the | ||
configuration. | ||
|
||
<DL> | ||
<DT><B>`-s source`</B><DD> If this parameter is given the script will | ||
create <B>a single executable</B> for 'source' linked with | ||
compilations of all other source files | ||
(`*.cc`, `*.cp`, `*.cxx`, `*.cpp`, `*.CPP`, `*.c++`, or `*.C`). | ||
This behaviour is usually needed for (graphical) demos. | ||
|
||
If the parameter is not given, the script creates <B>one executable for each given | ||
source file</B>. | ||
<DT><B>`-c com1:com2:...`</B><DD> Lists components ("com1", | ||
"com2") of \cgal to which the executable(s) should be linked. Valid components are \cgal's | ||
libraries (i.e.\ "Core", "ImageIO", and "Qt5"). An example is `-c Core`. | ||
|
||
<DT><B>`-b boost1:boost2:...`</B><DD> Lists components ("boost1", | ||
"boost2") of \sc{Boost} to which the executable(s) should be | ||
linked. Valid options are, for instance, "filesystem" or "program_options". | ||
|
||
</DL> | ||
|
||
This options should suffice to create `CMakeLists.txt` script | ||
for most directories containing programs. However, in some special | ||
cases, it might still be required to create the script manually, for | ||
instance, if some source files/executables need a different linking than | ||
other source files. | ||
|
||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
/*! | ||
\page general_intro Getting Started | ||
\page general_intro Getting Started with %CGAL | ||
|
||
- \subpage installation describes how to install %CGAL, and lists the third party libraries on which %CGAL depends, or for which %CGAL provides interfaces. | ||
The following pages describe how to use \cgal on different environments | ||
|
||
- \subpage manual gives an idea where you should look for documentation. | ||
The documentation for a class, may be spread over manual pages of | ||
base classes, and reference manual pages of concepts the class is a model of. | ||
|
||
- \subpage usage | ||
|
||
- \subpage preliminaries lists the licenses under which the %CGAL datastructures and algorithms are distributed, how to control inlining, thread safety, code deprecation, checking of pre- and postconditions, and how to alter the failure behavior. | ||
- \subpage windows | ||
|
||
- \subpage thirdparty gives information (supported versions, download links) of the required and optional third party libraries. | ||
|
||
The following pages cover advanced installation options | ||
|
||
- \subpage configurationvariables gives information about which CMake variables can be used to help | ||
resolve missing dependencies while using the cmake command line tool. | ||
|
||
- \subpage installation describes the deprecated process of configuring and building \cgal. | ||
|
||
The following pages cover the structure of the manual and general information about \cgal | ||
|
||
- \subpage manual gives an idea of where you should look for documentation. | ||
|
||
- \subpage preliminaries lists how to control inlining, thread safety, code deprecation, checking | ||
of pre- and postconditions, and how to alter the failure behavior. | ||
|
||
Once you are familiar with building your programs with \cgal and how the documentation is structured, | ||
you can head over to the \ref tutorials for a gentle introduction to \cgal, or directly to the package(s) | ||
that interest you the \ref packages. Each package contains simple examples of the various functionalities of the package. | ||
|
||
*/ |
Oops, something went wrong.