Commit Graph

100 Commits

Author SHA1 Message Date
Laurent Saboret 0bbfad9e5c Merge of Fernando's CMake files for BLAS/LAPACK/TAUCS with the original
FindBLAS.cmake and FindLAPACK.cmake in CMake 2.6.
The result is more or less equivalent to install_cgal's behavior.
TODO:
- use a C++ compiler instead of a Fortran one
- try to be compatible with CMake 2.4
- find CBLAS (http://www.netlib.org/cblas)?

Jet_fitting_3 and Surface_mesh_parameterization compile now with CMake
(tested on Linux/gcc and Windows/VC++ 2005).
2008-10-23 16:29:42 +00:00
Laurent Saboret f97e6accee Add back VC++ makefiles until switch to CMake is over 2008-10-23 12:32:01 +00:00
Laurent Rineau f10a590672 Mass-remove vcproj files. 2008-10-21 09:21:22 +00:00
Fernando Cacciola d3e4a80171 Added the correct cmake file 2008-10-20 11:16:56 +00:00
Fernando Cacciola 386afe9077 Added cmake script which now uses TAUCS 2008-10-17 18:14:42 +00:00
Laurent Saboret a3c891df05 Windows specific: fixed crash with TAUCS on large linear systems:
- increased stack size
- added Win32_exception_handler protection to catch stack overflows
2008-10-13 08:33:33 +00:00
Laurent Saboret f524fb618e Added traces 2008-08-25 15:24:58 +00:00
Laurent Saboret a1627b003f Removed unnecessary includes of CGAL/basic.h
Enforced CGAL_NDEBUG rule:
- code under include/CGAL/ and src/ must not use NDEBUG and assert(), but CGAL_NDEBUG and CGAL assertion macros.
- code under demo/, examples/ and test/ must use NDEBUG and assert().
2008-08-21 11:57:02 +00:00
Laurent Saboret 42f40a7fc2 Changed the way parameterization errors are reported. Now:
- there is a clear distinction between internal errors (aka bugs) and not supported input files (typically models which are not topological discs),
- internal errors trigger a test suite failure.

The main consequence is that OpenNL errors trigger now a test suite failure.
2008-08-20 14:47:53 +00:00
Laurent Saboret 5e61260a99 test_all.sh create now a log file 2008-08-20 14:31:55 +00:00
Laurent Saboret fa30accac8 Surface_mesh_parameterization pre-conditions and post-conditions are now always checked,
in order to catch input meshes that do not respect them and avoid crashes in Release mode: 
- For fixed border parameterizations:
 Preconditions:
     check that the border is mapped onto a convex polygon.
     check that the input mesh is triangular (expensive check).
     check that the input mesh is a surface with one connected component (expensive check).
 Postconditions:
     check one-to-one mapping.
- For free border parameterizations:
 Preconditions:
     check that the input mesh is triangular (expensive check).
     check that the input mesh is a surface with one connected component (expensive check).
 Postconditions:
     check one-to-one mapping.
2008-08-19 15:50:40 +00:00
Laurent Saboret 87462368ca Add back VC++ (2005) makefiles until switch to CMake is over 2008-08-19 15:24:50 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Laurent Saboret 0e68fecdfe This package is now compatible with the default makefile and cgal_test files:
- removed .sln and .vcproj VisualC++ makefiles
2008-06-06 13:59:35 +00:00
Laurent Saboret d04e3f8c0d This package is now compatible with the default makefile and cgal_test files:
- removed find_first script
- copied Mesh_cutter.h, Parameterization_polyhedron_adaptor_ex.h and Polyhedron_ex.h from examples/ to test/
2008-06-06 13:17:07 +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
Laurent Saboret e2f3e93490 Update to generate_reference_manual 1.0 2008-02-22 13:03:40 +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 7c9f6841af remove unused argument warning 2007-12-30 15:28:32 +00:00
Sylvain Pion b50e1cea03 Fix warning for empty body of while loop 2007-12-30 15:26:39 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Laurent Saboret 97fa913995 Port to Linux and Windows 64 bits 2007-08-28 15:16:55 +00:00
Fernando Cacciola 8d2b0faf24 Merged back from 3.3-branch 2007-06-06 16:13:11 +00:00
Laurent Saboret ca6d3a67b3 Don't include stdio.h and replace stdlib.h by cstdlib (as requested by AF) 2007-05-30 15:32:34 +00:00
Laurent Saboret bdf4c349a1 Visual C++ auto-link feature.
Moved .vcproj files to VC/ subfolders.
2007-05-24 14:48:57 +00:00
Laurent Saboret e42006dd28 Path to Cygwin is hard-coded to avoid bugs in batch files (MS-DOS prompt was able to call Cygwin shell commands on my machine) 2007-05-16 15:14:24 +00:00
Laurent Saboret b254c3b684 Replaced _SECURE_SCL=0 by _SCL_SECURE_NO_DEPRECATE (as suggested by AF) 2007-05-14 13:18:52 +00:00
Laurent Saboret eff28f304a Fixed Boost program_options support on Windows 2007-05-14 13:18:14 +00:00
Laurent Saboret f31a33900b Fixed test_all.sh/bat 2007-05-14 13:17:49 +00:00
Laurent Saboret be7a57cabc VC++ 7.1 vcproj settings are modified to match CGAL 3.3 alpha Windows installer. Still use TAUCS shipped with CGAL 3.2.1. 2007-05-11 13:41:30 +00:00
Laurent Saboret 452af7b484 Fixed compilation error: removed options.cpp/.h from VC++ makefile 2007-05-07 09:38:59 +00:00
Laurent Saboret f29be78532 Commented out traces 2007-04-24 13:34:11 +00:00
Laurent Saboret 7c2497c5d0 More spell checking 2007-04-23 12:11:29 +00:00
Sylvain Pion d5159785e6 Fix unused argument warning. 2007-03-23 19:03:09 +00:00
Andreas Fabri d6e8c65707 unify default arguments in absence of Boost ProgramOptions with cmd file 2007-03-20 12:59:02 +00:00
Andreas Fabri b41cffe456 unify default arguments in absence of Boost ProgramOptions with cmd file 2007-03-20 12:58:38 +00:00
Andreas Fabri 81fa1871fd default values in absence of Boost ProgramOptions 2007-03-20 10:24:56 +00:00
Joachim Reichel 4f47903a25 moved src/Core to src/CGALCore
moved include/CORE to include/CGAL/CORE
moved include/OpenNL to include/CGAL/OpenNL
renamed libcore++ to libCGALcore++
2007-03-13 18:10:39 +00:00
Andreas Fabri 53c798d8c0 removed unused variables 2007-03-12 12:04:21 +00:00
Andreas Fabri 3461b26439 cleanup 2007-03-11 19:45:44 +00:00
Andreas Fabri ab4c3ff20a Fixes for program options 2007-03-11 19:44:19 +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
Andreas Fabri 9913651cc7 replace options.cpp by usage of boost program options 2007-03-08 15:16:43 +00:00
Andreas Fabri 3ccd9855ef replace options.cpp by usage of boost program options 2007-03-08 15:15:34 +00:00
Andreas Fabri c65a25cfec replace options.cpp by usage f boost program options 2007-03-08 15:13:48 +00:00
Andreas Fabri b4f3264f06 removed options.h 2007-03-08 15:12:50 +00:00