Commit Graph

170 Commits

Author SHA1 Message Date
Laurent Rineau b7631f19b5 Fix Ridges_3 and SM_shortest_path with Boost 1.70 2019-05-06 10:11:18 +02:00
Simon Giraudot d8b51a9672 Merge remote-tracking branch 'laurent/Installation-remove_FindBLAS_LAPACK_TAUCS-GF' into Installation-remove_FindBLAS_LAPACK_TAUCS-GF 2019-04-09 15:22:45 +02:00
Sébastien Loriot d60f5645aa replace BOOST_FOREACH by c++ ranged-based for loop
some of the command used for the replacement:
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\(([a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((const typename [a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack --cpp  BOOST_FOREACH -l  | xargs sed -i -E "s/BOOST_FOREACH\((typename [<>a-zA-Z_:&0-9]+)\s(\w+)\,/for(\1 \2 :/"
ack "boost/foreach.hpp" -l --cpp | xargs sed -i '/boost\/foreach.hpp>/d'
2019-03-29 13:22:15 +01:00
Simon Giraudot 911bea4021 Remove Lapack support from Jet_fitting, PSP, Ridges and Solver_interface 2019-03-08 09:53:21 +01:00
Guillaume Damiand 92ba7fa6c9 Update minimum cmake required version in all CMakeLists.txt 2018-10-18 14:49:23 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Andreas Fabri 991f3847e8 Do not include graph_traits_Polyhedron.h, properties_polyhedron.h and Polyhedron_iostream.h 2018-05-03 13:23:50 +02:00
Guillaume Damiand c8250c4570 Merge branch 'master' into BGL-LCC-gdamiand 2017-06-15 10:03:53 -04:00
Guillaume Damiand f5a94891bb Update examples and demo that use BGL for LCC. 2017-06-14 11:42:15 -04:00
Guillaume Damiand 885ef4775a Update examples and tests following renaming of BGL LCC helpers. 2017-05-10 16:20:11 -04:00
Andreas Fabri c81b707bfb Do not include graph_traits_{Polyhedron | Surface_mesh}.h 2017-04-24 19:17:43 +02:00
Guillaume Damiand 755272148a Cleanup BGL for LCC; add shortcut for item with id to simplify definition. 2017-03-31 17:11:36 -04:00
Guillaume Damiand 15ac1f6b35 Add two more examples for BGL for LCC 2017-03-29 13:53:22 -04: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
Marc Pouget c7ae22aba7 hcanged exple infile 2008-01-21 09:45:22 +00:00
Sylvain Pion 6a775c5f2d Add missing headers 2008-01-20 19:05:57 +00:00
Sylvain Pion 50ed4bb632 Use <cstdlib> and <cstdio> consistently instead of <stdio.h> and <stdlib.h>. 2008-01-18 20:33:57 +00:00
Laurent Saboret 9a3a41c302 Port Jet_fitting_3 and Ridges_3 to Win64 2007-08-28 15:11:43 +00:00
Fernando Cacciola 8d2b0faf24 Merged back from 3.3-branch 2007-06-06 16:13:11 +00:00
Fernando Cacciola 88111fcf70 VS project files merged back 2007-06-06 15:35:17 +00:00
Laurent Saboret 7041d64152 Visual C++ auto-link feature for TAUCS and LAPACK 2007-05-24 14:50:24 +00:00
Frédéric Cazals c1a39f63f1 fc. changes introspec-qt to ridges_viewer 2007-04-29 07:30:01 +00:00
Marc Pouget a522d467d4 mv big model to ftp and fix the manual 2007-04-12 11:18:11 +00:00
Marc Pouget f48b78888e rm due to copyright 2007-03-30 08:52:55 +00:00
Marc Pouget 9daee64732 rm big file 2007-03-29 19:30:26 +00:00
Marc Pouget 3ca082b4b0 main parameters wrt with/without boost prog options 2007-03-26 15:06:14 +00:00
Andreas Fabri 7ab92328e9 Removed unused parameters 2007-03-26 07:55:45 +00:00
Marc Pouget 3f574a1e90 changed email of maintainer 2007-03-25 20:41:23 +00:00
Marc Pouget 4b20777898 test lapack before running test 2007-03-24 15:30:56 +00:00
Marc Pouget 0e8a7b169c Name of exemple program changed
added #ifdef CGAL_USE_LAPACK to test if LAPACK is installed
2007-03-22 10:24:31 +00:00
Andreas Fabri 6d90c03b88 default values in absence of Boost ProgramOptions 2007-03-20 10:09:13 +00:00
Andreas Fabri df33591000 Use EXE_OPT instead of -o 2007-03-15 08:26:17 +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 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
Marc Pouget d9a16cc9d8 added global fct 2007-02-16 17:17:54 +00:00
Marc Pouget d51bfe7174 copyright 2007-02-15 15:53:51 +00:00
Marc Pouget d4de21d326 switch t oboost prog option 2007-02-13 17:55:32 +00:00
Marc Pouget 1eab673836 lapack support 2007-02-12 15:36:54 +00:00
Andreas Fabri 0a7af61c7f cleanup 2007-02-11 19:26:04 +00:00
Andreas Fabri 40710904a7 cleanup 2007-02-11 19:10:33 +00:00
Marc Pouget d356a68d0b modif according to Andreas 2006-12-06 14:09:50 +00:00
Marc Pouget 4cdb74b738 1st review from andreas 2006-11-21 15:46:23 +00:00
Marc Pouget 0e70b553b7 i'm done for submission! 2006-09-26 09:28:31 +00:00
Marc Pouget c2d57f5545 added test and revised doc 2006-09-21 21:41:16 +00:00
Marc Pouget dc6fe3035f doc doc doc 2006-09-19 08:13:26 +00:00
Marc Pouget 677fdfd841 doc...... 2006-09-18 17:50:33 +00:00
Marc Pouget e11e9de671 doc! 2006-09-17 19:48:31 +00:00
Marc Pouget 50894a01e1 Pb template solved 2006-09-15 18:55:41 +00:00
Marc Pouget c4baeb17f7 work in process 2006-09-15 17:07:31 +00:00
Marc Pouget da3da5e545 pb template cont'd 2006-09-15 12:31:09 +00:00
Marc Pouget a1af74df34 pb with template in template 2006-09-14 14:56:37 +00:00