Laurent Rineau
a6514fdfad
Merge branch 'master' into Scripts-simplify_user_scripts-GF
2019-06-06 10:11:23 +02:00
Laurent Rineau
84ea2f0e96
Use OPTIONAL_COMPONENTS, for Boost
2019-05-13 17:21:58 +02:00
Laurent Rineau
72b56e4156
Remove unneeded whitespace and comments for empty sections
2019-05-07 11:24:24 +02:00
Laurent Rineau
70a7fce1fc
Fix the handling of Boost
...
- only search for Boost if extra Boost components are required,
- do not test `Boost_FOUND` (because Boost is `REQUIRED` in
`find_package`),
- use Boost imported targets instead of variable (compatibility with
Boost-1.70 CMake config mode)
2019-05-07 11:23:00 +02:00
Laurent Rineau
af16025ce0
CGAL is REQUIRED in find_package: no need to test CGAL_FOUND
...
As CGAL is `REQUIRED` in `find_package`, no test of `CGAL_FOUND` can
be done, if `CGAL_FOUND` is not `TRUE`, then CMake stops with a hard
error at the line `find_package(CGAL REQUIRED ...)`.
2019-05-07 11:21:12 +02:00
Laurent Rineau
e77f3e5d1c
Remove support for Qt4
2019-05-07 11:20:01 +02:00
Laurent Rineau
59dd85b953
Fix the usage
2019-05-07 11:18:32 +02:00
Laurent Rineau
4c8709cc60
Remove `ENABLE_CTEST`: it is by default in CGAL
2019-05-07 11:16:21 +02:00
Laurent Rineau
4a0c40b731
Update `cmake_minimum_required`
2019-05-07 11:15:56 +02:00
Laurent Rineau
dc96a7ecbd
Upgrade `cmake_minimum_required`
2019-05-07 11:15:25 +02:00
Laurent Rineau
3c2ca27da8
Fix `$TYPE`
2019-05-07 11:15:09 +02:00
Laurent Rineau
96ee94eb05
Remove `if ( CGAL_FOUND )`: CGAL is `REQUIRED` in `find_package`
2019-05-07 11:14:09 +02:00
Laurent Rineau
0ade3a5576
Remove `set(CMAKE_CXX_STANDARD 14)`: it's the default with CGAL-5.0
2019-05-07 11:13:21 +02:00
Laurent Rineau
d4e09c1d78
Modernize the CMakeLists.txt that use LEDA
...
The file `${CGAL_USE_FILE}` must be included before
`find_package(LEDA)` can be called. But that would require to verify
`CGAL_FOUND` first...
Actually, now that we require at least CMake 3.1, let's say that CGAL
is `REQUIRED`, but not the components. That is the basic truth, and
that avoids testing for `CGAL_FOUND`.
At the same time, I have modified the `cmake_minimum_required`:
- placed as the first line,
- set to `3.1...3.13`:
https://cmake.org/cmake/help/latest/command/cmake_policy.html#setting-policies-by-cmake-version
I have also removed the comments that says the `CMakeLists.txt` was
generated. That may have been true... but before a lot of modifications.
2019-03-27 09:56:16 +01:00
Guillaume Damiand
0bd9088b5a
Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required.
2018-10-17 14:17:08 +02:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Sébastien Loriot
a89ccb10e7
remove non UTF-8 characters
2017-01-19 15:20:26 +01:00
Laurent Rineau
2cc5afd7b6
Enable C++14 by default in generated CMake scripts
...
(cherry picked from commit b11818e8d67dd741ac411bc02e108ddd9a290fd3)
2016-09-30 18:21:58 +02:00
Laurent Rineau
545e80f18e
Add a variable CGAL_CURRENT_SOURCE_DIR
...
Save the current source directory to `CGAL_CURRENT_SOURCE_DIR`. The
variable value is modified by a `CMakeLists.txt` file when it is
generated by `cgal_create_cmake_script` in the binary tree. The script
`cgal_create_cmake_script` itself it called by CMake, by the function
`process_CGAL_subdirectory` (see its definition in
`Installation/cmake/modules/CGAL_Macros.cmake`), called in
`(examples|test|demo)/CMakeLists.txt`.
Eventually, that variable value is supposed to be the directory to the
current sources, even if the current `CMakeLists.txt` is within the
binary tree.
That is used in `CGAL_CreateSingleSourceCGALProgram.cmake` for the CTest
support, so set correctly the current working directory (in the
directory of the tests/examples).
2016-09-20 10:53:20 +02:00
Philipp Möller
2edc292f7e
Drop -p option
...
The required code is no longer supported after the removal of
CGAL_ALLOW_ALL_PRECONFIGURED_LIBS_COMPONENT
2016-02-16 17:25:19 +01:00
Sébastien Loriot
eb4f860f3b
remove mentions of Qt3
2015-10-05 15:19:58 +02:00
Laurent Rineau
6506a35e7f
It is CMake 2.8.11 that we want.
2015-07-13 12:21:54 +02:00
Laurent Rineau
3ec0c69f8f
We want 2.8.10 for all demos
...
Previous versions are not tested by the CGAL daily test suite.
2015-07-09 17:50:22 +02:00
Alexander Kobel
8ae9c144a8
make cgal_create_CMakeLists and its brethren recognize all common C++ source file extensions
...
Rationale: cgal_create_CMakeLists and related scripts used to not
consider files ending on anything else than .cpp or .C as C++ sources.
This patch allows for the list of extensions considered as C++ source
files as stated in the g++ man page.
2015-06-25 15:55:55 +02:00
Sébastien Loriot
6ed1ba826e
Merge branch 'to-be-tested/Stop_testing_taucs-sloriot'
...
Taucs, Lapack and Blas supports are no longer tested
Approved by the Release Manager
Tested in CGAL-4.5-Ic-97
Conflicts:
Polyhedron/demo/Polyhedron/CMakeLists.txt
2014-07-16 20:19:21 +02:00
Laurent Rineau
37fdf5a4e9
Typo
2014-06-27 14:54:43 +02:00
Sébastien Loriot
aeb094e4cc
more Taucs removal
2014-06-25 15:58:37 +02:00
Laurent Rineau
27b73b067d
Output to stdout, for consistency with the other outputs
2013-09-03 17:25:33 +02:00
Laurent Rineau
73ad12ef1f
cgal_create_cmake_script now displays created targets on stderr
2013-08-30 13:34:44 +02:00
Eric Berberich
357d6258f5
cmake's link_libraries is deprecated
...
removed almost all occurenced (missing UseFiles). While
doing so, some CMakeLists.txt could also be simplified. In fact
many more CMakeLists.txt can be simplified, in one of two ways:
1) add external libs to CGAL_3RD_PARTY_LIBRARIES and
2) call cgal_create_single_source_program
2012-08-03 22:32:39 +00:00
Eric Berberich
4cc4796227
correct name of ImageIO
2012-08-03 17:50:11 +00:00
Eric Berberich
7df5cae640
moved
2012-05-24 12:36:17 +00:00
Eric Berberich
530dc3ade2
better name
2012-05-24 12:35:31 +00:00
Eric Berberich
7ef7089f54
added comments to unsupported
2012-05-24 12:33:53 +00:00
Sébastien Loriot
191add8a6f
fix esbtl typo
2012-05-21 10:37:42 +00:00
Eric Berberich
42799e2a39
merge from next
2012-05-21 09:23:32 +00:00
Laurent Rineau
a82b1a3ddb
Add the shebang
2012-02-03 11:03:49 +00:00
Eric Berberich
1c1718376f
added TODO to be in sync with old script
2012-01-31 14:32:23 +00:00
Eric Berberich
3a5220da8d
testing not for demos
2012-01-28 10:04:46 +00:00
Eric Berberich
559e2f8583
enable testing, use get_filename_component
2012-01-26 15:36:38 +00:00
Eric Berberich
e1186423ac
ensure capitalization
2012-01-26 13:38:54 +00:00
Eric Berberich
998d186e2e
fixed boost, fixed filename, more file globbing
2012-01-26 02:58:52 +00:00
Eric Berberich
f492bf2b26
some globbing of files
2012-01-26 02:32:57 +00:00
Eric Berberich
7210a543b3
single and all sources, missing PARSING, GLOBBING OF FILES
2012-01-25 14:23:20 +00:00
Eric Berberich
4443fa00ce
added some qt3, qt4 stuff; fixing spacing of components
2012-01-25 13:44:25 +00:00
Eric Berberich
f6f14ae89a
more local include
2012-01-25 13:30:36 +00:00
Eric Berberich
bc7c6664a0
added Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include diradded Boost + local include dir
2012-01-25 13:26:24 +00:00
Eric Berberich
640a4e6cb4
moved some parts from bash script already
2012-01-25 13:16:52 +00:00
Eric Berberich
7cb739f3e9
passing command line options to a cmake script in script mode
2012-01-25 09:15:21 +00:00
Eric Berberich
832c6c02e7
merge from next; installation.tex got major changes
2012-01-23 13:54:58 +00:00