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
6113a8b536
remove warning
2011-02-24 16:05:50 +00:00
Andreas Fabri
da076665d2
int -> size_t
2010-11-27 09:50:32 +00:00
Laurent Rineau
cdf0322256
Let's remove all makefiles, now.
2010-08-23 11:03:02 +00:00
Sébastien Loriot
5471e90cd1
s/succesful/successful
2010-08-12 08:30:26 +00:00
Laurent Rineau
ae34a83cf1
int -> size_t
2010-06-28 10:55:25 +00:00
Andreas Fabri
83d4ef1d1b
Use stream::bad()
2010-06-25 08:41:51 +00:00
Andreas Fabri
d6d5c6c558
Cartesian->Simple_cartesian / float->double / int -> size_t
2010-06-24 08:40:19 +00:00
Andreas Fabri
1c3f1f22db
int -> size_t
2010-06-23 13:41:30 +00:00
Laurent Rineau
5d77f6a49f
Fix the calls to OFF_scanner.scan_facet and
...
.scan_facet_vertex_index. std::size_t shoud be used, now, instead of
Integer32.
2010-06-23 09:21:43 +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
Sylvain Pion
85dc12f2a7
Remove empty lines at beginning and end of files
...
(apply Scripts/developer_scripts/remove_empty_lines.pl).
2010-02-01 12:55:28 +00:00
Sylvain Pion
e0a2006631
Remove semi-colon after main() function definition.
2009-12-12 14:32:20 +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
Sylvain Pion
dfe92e7da1
kill warning
2008-08-21 13:10:38 +00:00
Sylvain Pion
dc3bf72707
Remove changes.txt files.
2008-07-24 17:47:16 +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
Sylvain Pion
a46b55bf71
The files "changes.txt", "description.txt", "long_description.txt" and "maintainer"
...
are now under /trunk/$Package/package_info/$Package/ .
2007-12-02 15:06:42 +00:00
Sylvain Pion
4da7713aa8
Remove obsolete config flag CGAL_CFG_NO_STDC_NAMESPACE and rename
...
its dependant macro CGAL_CLIB_STD to "std".
2007-08-08 15:59:25 +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
05840a8f17
Cleanup of white spaces and empty lines also under examples/*/*.h.
2007-03-10 16:45:36 +00:00
Sylvain Pion
847c23a15e
Removing leading and trailing empty lines from all example files.
...
Using the following Perl script:
-----------------------------------------------------
#!/usr/bin/perl
local($/) = undef;
my $text = <>;
$text =~ s/\A\n+//mg;
$text =~ s/\n+\Z/\n/mg;
print "$text";
-----------------------------------------------------
2007-03-10 16:17:17 +00:00
Sylvain Pion
8bfd7a00e5
Manually remove the remaining "//file:" lines.
2007-03-10 15:03:39 +00:00
Sylvain Pion
6fb5cb906b
Remove trailing white spaces and end of lines.
...
(using : perl -pi.bak -e 's/\s+$/\n/' */examples/*/*.cpp )
2007-03-10 14:59:41 +00:00
Sylvain Pion
b8b87ab5a5
Actually, the "// file: example_bla.cpp" lines are not needed anymore,
...
since the manual tools know it. So let's just remove them (many were
not uptodate with the filemane anyway).
2007-03-10 14:48:00 +00:00
Sylvain Pion
23edc11d3b
Fix all first lines of examples "// file : example_file.C" to .cpp suffix.
...
Using :
for i in * ; do cd $i ; for f in examples/*/*.cpp ; do ( head -1 $f | grep file | grep -v '\.cpp' ) && echo $f && perl -pi.bak -e 's/\.C$/.cpp/' $f ; done ; cd .. ; done
2007-03-10 14:34:05 +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
Sylvain Pion
a7f697fdba
rename .C to .cpp
2007-01-27 20:57:20 +00:00
Sylvain Pion
fb8595b94e
Cleanup : remove ancient CGAL_PROTECT_* macros.
...
It's the compiler's job to optimize preprocessing time.
2007-01-24 17:16:05 +00:00
Sylvain Pion
c03659bc7a
global update of maintainer files
...
(remove Lutz, Sven, Matthias, Geert-Jan...)
2006-12-05 14:01:13 +00:00
Andreas Fabri
471fa5e9c4
changed .C to .cpp in examples
2006-07-09 19:37:37 +00:00
Marc Glisse
b13e3b5ec0
Last round of missing std:: before 3.2 (Andreas permission)
2006-04-19 16:56:12 +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
Andreas Fabri
eb95c007b8
Added a blank before the commas in iv2off.cin as VC8 has a bug in operator>>(istream, int&)
2006-03-13 13:24:06 +00:00
Andreas Fabri
a07c366a99
Added a blank before the commas in iv2off.cin as VC8 has a bug in operator>>(istream, int&)
2006-03-13 13:23:34 +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