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
Sylvain Pion
2bdf828dfd
Unless I am mistaken, those pre-CMake makefiles are obsolete.
2009-08-20 11:45:12 +00:00
Laurent Rineau
b861e82892
Fix conditionnal compilation. Do not compile Qt3 demos if CGAL_Qt3 is not found.
2008-11-20 13:22:51 +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
Andreas Fabri
bbd746515b
fixed typo
2008-10-07 07:47:08 +00:00
Andreas Fabri
e74fd88166
Conditional compilation
2008-10-02 07:16:33 +00:00
Laurent Rineau
410f435d21
6th pass to remove CGAL_USE_QT: remove "#ifdnef CGAL_USE_QT"/"#else"/"#endif"
2008-09-09 22:20:48 +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
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
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
Joachim Reichel
d08f6bea45
replace obsolete variable CGAL_QT_LDFLAGS by CGAL_LDFLAGS
2007-03-11 09:54:17 +00:00
Laurent Rineau
0049115d81
Fix typo in the main() prototype.
2007-03-02 08:03:34 +00:00
Laurent Rineau
f83e26cdbd
Fix test: include <CGAL/basic.h> before testing if CGAL_USE_QT is defined.
2007-03-01 09:58:59 +00:00
Laurent Rineau
1f1c86ec4d
Fix stupid error: char* -> char** in void main(int, char**);
2007-02-22 20:04:27 +00:00
Sylvain Pion
cd4ff41d33
rename .C to .cpp
2007-01-27 21:09:59 +00:00
Joachim Reichel
f582718758
rename create_makefile to cgal_create_makefile to avoid name clashes,
...
adjust all occurences of create_makefile and create\_makefile in the entire
repository (well, trunk only)
2006-03-15 22:10:02 +00:00
Laurent Saboret
541f5f7f0e
Remove .cvsignore files (changed to svn:ignore properties)
2006-02-14 09:20:20 +00:00
Laurent Saboret
9467f7c323
Move packages to trunk root
2006-02-14 08:58:18 +00:00