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
Laurent Rineau
cdf0322256
Let's remove all makefiles, now.
2010-08-23 11:03:02 +00:00
Andreas Fabri
1c3f1f22db
int -> size_t
2010-06-23 13:41:30 +00:00
Laurent Rineau
50c483ccb7
Commit missing CMakeLists.txt for demos.
2008-12-10 11:03:43 +00:00
Laurent Rineau
2145a4b412
Add CMakeLists.txt. The auto-generated one does not do the job. I do not
...
know why the testsuite has not seen that.
2008-12-10 10:21:26 +00:00
Andreas Fabri
b7d18a20f2
No Geomview_stream on Windows
2008-10-18 14:34:05 +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
Sylvain Pion
59368dea5a
typo
2008-01-22 10:32:06 +00:00
Sylvain Pion
4d1b8d63e3
Remove workarounds and support for the BORLAND compiler.
2008-01-20 20:24:20 +00:00
Joachim Reichel
08ae9d5089
add missing default makefile
2007-03-25 12:16:52 +00:00
Sylvain Pion
b2630cd7e1
Apply trailing whites-spaces and leadgin+trailing empty-lines cleanups
...
to demo/**/*.h and .cpp.
2007-03-10 16:55:12 +00:00
Sylvain Pion
5a9d063a3c
Remove committed makefile, as it is useless, and buggy (generates a warning).
2007-02-27 23:41:59 +00:00
Andreas Fabri
471fa5e9c4
changed .C to .cpp in examples
2006-07-09 19:37:37 +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
db6a8f948c
Change CVS keywords to SVN style
2006-02-16 14:30:13 +00:00
Laurent Saboret
1aad55d4cb
Change CVS keywords to SVN style
2006-02-14 10:08:15 +00:00
Laurent Saboret
0951de43dc
Move packages to trunk root
2006-02-14 08:58:18 +00:00