Commit Graph

632 Commits

Author SHA1 Message Date
Laurent Rineau 3b240607ba Add a suffix "taucs" so that Taucs can be found automatically in
/usr/lib/taucs/ and /usr/include/taucs/. There are RPMs around that install
Taucs in those directories (see taucs atrpm's package for example).
2008-10-27 12:54:52 +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
Fernando Cacciola d70bdaea18 Prefixed cmake variables with CGAL_ 2008-10-23 14:59:02 +00:00
Fernando Cacciola bc48840dd3 Fixed propagation of flags into CGALConfig 2008-10-23 13:32:10 +00:00
Fernando Cacciola 620de7792e LEDA support integrated into CGAL itself 2008-10-17 19:04:04 +00:00
Fernando Cacciola 0876bc0d86 Added leda support 2008-10-17 18:55:54 +00:00
Fernando Cacciola 484ae74ae3 Added BLAS/LAPACK and TAUCS support 2008-10-17 18:13:17 +00:00
Fernando Cacciola 185d7a8e80 FIXED -> Fixed unintentional overrriding of BUILD_SHARED_LIBS o) 2008-10-16 16:55:31 +00:00
Fernando Cacciola 5f60dfbbd1 Fixed unintentional overrriding of BUILD_SHARED_LIBS 2008-10-16 16:32:11 +00:00
Andreas Fabri f4d57e5928 A better name (sugested by Sylvain) 2008-10-16 07:19:44 +00:00
Andreas Fabri a6fd345892 simplified the test, as we know that only VC++ has a problem 2008-10-16 07:18:49 +00:00
Fernando Cacciola fff733b368 Fixed add_to_cached_list 2008-10-15 18:15:03 +00:00
Fernando Cacciola 026bf9eae5 Fixed cache_set macro to accept non-existent variables as lvalues 2008-10-15 18:10:45 +00:00
Andreas Fabri ebd518cb7a Welcome on board VC++8-64bit 2008-10-15 14:33:57 +00:00
Laurent Rineau 0c6ae34dee Use full __VERSION__ macro. 2008-10-15 13:56:41 +00:00
Laurent Rineau d256a634c3 Add src/CGAL/test_FPU_rounding_mode.cpp
That file creates a global (static const) object that:
  - at its creation (start of the program), it stores the FPU rounding mode,
  - at its destruction (end of the program), it emits a CGAL_warning is the
current rounding mode is different from the stored one.

That will permit to track if all CGAL kernel code restore the FPU rounding
mode correctly (needed for some CGAL user and GeometryFactory customers).
2008-10-15 12:53:41 +00:00
Sylvain Pion 1652fec82f Add license notice. 2008-10-13 12:46:01 +00:00
Laurent Rineau 8fc1ad743d Fix all auto-link names!
(Followup of revision 46204.)
2008-10-12 10:31:12 +00:00
Laurent Rineau 61ae23aadd Fix auto-linking of CGAL_Core 2008-10-11 10:32:24 +00:00
Laurent Rineau 533d5f7869 Fix a bug introduced in revision 45996: debug and release are swapped for
the CGAL library! I cannot understand how CGAL had been able to compile on
Windows with that bug!
2008-10-09 20:56:15 +00:00
Fernando Cacciola 1464da510d CMake manual update 2008-10-08 18:59:52 +00:00
Laurent Rineau d8ebb21427 Add <CGAL/glu.h>, used for Windows and MacOS X compatibility. 2008-10-08 11:31:10 +00:00
Fernando Cacciola f8e6c40d73 Fixex link_to_Qt4 2008-10-07 23:10:40 +00:00
Fernando Cacciola aae7e6e95e Avoid re-configuring 3rd party libs on user programs since the reference cache is not loaded in this case 2008-10-07 23:10:03 +00:00
Fernando Cacciola 0f6c7a4beb Added user-side tests for components existence and behaviour 2008-10-07 18:41:01 +00:00
Fernando Cacciola 37d1466909 Fixed CGAL_LIBRARY override 2008-10-07 18:39:23 +00:00
Fernando Cacciola b3a611f4a0 (fixed) Allowed CGAL components to be configured and compiled independently
Make library naming consistent with component names
2008-10-02 18:13:13 +00:00
Fernando Cacciola 8c47be0a13 Fixed droped CGAL_USE_<dependency> 2008-10-01 22:18:40 +00:00
Fernando Cacciola 6fdf8251bd Allowed CGAL components to be configured and compiled independently
Make library naming consistent with component names
2008-10-01 21:38:37 +00:00
Fernando Cacciola 71da81a3bb Components checking fixed 2008-10-01 21:29:30 +00:00
Fernando Cacciola 2092077d93 Dependencies setup refactored II 2008-10-01 21:27:19 +00:00
Fernando Cacciola bd5e784004 Dependencies setup refactored 2008-10-01 21:26:28 +00:00
Fernando Cacciola 2f484f9cae Have find_package() detect sucessful configuration and compilation of CGAL components 2008-09-29 22:30:20 +00:00
Laurent Rineau 202d2b53ca Force variables CGAL_<component>_LIBRARY.
For an unkwnon reason, they are copied from the reference cache, which is wrong.
2008-09-29 10:09:35 +00:00
Laurent Rineau 7a807a490e Fix to please cmake-2.6. 2008-09-24 14:44:44 +00:00
Laurent Rineau b52c7a09e9 - Fix soname and soversion of libraries (they were exchanged).
- Make get_dependency_version found the print_${LIB}_version.cpp, even
  if the lib is compiled separately.
