Commit Graph

324 Commits

Author SHA1 Message Date
Laurent Saboret be09d80d95 * Bug fix: fixed compatibility of TAUCS/BLAS/LAPACK precompiled libraries with Visual C++ 9.0 2008:
CGAL 3.5 will include TAUCS/BLAS/LAPACK precompiled libraries for Visual C++ 8.0 and 9.0. 
Auto-link is modified accordingly.

* Also fixed compatibility of cgal_test_with_cmake.bat scripts with VC++ 9.0.
2009-08-26 16:23:28 +00:00
Laurent Saboret d879d0191a Fixed potential conflicts with third party libraries (Visual C++ only):
Removed _HAS_ITERATOR_DEBUGGING=0 setting to go back to default settings.
This setting could create conflicts with third party libraries like _SECURE_SCL=0 crashes boost program options.

Note that no conflict with _HAS_ITERATOR_DEBUGGING was reported. This is just a safety change.
2009-07-16 18:16:24 +00:00
Laurent Saboret 11cb5a223f Fixed bug in cgal_test_with_cmake and compiler warning on platform Cygwin/Visual C++/NMake. 2009-07-08 08:51:56 +00:00
Laurent Saboret 786f9d5768 Automatic documentation improvements by generate_reference_manual 1.3:
- Reduced left margin of free functions description.
- Fixed bug: fixed vertical alignment in methods/functions description.
- Fixed bug: does not remove anymore EOLs in methods/functions description.
- Fixed bug #7515: removed "[protected]", "[static]" and "[virtual]" comments.
2009-06-11 08:38:15 +00:00
Laurent Saboret bfc3fa82d6 Compare logs with Beyond Compare 2009-05-26 17:06:30 +00:00
Laurent Saboret 689118b8d1 Fixed misspelling: "an halfedge" -> "a halfedge" 2009-03-18 08:59:29 +00:00
Laurent Saboret 92a1e27edd Renamed test_all.sh/bat (quick and cross-platform version of cgal_test_with_cmake) as quick_test_suite.sh/bat 2009-03-12 12:25:06 +00:00
Laurent Saboret 22c5f2d586 Code cleaning 2009-03-10 15:36:10 +00:00
Laurent Saboret 5838bb45ec Fixed small bug: only 1 output file is allowed.
Unfortunately, the crash in Boost Program Options remains (VC++ Release mode only).
2008-12-17 17:03:27 +00:00
Laurent Saboret bceeaf55cc Fixed bugs in compilation options:
- this works now when configuring CGAL with examples 
- this works now with VC++ 9.0

Removed (stupid) VC++ 9.0 warning in Iterator.h.
2008-12-17 16:59:39 +00:00
Laurent Saboret a0bb4e822d Better workaround of g++ 4.1 optimizer bug: -fno-strict-aliasing. Performance penalty is 5% vs 24% with -O 2008-12-08 15:38:27 +00:00
Laurent Saboret 0da25145da Skip authalic/opennl test which is very unstable 2008-12-08 15:30:51 +00:00
Laurent Saboret 201b369941 Workaround g++ 4.1 optimizer bug that creates an infinite loop in Surface_mesh_parameterization if using -O2 or -O3 option 2008-12-05 15:50:21 +00:00
Laurent Saboret 8df473faf8 Removed VC++ makefiles (replaced by CMake makefiles) 2008-11-17 10:55:16 +00:00
Laurent Saboret 0fecaae6dd - Bug fix:
Fixed link with Boost.ProgramOptions on Windows/VC++

- Code cleaning:
CGAL_USE_TAUCS #define has been moved back to CGAL_UseTAUCS.cmake

