Laurent Rineau
3c02e07b23
Try to fix my last revision about cmake_policy, with CMake-2.6.x
...
CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
x.y.z is greater than the current CMake version.
2011-04-28 17:45:22 +00:00
Laurent Rineau
c97205f085
Global handling of CMake policies (second part)
...
We declare
cmake_minimum_required(VERSION 2.6.2)
but we also use
cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.
That way, we no longer need any declaration of specific policies.
Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
2011-04-28 10:55:56 +00:00
Laurent Rineau
0631943153
Uniform capitalization in our CMake script: use lowercase for commands
2011-04-28 10:36:18 +00:00
Laurent Rineau
ca5c92e034
Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
...
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
- change cmake_minimum_required to VERSION 2.6.2
- no longer any need for the policy CMP0003 (was for 2.4.x)
- no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 17:58:27 +00:00
Sébastien Loriot
e5a96255ba
*remove warnings.
...
In particular remove UNTESTED_XXXXXXXXXXX unused variable that possibly hide true warnings.
In those cases, the string printed while executed now starts with "NOTE: ".
*CGAL internal code no longer rely on depecrated features
2011-02-28 15:28:28 +00:00
Laurent Rineau
eef140e603
Follow-up of previous commit:
...
| ------------------------------------------------------------------------
| r59682 | lrineau | 2010-11-12 16:17:09 +0100 (Fri, 12 Nov 2010) | 3 lines
|
| Patch so that KDS no longer uses deprecated code (mirror_index and
| mirror_vertex from Triangulation_face_base).
|
| ------------------------------------------------------------------------
2010-11-17 10:42:07 +00:00
Laurent Rineau
48a7f8fb26
KDS demo needs Core.
2010-09-23 19:47:01 +00:00
Andreas Fabri
72a7d2973e
thank you, eagle
2010-08-23 17:36:50 +00:00
Andreas Fabri
08605c0f72
Remove extra ';'
2010-08-23 13:36:27 +00:00
Laurent Rineau
cdf0322256
Let's remove all makefiles, now.
2010-08-23 11:03:02 +00:00
Sébastien Loriot
d53e01f1a1
remove package namespace macro
2010-06-09 08:45:58 +00:00
Sébastien Loriot
52317dd49f
add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
...
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Fernando Cacciola
24f08fc681
Added demos to the demos target
2008-12-18 17:29:36 +00:00
Laurent Rineau
4032eade9a
Massive removale of "QUIET" in find_package calls (except for
...
FindVTK.cmake, which has a bug). Let's see if that can help us to find out
why we still have problems with demos on MacOS and Windows.
2008-11-19 13:58:43 +00:00
Laurent Rineau
38e5a4ebf5
Fix the use of Boost program options.
2008-11-10 10:23:40 +00:00
Fernando Cacciola
547bffecd9
Put CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in the right place for cmake 2.4
2008-11-06 13:03:41 +00:00
Fernando Cacciola
70fa9503fd
Added CMP0003 policy
2008-11-04 12:30:29 +00:00
Fernando Cacciola
6495c9da12
Rename CGAL_SetupBLAS (et al) to CGAL_UseBlas (et al) - Part 2/2
2008-10-30 16:01:16 +00:00
Fernando Cacciola
f7f4320e16
Added CGAL_SetupBoostProgramOptions
2008-10-30 15:26:31 +00:00
Laurent Rineau
9844e82b54
Rename 2D demos, and "dont_submit" 3D ones.
2008-10-21 09:59:04 +00:00
Laurent Rineau
f10a590672
Mass-remove vcproj files.
2008-10-21 09:21:22 +00:00
Laurent Rineau
566782f0ec
Commit a CMakeLists.txt that allows to compile 2D demos.
...
3D demos use Coin3D, which is not supported by CMake.
2008-10-21 08:52:58 +00:00
Laurent Rineau
efa3705fe1
Fix typo: missing ";"
2008-10-21 08:52:03 +00:00
Laurent Rineau
881a713595
7th pass to remove CGAL_USE_QT: remove manually all remaining CGAL_USE_QT
2008-09-09 22:29:51 +00:00
Laurent Rineau
7dee76b1ab
Third pass (manually) to remove CGAL_USE_QT
2008-09-09 21:46:21 +00:00
Fernando Cacciola
f93437ca22
Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release)
2008-05-05 14:01:55 +00:00
Daniel Russel
488c34f406
make pretty
2008-04-01 18:05:30 +00:00
Fernando Cacciola
b704509dcf
Examples/Demos/Test CMake scripts updated
2008-03-05 21:14:02 +00:00
Fernando Cacciola
a659cd852a
Added project() and conditional test for CGAL_DIR
2008-02-14 15:42:36 +00:00
Daniel Russel
7eee16103a
updated manual
2008-02-13 00:55:29 +00:00
Fernando Cacciola
14043c43a0
Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically)
2008-02-08 17:47:21 +00:00
Fernando Cacciola
afddfc4fca
CMake scripts for demos/examples/test added
2008-02-06 19:06:24 +00:00
Daniel Russel
1e531c4370
class vs struct fixed
2008-02-06 18:13:32 +00:00
Daniel Russel
75d053154f
fixed demos. Found some problem with dynamic insertion in regular triangulations.
2008-01-14 22:01:20 +00:00
Andreas Meyer
c1d1609af1
replaced CGAL_assertion( false* and CGAL_assertion( 0*
...
with CGAL_error/CGAL_error_msg
2007-11-08 00:27:20 +00:00
Daniel Russel
a183e20905
moved gui stuff to new listeners
2007-06-14 21:50:44 +00:00
Daniel Russel
ee6591fbf6
minor changes to Label and macros
2007-06-13 23:19:20 +00:00
Daniel Russel
81ccf38256
things build after log move
2007-06-11 00:08:13 +00:00
Daniel Russel
7d9a1eaf8c
libCGAL builds
2007-06-10 23:46:47 +00:00
Fernando Cacciola
88111fcf70
VS project files merged back
2007-06-06 15:35:17 +00:00
Andreas Fabri
ea71b8eaa1
.C ->.cpp and autolinking
2007-04-11 13:59:20 +00:00
Daniel Russel
ddcc31dd2f
oops, reversed the negation
2007-04-06 22:57:22 +00:00
Daniel Russel
063d7296df
skip compilation of SoQt_examiner when CGAL_USE_COIN not defined
2007-04-02 23:31:07 +00:00
Daniel Russel
a7f1be9087
oops, need to disable it
2007-03-29 19:54:36 +00:00
Daniel Russel
cc0f4dcc02
hack to disable compilation with coin
2007-03-29 19:53:56 +00:00
Daniel Russel
81dac44112
various tweaks to avoid warnings and obscure errors
2007-03-29 19:36:13 +00:00
Daniel Russel
314dc792b6
minor cleanup of manual
2007-03-27 22:03:36 +00:00
Daniel Russel
66fbaffbd3
added use coin
2007-03-26 21:49:55 +00:00
Andreas Fabri
5c48473fc8
moved variables in #ifdef block where they are used
2007-03-26 08:26:14 +00:00
Daniel Russel
ee367b4b0e
try to make gcc 4.3 happy by direct reference to masked class
2007-03-19 04:09:27 +00:00