- Rename FindQt3.cmake to FindQt3-patched.cmake and Qt3Macros to
  Qt3Macros-patched.
- Make CGAL-Qt3 compilable separately.
- Fix all commited CMakeLists.txt:
    - use Qt3-patched and Qt3Macros-patched, and s/QT_/QT3_/
    - add a comment about FindQt3-patched,
    - wrap target creation with if(CGAL_FOUND AND QT3_FOUND)/else/endif
- Modified cgal_create_cmake_script
2008-09-24 10:32:44 +00:00
Laurent Rineau a8cdc7ca4a Remove Boost.Bimap FEATURE: it is now hard-coded that bimap is supported iff boost version is >= 1.35 2008-09-24 09:13:57 +00:00
Fernando Cacciola 682fbd0e6f CMake Installation update 2008-09-23 17:11:32 +00:00
Laurent Rineau 6c066dec2d Ooops!
CGAL-Qt3 autolink was broken since I renamed it!
2008-09-23 14:43:45 +00:00
Fernando Cacciola 6016f798e9 CMake Installation update 2008-09-22 18:39:24 +00:00
Fernando Cacciola d238699598 Avoid a compiler error if this is tried with a non-gcc compiler which cmake thinks it is (such as pgCC) 2008-09-18 18:54:43 +00:00
Fernando Cacciola 747f95e0ce Make executables adopt the flags used when building libraries unless specifically told otherwise 2008-09-18 18:33:13 +00:00
Laurent Rineau d86ce5c619 Fix yet another bug in FindBoost.cmake: if Boost_LIBRARY_DIRS is in cache,
use it, instead of overwriting it with a wrong value!
2008-09-17 15:01:30 +00:00
Fernando Cacciola a460b47bfa Re-fixed add_unique_flags 2008-09-16 16:06:20 +00:00
Laurent Rineau a5efb9f1ba Fix indentation. 2008-09-16 13:34:43 +00:00
Laurent Rineau d55fa891ea Fix naming hell in 3RD_PARTY_*DIR (*DIRS or *DIR). I have choosen *DIRS. 2008-09-16 11:57:59 +00:00
Fernando Cacciola e784625207 FIxed "add_unique_flag" macro for cmake 2.4.7 (which doesn't support LIST ( FIND command)" 2008-09-15 18:55:37 +00:00
Fernando Cacciola c85fc9ec45 Added psapi.lib dependency on Windows 2008-09-15 16:41:22 +00:00
Fernando Cacciola cc25cb0130 Fixed unintended presistence of 3RD_PARTY cache variables 2008-09-15 16:25:09 +00:00
Laurent Rineau 6364643bff Funny mistake. "in" is not a known target. :-) 2008-09-15 07:50:29 +00:00