Commit Graph

108 Commits

Author SHA1 Message Date
Andreas Fabri c81b707bfb Do not include graph_traits_{Polyhedron | Surface_mesh}.h 2017-04-24 19:17:43 +02:00
Sébastien Loriot 6b338eeb1f improve the name of projects in cmake scripts of examples 2016-09-08 00:02:55 +02:00
Andreas Fabri 66a57a1b04 ## -> # 2016-01-27 08:58:17 +01:00
Andreas Fabri 2cff1012de only use it if it is available 2016-01-26 17:42:35 +01:00
Andreas Fabri 4b8944e5b2 Replace #ifdef CGAL_USE_BOOST_PROGRAM_OPTIONS with #ifndef DONT_USE_BOOST_PROGRAM_OPTIONS 2016-01-26 17:16:02 +01:00
Laurent Rineau f9917c487e CMake 2.8.11 2015-07-13 12:36:43 +02:00
Andreas Fabri ef0b83fd86 remove unused parameter name 2015-04-15 11:56:44 +02:00
Andreas Fabri 38f77fa583 cleanup 2015-03-17 11:53:22 +01:00
Sébastien Loriot 6d13bb7080 fix compilation issues 2015-03-17 11:24:52 +01:00
Andreas Fabri a3cf33927a do NOT use 'using std' as it introduces ambiguities for function next 2015-03-17 10:41:26 +01:00
Andreas Fabri 90addf9c34 improve examples 2015-03-13 12:14:11 +01:00
Andreas Fabri 91902b9dda improve manual 2015-03-13 09:01:50 +01:00
Andreas Fabri 05669c9800 not 'using std' does not solve the problem with next 2015-03-13 06:05:36 +01:00
Andreas Fabri df6fc3dca3 simplifications 2015-03-12 18:00:18 +01:00
Andreas Fabri 767e0efad3 cleanup 2015-03-12 11:01:56 +01:00
Andreas Fabri 9483280b5b Add example using Surface_mesh 2015-03-11 22:58:55 +01:00
Andreas Fabri fb7deef4ab it now works with Surface_mesh 2015-03-11 19:21:30 +01:00
Andreas Fabri 2d7f51f441 it now works with Surface_mesh 2015-03-11 19:05:57 +01:00
Andreas Fabri 0321056aff before switching to Surface_mesh 2015-03-11 16:48:46 +01:00
Andreas Fabri c1bc5b05ad use BGL free functions 2015-03-11 12:13:46 +01:00
Andreas Fabri 81f5481cfd remove file with functor 2015-03-11 11:53:16 +01:00
Andreas Fabri 298be9cf07 remove file with functor 2015-03-11 11:53:09 +01:00
Andreas Fabri 837a0747a4 use BGL free functions 2015-03-11 11:52:24 +01:00
Andreas Fabri 4b18039316 use graph_traits 2015-03-11 08:30:13 +01:00
Andreas Fabri 171e86a656 User code has to delete ridges and umbilics; internally use a shared_ptr 2013-11-11 17:19:24 +01:00
Andreas Fabri 8ad719e269 Passed to Simple_cartesian
Cleanup of inclusion order, and what files gets included
2013-08-27 10:20:13 +02:00
Laurent Rineau 6fb798bae3 Remove committed .sln and .vcproj files!
And clean the .gitignore file: the .vcproj and .sln are already in the
global globing, and for that reason I have removed all occurrences in
subdirectories.
2013-01-11 09:39:08 +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 357d6258f5 cmake's link_libraries is deprecated
removed almost all occurenced (missing UseFiles). While
doing so, some CMakeLists.txt could also be simplified. In fact
many more CMakeLists.txt can be simplified, in one of two ways:
1) add external libs to CGAL_3RD_PARTY_LIBRARIES and
2) call cgal_create_single_source_program
2012-08-03 22:32:39 +00:00
Sébastien Loriot e702f20986 Eigen 3-1 is out.
Require Eigen 3.1.0 in CMake scripts.
2012-06-27 12:38:32 +00:00
Andreas Fabri 055248b0e4 Remove unnecessary #includes 2012-01-12 16:08:02 +00:00
Sébastien Loriot 9b75cd5506 require Eigen 3.1 or greater 2011-12-22 16:06:37 +00:00
Sébastien Loriot 62ed832e2b *Add a model for SVDTraits using Eigen and use it by default. Update the doc.
*Add non-sparse matrix class (thus renamimg of the existing one)
*specialisation of the matrix class in Eigen_solver_traits according
 whether this is a symmetric or asymmetric matrix
*update use-files of lapack and Taucs to get definitions
2011-09-21 12:36:13 +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
Marc Pouget 403f982727 fixed a reference to a non existing visu demo
Laurent, you can safely backport to the release branch
2011-03-16 09:53:31 +00:00
Sylvain Pion bf3c4c99d1 Remove obsolete makefiles, or cmake-generated makefiles that should not be under SVN. 2009-08-20 13:27:34 +00:00
Marc Pouget b1e7a984b1 removed an example command line using the demo which is not in the release (i add a question by a user about that) 2009-03-11 08:01:57 +00:00
Fernando Cacciola 24f08fc681 Added demos to the demos target 2008-12-18 17:29:36 +00:00
Laurent Saboret 7e9ecb8847 Call find_package(LAPACK) without QUIET option 2008-11-17 09:03:23 +00:00
Laurent Rineau 530a409041 - Add support for Boost.ProgramOptions.
- Add PolyhedralSurf.cpp in the list of sources files.
2008-11-10 11:26:13 +00:00
Laurent Rineau 116fef4c79 Correct use of LAPACK. 2008-11-10 11:16:13 +00:00
Laurent Rineau f10a590672 Mass-remove vcproj files. 2008-10-21 09:21:22 +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