Laurent Rineau
f9917c487e
CMake 2.8.11
2015-07-13 12:36:43 +02:00
Sébastien Loriot
bb9d7d6c6c
use a smaller pdb file for the testsuite
2013-10-15 14:47:25 +02:00
Andreas Fabri
ff938d31a2
There is no need to switch off ITERATOR_DEBUGGING
...
as the performance problem was somewhere else
2013-09-27 11:33:12 +02:00
Laurent Rineau
9cb1aabee4
Fix a CMake warning, in releases
...
Two files were in dont_submit but anyway in the CMakeLists.txt.
A "if(EXISTS..)" is added in the CMakeLists.txt so that CMake does not warn
if the files are not there.
2013-02-20 13:43:34 +01:00
Laurent Rineau
2db4effa7e
CMake: Fix the handling of cmake_policy
...
That is a followup-to my commit last year:
| ------------------------------------------------------------------------
| r63198 | lrineau | 2011-04-28 19:45:22 +0200 (Thu, 28 Apr 2011) | 5 lines
|
| 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.
|
| ------------------------------------------------------------------------
The following check:
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6)
is useless just after a call to:
cmake_minimum_required(VERSION 2.6.2)
The script used to fix that was:
#!/usr/bin/env perl
$replacement=<<'END';
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER 2.8.3)
cmake_policy(VERSION 2.8.4)
else()
cmake_policy(VERSION 2.6)
endif()
END
while(<>) {
if(/if\("\${CMAKE_MAJOR_VERSION}.\${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6\)/) {
while(<>) {
if(/^endif\(\)/) {
print "$replacement";
while(<>) {
print;
}
exit 0
}
}
}
print;
}
2012-08-22 12:35:03 +00:00
Eric Berberich
d4a6f27503
replace calls to UseESTBL
2012-06-26 23:52:07 +00:00
Sébastien Loriot
f8d776eac6
more verbose example
2012-01-27 16:22:41 +00:00
Andreas Fabri
fd5ef86bae
Switch off iterator debugging in this example as it takes hours then
2012-01-24 10:49:30 +00:00
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
Nico Kruithof
3131d6b592
Added an example to show how to retrieve the weighted points that define a face of the polyhedron
2011-02-10 20:38:46 +00:00
Sébastien Loriot
c2d7f69b94
find(ESBTL) after include( ${CGAL_USE_FILE} ) to override
...
CGAL-I-REF config file (now should have r instead of w/n in test-suite)
2010-06-17 06:05:20 +00:00
Sébastien Loriot
d72337785c
remove dependance on CGAL_PDB: merge from the branche created for that purpose
...
I do not remove the directory CGAL_PDB as I am allowed to use svn remove.
2010-06-10 17:26:38 +00:00
Daniel Russel
d00d79d527
make work with new pdb reader
2009-06-10 21:35:28 +00:00
Daniel Russel
d1a3054557
update with PDB reader
2009-04-07 17:36: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
994028ec51
Prefixed CreateSingleSourceCGALProgram.cmake with CGAL_
2008-11-04 13:09:48 +00:00
Fernando Cacciola
70fa9503fd
Added CMP0003 policy
2008-11-04 12:30:29 +00:00
Laurent Rineau
752c1db932
Add conditional compilation (iff PDB is found).
2008-10-02 09:12:58 +00:00
Andreas Fabri
7a3f5c9c61
Made custom CMakeList.txt file as one application needs PDB
2008-09-09 14:01:25 +00:00
Nico Kruithof
608521f6db
Fixed missing include files and removed the beginning of the link to the delaunay mesher.
2008-06-27 13:06:20 +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
279eb55b13
Some cmake scripts for demos and examples fixed
2008-02-07 14:58:33 +00:00
Fernando Cacciola
afddfc4fca
CMake scripts for demos/examples/test added
2008-02-06 19:06:24 +00:00
Nico Kruithof
3d12281b9b
Change for the PDB reader
2007-07-12 15:01:47 +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
ffe1e4ec1c
More redundant filename removal.
...
The only survivors should be under Arrangement_2/examples
(some Doxygen syntax is used, so I don't touch them).
2007-03-10 15:22:41 +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
cb368062d1
add missing CGAL:: qualifications, and proper constifications
2007-03-05 16:37:11 +00:00
Nico Kruithof
bad269ae68
Oops, I turned warnings into errors (typo).
2007-02-26 07:51:02 +00:00
Nico Kruithof
1928de7ca2
Made the skin_surface+pdb-example compile with the global PDB-library.
2007-02-22 07:32:42 +00:00
Nico Kruithof
6aa15af9e4
Deleted the pdb reader. Let's see tomorrow how to link against the new pdb library.
2007-02-19 14:35:22 +00:00
Nico Kruithof
ba7abd2e4c
Making all the compilers happy.
2007-02-06 08:17:14 +00:00
Nico Kruithof
755fdd2c86
(Re)moved some more files for the pdb reader.
2007-02-01 13:28:56 +00:00
Nico Kruithof
41060dfc8d
removed my own makefile and included the source files from Daniel's pdb-reader.
2007-02-01 13:24:28 +00:00
Nico Kruithof
4f941a08de
Found the bug, skin surface package should be fine now
2007-01-29 13:06:27 +00:00
Nico Kruithof
850e86b855
Testing the package
2007-01-29 08:13:44 +00:00
Nico Kruithof
a1ced1f1ad
Cleaned up a lot of code. Need to check why interval arithmetic is not working properly.
2007-01-28 21:31:37 +00:00
Nico Kruithof
e387558c4b
Examples are compiling, next check the output.
...
Further, make a Skin_surface_base class, which is a parent of both Skin_surface_3 and Union_of_balls_3
2007-01-27 16:14:56 +00:00
Nico Kruithof
5cf70f8825
Working on the examples
2007-01-19 17:32:32 +00:00
Nico Kruithof
8f4555ea5d
Added triangulated_mixed_complex back. Next, do the locate in the
...
triangulated mixed complex
2006-12-22 13:07:26 +00:00
Nico Kruithof
76d80a919c
Debugged a runtime error: used vertex_iterator instead of
...
finite_vertices_iterator (same for cells) in the Triangulated mixed complex
2006-12-16 14:24:48 +00:00
Nico Kruithof
162527c483
Working on the filtered triangulated mixed complex
2006-11-15 21:12:21 +00:00
Nico Kruithof
49e37f31b8
The tests are working, if they finish in time ...
2006-10-26 18:57:24 +00:00
Nico Kruithof
f5520fc084
working on the subdivision of the skin surface mesh
2006-09-29 20:26:50 +00:00