- Added back traces of third-party libraries found.
2008-11-12 17:24:24 +00:00
Laurent Rineau 38e5a4ebf5 Fix the use of Boost program options. 2008-11-10 10:23:40 +00:00
Laurent Rineau a4215bd4ea Fix conditional compilation of TAUCS features in
Surface_mesh_parametrization, after revisions 46743-46745.
2008-11-07 15:30:00 +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 145ee41079 Prefixed CGAL cmake modules with CGAL_ 2008-11-04 12:49:32 +00:00
Fernando Cacciola 70fa9503fd Added CMP0003 policy 2008-11-04 12:30:29 +00:00
Fernando Cacciola 6495c9da12 Rename CGAL_SetupBLAS (et al) to CGAL_UseBlas (et al) - Part 2/2 2008-10-30 16:01:16 +00:00
Fernando Cacciola f7f4320e16 Added CGAL_SetupBoostProgramOptions 2008-10-30 15:26:31 +00:00
Laurent Saboret 164adfb71d Fixed bug: AUTO_LINK_ENABLED was renamed CGAL_AUTO_LINK_ENABLED 2008-10-28 12:47:45 +00:00
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
Andreas Fabri 13ff38aeba removed the accidental GPL header 2007-03-08 15:12:26 +00:00
Andreas Fabri d6c5e91285 stdlib and stdio are not needed 2007-03-07 16:56:51 +00:00
Sylvain Pion 83fc6b33f5 create_cgal_test now generates the same as this one (forgets files which do not have main()). 2007-02-15 23:23:36 +00:00
Laurent Saboret 5acf3212bf Undo revision 35475 2006-12-15 10:16:52 +00:00
Laurent Saboret c5f77f2351 Fixed svn:eol-style property of scripts and makefiles 2006-12-08 16:49:35 +00:00
Laurent Saboret 688307e266 Remove output file if test fails. 2006-12-08 16:14:45 +00:00
Laurent Saboret 258df72389 Fixed 2 crashing bugs in Parameterization_mesh_patch_3 (see fork.off and butterfly-2faces.off).
Added is_valid to ParameterizationMesh_3 concept.
Added back traces (if DEBUG_TRACE is defined).
2006-12-08 16:12:22 +00:00
Laurent Saboret 4a7623521d Copied Jacobi and SSOR preconditioners for OpenNL's BICGSTAB and Conjugate Gradient from Graphite 1.9. Uses by default Jacobi preconditioner. 2006-12-04 09:13:31 +00:00
Laurent Saboret 987377c0b6 Fixed bug: use solver optimized for symmetric definite positive matrices for LSCM method 2006-12-04 08:39:07 +00:00
Laurent Saboret 3ecd838242 Log file moved to test/ subfolder 2006-12-04 08:36:32 +00:00
Laurent Saboret 7816f27c69 Fixed execution error on Cygwin 2006-12-04 08:35:46 +00:00
Laurent Saboret fce2decf79 Added back debug code that truncates floating point values in OBJ and EPS outputs, in order to ease files comparison (if DEBUG_TRUNCATE_OUTPUT is defined) 2006-12-04 08:33:43 +00:00
Laurent Saboret 80f61dfaf6 Fixed clashes with min/max macros in Windows.h 2006-08-31 09:36:41 +00:00
Laurent Saboret 563dcb9dc9 Rename .C files as .cpp (end) 2006-08-24 12:58:00 +00:00
Laurent Saboret b3cf9b824e Renamed check_16_2048.bmp as check_64x64.bmp 2006-08-21 15:32:59 +00:00
Andreas Fabri 8c7284f20e minmax fixes 2006-08-18 21:32:52 +00:00
Sylvain Pion 15bcc33768 Mesh_cutter.C -> .cpp 2006-08-06 22:11:09 +00:00
Andreas Fabri cc55d5488b changed .C to .cpp in examples 2006-07-09 19:47:56 +00:00
Laurent Saboret eb94daeb91 Fixed usage 2006-07-06 13:09:17 +00:00
Laurent Saboret 5958afc427 Fixed include paths 2006-05-22 11:25:51 +00:00
Laurent Saboret 089f75c1c1 Fixed bug: we need to include basic.h defore testing CGAL_USE_TAUCS 2006-05-18 11:26:33 +00:00
Laurent Saboret 19e9a8be05 Fixed include and library paths to be compatible with both CGAL 3.2 beta (I-463) and SVN working directory. 2006-05-18 08:08:44 +00:00
Laurent Saboret 6b98fb6812 Removed browser information to avoid stupid C4503 compilation warning (Visual C++) 2006-05-10 15:35:49 +00:00
Laurent Saboret 9eda840a54 .vcproj makefiles are now compatible with new CGAL 3.2 cgallib.vcproj:
- /MD
- 3rd party libraries are listed in VC++ Options dirs
2006-05-09 09:11:56 +00:00
Laurent Saboret 24207beac9 Workaround ATLAS "Symbol information corrupt" bug with VC++ debugger (see http://sourceforge.net/tracker/index.php?func=detail&aid=760444&group_id=23725&atid=379483) 2006-04-26 14:17:31 +00:00
Laurent Saboret 81dc1914dd Fixed compilation warning with VC++ 7.1 2006-04-26 13:54:53 +00:00
Laurent Saboret 181b4dd883 Use multithreaded DLL runtime on Windows/Visual C++.
Note: impossible to debug anymore with VC++ :-(
2006-04-21 14:31:27 +00:00
Laurent Saboret d5f6332ecf Added error message 2006-03-28 10:05:35 +00:00
Laurent Saboret 703de7620f Fixed test suite on Cygwin: removed call to time shell command 2006-03-28 07:36:26 +00:00
Laurent Saboret a724496f02 Use smaller test models to avoid cpu time limit 2006-03-27 10:38:06 +00:00
Laurent Saboret 9e8ba2d568 VC++ projects need now only the %TAUCSROOT% variable 2006-03-20 15:50:41 +00:00
Laurent Saboret 445397cbe8 Added detection of TAUCS library at installation time 2006-03-16 17:21:55 +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
Laurent Saboret 85bcb175af Include <CGAL/basic.h> first 2006-03-15 18:01:06 +00:00
Laurent Saboret 2d7dbed6da Large changes of the user manual requested by MK:
- added paragraph about exact arithmetic and algorithmic complexity (BL)
- concepts are now described at the begining of the user manual
- mesh cutting is better explained (picture provided by PA)
- improved description of available solvers
- reference pages are listed thematically in the reference manual
- Fixed UML diagrams in Software Design section

Other changes requested by PA:
- pictures of algorithms output in 2D (EPS)
2006-03-09 17:15:04 +00:00
Laurent Saboret 3757bcaa08 Include stdlib.h instead of defining directly exit() 2006-03-08 13:39:10 +00:00
Laurent Saboret c8c1e81b44 Use check board as default parameterization texture (as requested by PA) 2006-03-07 09:37:26 +00:00
Laurent Saboret 223ac145be Added Complete_parameterization_example test 2006-03-07 09:35:12 +00:00
Laurent Saboret f812186cf6 Added Complete_parameterization_example test 2006-03-07 09:02:58 +00:00
Laurent Saboret bf827e4a06 Put (almost) the entire example code in the user manual (as requested by MK) 2006-03-06 19:23:46 +00:00
Laurent Saboret c7dfff5de9 Removed not-yet-implemented features (as requested by MK) 2006-03-06 14:14:28 +00:00
Laurent Saboret d83784ed18 Replaced 'one to one' and '1 to 1' by 'one-to-one' (as requested by MK) 2006-03-06 13:32:35 +00:00
Laurent Saboret 7c66270ea9 Added same test as cgal_test 2006-03-03 10:12:25 +00:00
Laurent Saboret 5108d76708 Added same test as cgal_test 2006-03-03 10:09:51 +00:00
Laurent Saboret d2777b879a Changed pointers to mesh to references all over the package (as requested by MK) 2006-03-03 09:33:29 +00:00
Laurent Saboret aadd6d748c Added same test as cgal_test 2006-03-03 09:30:14 +00:00
Laurent Saboret 3d0500cb10 Fixed compilation errors when TAUCS is not installed 2006-03-02 09:00:33 +00:00
Laurent Saboret 2724d64bdb Rename Parameterization package as Surface_mesh_parameterization 2006-03-01 18:36:54 +00:00
Laurent Saboret f1c2d63b1a Rename Parameterization package as Surface_mesh_parameterization 2006-03-01 17:20:56 +00:00
Laurent Saboret 880ece127c Rename Parameterization package as Surface_mesh_parameterization 2006-03-01 16:43:35 +00:00