Commit Graph

918 Commits

Author SHA1 Message Date
Joachim Reichel 9695d7afa4 minor updates for the 3.4 release (directory names, etc.) 2008-12-14 13:21:39 +00:00
Andreas Fabri cf8b0124d0 small changes as suggested by Joachim 2008-12-12 15:00:13 +00:00
Andreas Fabri 5f94b287f4 INSTALL covers the command line tools. It is not about Unix vs. Windows 2008-12-12 14:48:59 +00:00
Andreas Fabri e14f06b047 Resurrect and evolve Joachim's version of INSTALL 2008-12-12 14:24:21 +00:00
Andreas Fabri 4b512a32bf Remove lib, Add doc_html 2008-12-12 10:01:59 +00:00
Laurent Rineau 641e82e285 Commit several changes, about BLAS/LAPACK, and an incomplete sentence about
METIS/TAUCS.
2008-12-12 09:29:32 +00:00
Andreas Fabri cb67e5abfa Don't submit parse_awk 2008-12-12 08:22:58 +00:00
Andreas Fabri b168a60c35 removed README 2008-12-12 08:18:38 +00:00
Andreas Fabri 801edc54c4 Remove outdated sections from the appendix 2008-12-12 08:17:16 +00:00
Andreas Fabri 0a430c4117 Don't submit /config/support/README 2008-12-12 08:07:13 +00:00
Laurent Rineau 41bb417143 - CGAL cmake files are installed by default in
${CMAKE_INSTALL_PREFIX}/lib/CGAL-3.4 (but on Windows)
- The generated CGALConfig.cmake (from CGALConfig_install.fhs.cmake has
  been modified so that it no longer refers to the source directory.
2008-12-11 15:24:51 +00:00
Andreas Fabri a146ef7f2f Add Convex decomposition and new functions of Nef_3 2008-12-10 17:27:21 +00:00
Laurent Rineau f6253cbb79 Fix typos (use Laurent Saboret version). 2008-12-10 16:07:16 +00:00
Laurent Rineau 18db3f75e3 ispell pass 2008-12-10 13:07:46 +00:00
Andreas Fabri b6ca8aa190 Add prerequisites 2008-12-10 13:00:09 +00:00
Andreas Fabri 611e7bef0b Add closing parenthesis 2008-12-10 07:49:06 +00:00
Andreas Fabri 000869c942 change authors and first paragraph 2008-12-09 19:22:18 +00:00
Laurent Rineau f690a817e2 More precise description of Qt4 cmake configuration. 2008-12-09 18:07:17 +00:00
Laurent Rineau e6067fecc3 - Remove one footnote (embedded in the text flow, now).
- Fix one typo.
- Fix one example, about the usage of CGAL_DIR.
2008-12-09 16:08:26 +00:00
Laurent Rineau 7e668fafd9 Use \cmake{} instead of cmake. 2008-12-09 15:24:08 +00:00
Laurent Rineau 167bb98a3a Remove that useless sentence, that links to something that no longer
exists.
2008-12-09 15:01:27 +00:00
Sylvain Pion 9601658698 New config testfile to check for some C++0x feature.
gcc supports it at least in C++0x mode.
2008-12-09 14:56:51 +00:00
Fernando Cacciola 760dd350eb Set WITH_LEDA OFF by defaut 2008-12-05 16:21:14 +00:00
Fernando Cacciola 99e4540773 Added custom 'install_FindCGAL' target 2008-12-05 16:20:07 +00:00
Fernando Cacciola e808b0d426 Spelled checked 2008-12-05 15:30:55 +00:00
Fernando Cacciola 0a912171c8 Installation manual update 2008-12-05 14:56:41 +00:00
Laurent Rineau 4f6e073e8a Prevent false auto-links. 2008-12-05 13:10:52 +00:00
Andreas Fabri e697bab998 Add libQGLViewer and layout changes 2008-12-03 15:41:17 +00:00
Laurent Rineau 38cbc3926c If GMP is not here, CGAL_Core cannot be compiled. 2008-12-03 13:57:18 +00:00
Laurent Rineau 642bde884e Last minute big change: make GMP/MPFR an optional dependency.
Locally tested.

Just after that commit, I will create a fake release and trigger a
test suite with that modification.
2008-12-03 13:09:43 +00:00
Laurent Rineau f9f2c8809a fix unused variables 2008-12-03 09:35:03 +00:00
Laurent Rineau 66336af847 Fix "unused variable 'c'" 2008-12-03 09:31:53 +00:00
Fernando Cacciola 4bf387c6ca Fix assembling of optimized|debug LEDA libraries 2008-12-02 18:31:31 +00:00
Fernando Cacciola 50b6d809d3 Fixed typo 2008-12-02 18:15:13 +00:00
Andreas Fabri dd33ad3cfc cleanup 2008-12-02 11:32:30 +00:00
Andreas Fabri 731e50518a don't submit install_cgal 2008-12-02 11:32:12 +00:00
Andreas Fabri ebc0686ab4 Add text for Qt4 2008-12-01 11:59:25 +00:00
Andreas Fabri daa863a953 Added changes 2008-12-01 10:54:28 +00:00
Andreas Fabri 36b0e36f30 bye bye install_cgal 2008-12-01 10:10:19 +00:00
Andreas Fabri cb44718771 bye bye install_cgal 2008-12-01 10:08:29 +00:00
Andreas Fabri 27793e4140 bye bye install_cgal 2008-12-01 10:06:40 +00:00
Andreas Fabri 781655de6f bye bye install_cgal 2008-12-01 10:03:45 +00:00
Andreas Fabri a184378ddf reformatting and precisions 2008-12-01 10:02:23 +00:00
Fernando Cacciola 6553984e9f Turn OFF examples and demos by default because under Visual Studio this creates a solution with hundreds of projects 2008-11-28 21:20:19 +00:00
Fernando Cacciola dfa94e2e7d Patch FindQt4 moccing under windows 2008-11-28 21:18:33 +00:00
Andreas Fabri 106639714f cleanup 2008-11-28 14:44:03 +00:00
Laurent Rineau d90803500a - Fix the use of the \cgal macro.
- ispell pass: two typos.
2008-11-27 18:21:48 +00:00
Fernando Cacciola b06cc3fc0e Moved cmake modules back (3/3) 2008-11-27 17:30:01 +00:00
Laurent Rineau 6f96cf0d09 ispell found two typos. 2008-11-27 17:12:10 +00:00
Andreas Fabri a1956733c9 Add BoostConsulting, cmake-gui and change a list 2008-11-27 16:56:38 +00:00
Fernando Cacciola 4a4d927522 Moved cmake modules back (2/3) 2008-11-27 16:36:00 +00:00
Andreas Fabri 43197de18d simplifications 2008-11-27 15:55:39 +00:00
Andreas Fabri 2ddb07f22f simplifications 2008-11-27 15:41:41 +00:00
Laurent Rineau 46b70b7c25 Fix again FindQGLViewer.cmake so that it deals with debug and release
libraries, even on Linux where only the release one exists.

Rename QGLVIEWER_LIBRARY to QGLVIEWER_LIBRARIES (-IES), to mimic other
CMake packages.
2008-11-27 15:20:46 +00:00
Andreas Fabri 0af9b0b752 simplifications 2008-11-27 15:04:01 +00:00
Andreas Fabri 2e52b40268 A first pass 2008-11-26 22:14:50 +00:00
Laurent Rineau 4686cb8df4 Revert revision 47046. 2008-11-26 15:35:30 +00:00
Fernando Cacciola 82047a7559 Fixed unnecessary tagged libraries stuff 2008-11-26 15:26:36 +00:00
Laurent Rineau 786707b3b0 Add <CGAL/auto_link/CGALQt.h>, so that link_to_CGAL_Qt3.cpp can compile and
link under Windows.
2008-11-26 13:09:27 +00:00
Laurent Rineau 186cc049df Hardcode "vc80" as TOOLSET for gmp and mpfr. Those libraries are C
libraries (not C++) and we do not need to distinguish between versions of
VC for C libraries.
2008-11-26 11:33:30 +00:00
Laurent Rineau 2d54bbdf5f s/WARNING:/NOTICE:/ so that one can have a blue 'r' (missing requirement)
instead of a yellow 'y' (warning) in test results.
2008-11-25 22:28:41 +00:00
Fernando Cacciola 09cc8a35db Added macros to properly arranged tagged libraries listings 2008-11-21 19:00:02 +00:00
Sylvain Pion 8eab7e07dd Split <CGAL/assertions.h> in 2 files, by moving the assertion behaviour
changing functions to a separate header, not included by default
(<CGAL/assertions_behaviour.h>).  The motivation is to hide the enum
values with risky names (ABORT, EXIT, CONTINUE) to a header file which
is most probably not used by any user (or very few).
(breaks backward compatibility for an expected very few, for the sake
of erasing random surprises for "many" ?)
2008-11-21 16:42:02 +00:00
Laurent Rineau f336f4340e Followup to revision 46844.
Attempt to search in $QTDIR/bin first, before searching in $PATH.
2008-11-19 13:52:09 +00:00
Michael Kerber 86fe5c6df1 LEDA Version is detected also when path and lib are passed by cmake-arguments 2008-11-18 09:32:12 +00:00
Laurent Saboret fdf2b32c26 - Removed CGAL_USE_BLAS/CGAL_USE_LAPACK #defines (unused).
- Do not call find_package() anymore.

- Protect scripts against multiple inclusions.
2008-11-17 10:39:37 +00:00
Laurent Saboret 9b6db227a8 - Bug fix: force variables value in cache.
- Removed QUIET parameter from calls to find_package().
2008-11-17 10:37:22 +00:00
Andreas Fabri f31433798a LaurentS's fixes for cmake cache 2008-11-14 15:21:32 +00:00
Fernando Cacciola 7062842d64 Fixed LEDA version detection 2008-11-13 18:01:24 +00:00
Laurent Saboret bcb9e6a8af - Make sure that FindLAPACK.cmake always calls find_package(BLAS).
- Added BLAS_INCLUDE_DIR and LAPACK_INCLUDE_DIR to support CBLAS/CLAPACK on Windows. This is the default on win64.
2008-11-13 17:22:53 +00:00
Laurent Rineau 62e8f40ba3 Call find_package(BLAS QUIET), even if LAPACK_LIBRARIES_DIR or
LAPACK_LIBRARIES is set.
2008-11-13 10:55:13 +00:00
Laurent Rineau 3ba325a39e Typo. That made CGAL-3.4-I-494's test suite be fully red. 2008-11-13 09:17:06 +00:00
Laurent Saboret 6c2703299f Special case for autotest_cgal_with_cmake:
On Windows/VC++, $CGAL_TAUCS_DIR can point to a folder containing the output of
build_taucs_win32_for_CGAL.bat/build_taucs_win64_for_CGAL.bat,
ie TAUCS libraries compiled for all Windows runtimes.
2008-11-12 17:32:35 +00:00
Laurent Saboret cbee4a7769 Code cleaning 2008-11-12 17:18:48 +00:00
Laurent Saboret f66afc0c1f Bug fix:
Fix use of BLAS_LIB_DIR and LAPACK_LIB_DIR environment variables.
2008-11-12 17:14:14 +00:00
Laurent Saboret f7909a4674 - Code cleaning:
Add back CGAL_USE_TAUCS, CGAL_USE_BLAS, CGAL_USE_LAPACK #defines. Only CGAL_USE_TAUCS is currently used. The others are defined by symmetry with other third-party libraries.

- Bug fix: 
Call find_package(LAPACK) before including CGAL_UseLAPACK.cmake. 
Idem for BLAS.
2008-11-12 17:11:22 +00:00
Laurent Rineau 3192eeb9d8 Fix my stupid revision 46847: "Do not display "Building (shared|static)
libraries" during the configuration of an example or a demo."
2008-11-12 17:00:52 +00:00
Fernando Cacciola 353864cf4a Added workaround to SET bug in cmake 2.6
Added link_libraries in UseCGAL (but did not remove target_link_libraries from the programs)
2008-11-12 16:49:55 +00:00
Laurent Rineau 2cabf4a168 Do not display "Building (shared|static) libraries" during the
configuration of an example or a demo.
2008-11-12 15:00:15 +00:00
Laurent Rineau 4f69d413d6 Attempt to fix Qt3 support when Qt4 is installed and /usr/bin/qmake is
Qt4's one.
2008-11-12 13:24:34 +00:00
Laurent Rineau dc59756edd Use get_dependency_version(LEDA). That will compile and run
config/support/print_LEDA_version.cpp
2008-11-12 10:37:36 +00:00
Laurent Rineau 29104437a6 Fix to get the OpenGL version on Darwin too. 2008-11-12 10:36:15 +00:00
Andreas Fabri 758278da6b print LEDA version 2008-11-12 08:49:45 +00:00
Fernando Cacciola 48f5914fc0 Renamed the cmake variable CGAL_LEDA_VERSION as LEDA_VERSION for consistency with all the other LEDA related cmake variables 2008-11-10 16:10:21 +00:00
Laurent Rineau fa912f218c Add NOTICE: where needed, so that the test results scripts can generate a "r". 2008-11-10 11:09:21 +00:00
Laurent Rineau 38e5a4ebf5 Fix the use of Boost program options. 2008-11-10 10:23:40 +00:00
Fernando Cacciola f03d9122b2 Fixed uniquely_add_flags for multiple flags added in the same call as it happens when the reference cache is loaded 2008-11-07 18:11:04 +00:00
Fernando Cacciola 5baa371e4c Fixed link order 2008-11-07 18:09:47 +00:00
Fernando Cacciola 0d67a24c0f Allow users to secify DEBUG and RELEASE variants of the leda libs 2008-11-07 17:12:08 +00:00
Fernando Cacciola eb788696c8 Fixed GNUCC->GNUCXX and detection of GCC 2008-11-07 16:46:03 +00:00
Fernando Cacciola 17389a0ed8 Override fags from CGALConfig in the cache as well as in memory 2008-11-07 16:44:23 +00:00
Laurent Rineau 1fd219bf27 Fix a comment in endif() and remove the "echo Coucou" that I inserted for
easy debugging.
2008-11-07 15:10:08 +00:00
Laurent Rineau 61925b0d2b Followup to revision 46743:
"  Modify the BLAS/LAPACK/TAUCS support to mimic other FindXYZ.cmake modules:
    - a XYZ_USE_FILE variable is defined,
    - the module ${XYZ_USE_FILE} is responsible for using the variables defined 
      by FindXYZ.
"

I should have tested that before the commit.
2008-11-07 15:00:33 +00:00
Laurent Rineau bf093806d7 Modify the BLAS/LAPACK/TAUCS support to mimic other FindXYZ.cmake modules:
- a XYZ_USE_FILE variable is defined,
  - the module ${XYZ_USE_FILE} is responsible for using the variables defined 
    by FindXYZ.
2008-11-07 14:37:14 +00:00
Andreas Fabri 1ef283bde3 Introduce Qt4 and the libQGLViewer 2008-11-06 20:20:10 +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
Laurent Rineau fe3c92fe42 In testsuite, we want the default built type to be "Debug", and not
"Release".
2008-11-06 10:40:43 +00:00
Laurent Rineau cf1febcab0 Add a comment to endif(), to avoid future problems. 2008-11-06 10:06:35 +00:00
Fernando Cacciola 0238a1c451 Put CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in the right place for cmake 2.4 2008-11-05 20:47:04 +00:00
Fernando Cacciola aea1cd261c Fixed CGALConfig overriding 2008-11-05 17:02:33 +00:00
Laurent Saboret 3fc829bd02 Fixed crashing bug on MacOS X:
Search BLAS/LAPACK Fortran interface before the C interface, because the Fortran interface is standardized and the C one not. CGAL supports currently only ACML C interface.
2008-11-05 12:45:57 +00:00
Laurent Saboret 6fe6e23bd8 Include CGAL_GeneratorSpecificSettings to define CGAL_AUTO_LINK_ENABLED 2008-11-05 12:42:49 +00:00
Fernando Cacciola 11b5b28d0c Install FindCGAL.cmake 2008-11-04 17:55:10 +00:00
Fernando Cacciola 8e65f1a63d renamed cmake/modules to lib/CGAL-3.4 (1.5/1) 2008-11-04 16:03:27 +00:00
Fernando Cacciola 015e9639aa renamed cmake/modules to lib/CGAL-3.4 (1/1) 2008-11-04 16:02:15 +00:00
Fernando Cacciola 2d5b17b9f4 renamed cmake/modules to lib/CGAL-3.4 (0/1) 2008-11-04 16:00:57 +00:00
Fernando Cacciola fb446def12 Moved CGALConfig.cmake-.*.in down lib/CGAL.3,4 2008-11-04 15:58:45 +00:00
Laurent Rineau d8c6dce8cc Use \texttt instead of the old construction {\tt }, which does not work
correctly with latex_to_html in an array.
2008-11-04 15:42:14 +00:00
Laurent Rineau 9bc4e099d4 Fix a typo. 2008-11-04 15:38:23 +00:00
Laurent Rineau 7c771215f7 Minor modifications:
- fix typos,
  - remove heavy use of footnotes, that break the reading flow.
2008-11-04 15:18:34 +00:00
Laurent Saboret c99c1ce981 Fixed usage of LAPACK_LINKER_FLAGS (see r46659) 2008-11-04 14:37:39 +00:00
Laurent Saboret 69eade49a7 Port to Windows/Visual C++ 2005 2008-11-04 14:15:30 +00:00
Fernando Cacciola 3843318804 Fixed usage of BLAS_LINKER_FLAGS 2008-11-04 13:48:23 +00:00
Fernando Cacciola 808720ead6 FIxed LEDA_LINERFLAGS and use them in CGAL_SetupLEDA 2008-11-04 13:47:59 +00:00
Fernando Cacciola d597b8c40b Separate defintions from flags 2008-11-04 13:25:05 +00:00
Fernando Cacciola 994028ec51 Prefixed CreateSingleSourceCGALProgram.cmake with CGAL_ 2008-11-04 13:09:48 +00:00
Fernando Cacciola 29000b40d1 Removed more obsoloted cmake modules 2008-11-04 12:56:36 +00:00
Fernando Cacciola 67151cd142 Removed obsoleted cmake modules 2008-11-04 12:50:28 +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 6bae1045df Fixed handling of flags when defined interactively 2008-11-03 21:00:22 +00:00
Laurent Saboret 419684e402 Improved BLAS/LAPACK/TAUCS support:
- use a C++ compiler instead of a Fortran one
- compatible with CMake 2.4
2008-11-03 17:46:30 +00:00
Laurent Rineau 5175f3c926 Add USING before the cmake version, so that the result collection scripts
can retrieve that value.
2008-11-03 00:24:53 +00:00
Fernando Cacciola cd8a9bfb78 Fixed set of leda related vars in the cache 2008-10-31 21:52:34 +00:00
Laurent Rineau a2b19b120d Use ^4 and ^4.2 as regular expression, to be sure that we do not matches
another part of the version.
2008-10-31 15:03:03 +00:00
Fernando Cacciola 45dccfe44b Skip GMPXX under windows 2008-10-30 21:57:13 +00:00
Joachim Reichel c7acd3c6c7 new INSTALL file for cmake-based installations 2008-10-30 19:39:55 +00:00
Fernando Cacciola 0625d88f70 Added variables summary 2008-10-30 19:00:26 +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 144fbe74d5 Rename CGAL_SetupBLAS (et al) to CGAL_UseBlas (et al) - Part 1/2 2008-10-30 15:59:05 +00:00
Fernando Cacciola f44cc724b2 Remove definitions of CGAL_3RD_PARTY_* variables in user-side dependency setup scripts 2008-10-30 15:43:44 +00:00
Fernando Cacciola f7f4320e16 Added CGAL_SetupBoostProgramOptions 2008-10-30 15:26:31 +00:00
Fernando Cacciola 2455ef9e85 Replaced CGAL_SOURCE_DIR and CGAL_BINARY_DIR with CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR 2008-10-30 13:45:04 +00:00
Fernando Cacciola 211deea81c Removed WITH_INSTALL + doc update 2008-10-30 12:47:49 +00:00
Sylvain Pion e33fbfb3d8 Remove duplicate of CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG. 2008-10-29 09:52:55 +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 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
Fernando Cacciola 502c3f271f Added libCGAL to libCGAL-Qt3
Avoid detecting flags at user-program configuration
2008-09-12 18:58:38 +00:00
Fernando Cacciola de55891e4d Fixed gcc-version detection 2008-09-11 18:58:21 +00:00
Fernando Cacciola 84c3df829c Added gcc-specific flags 2008-09-11 18:20:48 +00:00
Sylvain Pion 54c45209fc s/WARNING/NOTE/ to remove useless warning. 2008-09-10 13:29:03 +00:00
Laurent Rineau d97c78b177 Include CGALQt4 in the libraries compilation stuff.
We need to create a (potentially incomplete) CGALConfig.cmake file after
the CGAL library has been built.
2008-09-09 12:19:41 +00:00
Laurent Rineau 7306ccbf56 Make FindQt3.cmake use variables prefixed by QT3_, instead of QT_ (that was
conflicting with FindQt4.cmake).
2008-09-09 12:18:11 +00:00
Laurent Rineau 3415870ee5 Factorise the 4-5 lines of code that create CGALConfig.cmake in a macro. 2008-09-09 12:07:36 +00:00
Sylvain Pion d851a6bd0a s/WARNING/NOTE to avoid false warning detection. 2008-09-08 21:26:29 +00:00
Fernando Cacciola 80d8140240 Allow print_XYZ_version programs to have 3rd-party dependencies (such as MPFR depending on GMP) 2008-09-08 17:26:36 +00:00
Laurent Rineau 8b83ac8319 Make FindQGLViewer debug/relase-aware. 2008-09-08 14:42:37 +00:00
Sylvain Pion dcefe2bffa Use <OpenGL/gl.h> on __APPLE__ also in the test program.
(why do people not use <CGAL/gl.h> in demos ?)
2008-09-08 11:40:39 +00:00
Sylvain Pion 419f46f919 Remove CGAL_CFG_COMMA_BUG and its workaronds, as we don't support g++ 3.3 anymore. 2008-09-08 09:33:02 +00:00
Laurent Rineau da490ca698 Partially revert revision 45319. The follwing has been revert:
"Use unique names for example, demo and test targets"
2008-09-05 12:16:37 +00:00
Fernando Cacciola ab07405874 Use unique names for example, demo and test targets
Renamed CGAL-Qt as CGAL-Qt3
Re-spelled cgal components as CORE, ImageIO, PDB, Qt3 and Qt4
2008-09-04 18:58:09 +00:00