Commit Graph

46858 Commits

Author SHA1 Message Date
Laurent Rineau cb2d3bbd64 Disable the warning about dll-interface needed for std::ofstream members
of Log::State
2011-10-21 10:49:38 +00:00
Andreas Fabri 1e3a953ece typo 2011-10-21 10:17:46 +00:00
Laurent Rineau cfd37935cf merge from next 2011-10-20 16:04:32 +00:00
Laurent Rineau 4273a5a69e Improvement of cgal_create_cmake_script
This allows to create a CMakeLists.txt in a directory whereas the sources
are in another directory.

This will allow out-of-sources creation of CMakeLists.txt files. And, in
the end, that will improve the branch-build.
2011-10-20 15:49:05 +00:00
Laurent Rineau 268e5fa464 Document that the PATH must be amended 2011-10-20 14:49:12 +00:00
Olivier Devillers 7de2788e66 removing deprecated in test suite 2011-10-20 13:59:30 +00:00
Laurent Rineau e6eac9139f Fix the confusion shared/dynamic libraries 2011-10-20 12:43:33 +00:00
Andreas Fabri 529e88e308 Suppress warning on potential dll linkage problem 2011-10-20 12:32:10 +00:00
Andreas Fabri 2d57319daa Add static_cast to avoid warning 2011-10-20 11:16:20 +00:00
Andreas Fabri 278d79915d Suppress warning 2011-10-20 11:09:41 +00:00
Laurent Rineau 731ad9eb42 Fix Arrangement cgal_test on Cygwin
On Cygwin, when one kill a process with the SIGKILL signal (9),
then the child processes of it are not killed. Use the SIGHUP signal
instead.
2011-10-20 10:39:17 +00:00
Andreas Fabri 2a5bc234be size_t -> unsigned int to avoid a warning 2011-10-20 10:36:22 +00:00
Andreas Fabri eea6d0df2b int -> std::size_t 2011-10-20 10:27:56 +00:00
Laurent Rineau c37ce187ff Factorize the settings of VERSION/SOVERSION properties of libraries 2011-10-19 15:53:46 +00:00
Laurent Rineau ca6840fcda Fix handling of CGAL_USE_GEOMVIEW by some demos and a test
Do not even include CGAL headers, especially the headers about
Geomview_stream support, if CGAL_USE_GEOMVIEW is not defined.

Has Geomview_stream has not been given a full CGAL_EXPORT support on
Windows, the single inclusion of <CGAL/Geomview_stream.h> may trigger
warning (or errors, I do not remember: see test result of
CGAL-3.10-Ic-163).
2011-10-19 13:16:44 +00:00
Laurent Rineau 01e2b6c5e1 typo: "a link-time" -> "at link-time" 2011-10-18 17:22:38 +00:00
Laurent Rineau 151b4e6843 merge from next 2011-10-18 17:22:03 +00:00
Laurent Rineau 51d34bcd83 Visibility features now work also on non-Windows 2011-10-18 17:09:37 +00:00
Laurent Rineau c3b621fc77 Update the documentation about Boost and shared libraries 2011-10-18 16:54:59 +00:00
Laurent Rineau 338c6a9925 Update the export feature to non-Microsoft compilers
Support the ELF visibility feature of gcc/icl/clang
2011-10-18 16:53:54 +00:00
Laurent Rineau cabc943d53 Missing exports 2011-10-18 16:46:54 +00:00
Laurent Rineau a071a763e8 Turn CGAL-3.9 into a macro \cgalrel
Long-waited feature: Installation/installation.tex no longer contains the
release number!

All occurrences of "CGAL-3.9" have been turned into CGAL-\cgalversionnumber

Details:
  - use alltt instead of verbatim, in order to user macros inside,
  - rename \cgaldir to \cgalrel,
  - all "CGAL-3.9" are turned into "\cgalrel",
  - the remaining "3.9" is turned into "\cgalversionnumber".

And also:
  - remove the old macro \yourcgaldir and \cgalinstconfdir (related to the
    old install_cgal script!),
  - modify the introduction of CMake: CMake is a build system *generator*,
    and not a build system!
2011-10-18 14:40:48 +00:00
Laurent Rineau 4b135885d0 I forgot to commit that yesterday 2011-10-18 13:20:08 +00:00
Laurent Rineau 9a5a524699 Fix HTML standard compliance
- Add ALT attributes to IMG
2011-10-18 10:43:26 +00:00
Laurent Rineau 010f9f48e7 Fix HTML standard compliance
- Add ALT attributes to IMG
- Attributes WIDTH values must be quoted.
- Use CSS class "nowrap" instead of <NOBR>
2011-10-18 10:43:06 +00:00
Laurent Rineau 9b1dd7baa5 Add the canonical link to all pages of the CGAL manual
See:
  http://googlewebmastercentral.blogspot.com/2009/02/specify-your-canonical.html
2011-10-18 09:31:10 +00:00
Laurent Rineau cc0c27f3ed DLLs now may be in $CGAL_DIR/bin 2011-10-18 08:23:57 +00:00
Laurent Rineau 27383e7ee1 merge from next 2011-10-17 16:18:46 +00:00
Laurent Rineau f369ca21fa Better save_snapshot with libQGLViewer 2011-10-17 16:14:23 +00:00
Laurent Rineau 9059b29647 Fix and factorize post-build commands on Windows
The function build_cgal_library defined in
Installation/src/CMakeLists.txt now handles a lot more than before, to
factorize between the various */src/*/CMakeLists.txt files used to
build CGAL libraries.

For example, the definition of mangled names is now factorized in that
function.

Installation/src/CMakeLists.txt also sets the output directories for
runtime, shared libraries, and static libraries. DLLs will be created
in bin/ instead of lib/.
2011-10-17 16:02:12 +00:00
Andreas Fabri f8a1a2e2c8 Suppress warning about potential dll linkage problem 2011-10-17 13:08:07 +00:00
Laurent Rineau 3c92718c22 Add project(CGAL) to the master CMakeLists.txt of branch-build
Otherwise the generated IDE projects (in Visual Studio for example) are
named "Project" when branch-build is used.
2011-10-17 12:07:26 +00:00
Michael Hemmer 86a934027c merge feature-branch global_function_solve_1-hemmer/
introduces compute_roots_of_2
2011-10-17 08:06:03 +00:00
Michael Hemmer 2d6198bc0a merge from next 2011-10-16 13:32:48 +00:00
Guillaume Damiand e8a14e3303 Typo in name of Bernd 2011-10-14 18:47:20 +00:00
Laurent Rineau 5e04c14fb5 Fix demo/Surface_reconstruction_points_3/CMakeLists.txt for out-of-source builds 2011-10-14 15:16:28 +00:00
Laurent Rineau ab3753c62c Merge from next 2011-10-13 16:16:59 +00:00
Laurent Rineau 5da9888303 Typo in text: s/option/variable/ 2011-10-13 15:38:13 +00:00
Laurent Rineau e3eef962d7 Do not add -DBOOST_DYN_LINK with auto-link if not enabled.
In particular, do not add that macro definition on Linux/MacOS.
2011-10-13 15:34:44 +00:00
Laurent Rineau 5fd463b2bb Add LICENSE.GPL to the install target. 2011-10-13 14:16:49 +00:00
Laurent Rineau 9bf86bcd07 When LGPLv3 is used, the text of GPLv3 must be shipped, too.
LGPLv3 is a addendum to GPLv3. For that reason, LGPLv3 terms ask that both
texts must are shipped in any distribution.
2011-10-13 14:16:09 +00:00
Laurent Rineau 414f9319f4 Fix artificial dependency of Kernel_23 to Triangulation_2
This file was moved from Triangulation_2 to the kernel, a few months
ago. That explains why <CGAL/triangulation_assertions.h> was used.
2011-10-13 14:10:38 +00:00
Laurent Rineau 1efe6ff9c4 merge from next, again 2011-10-13 10:25:40 +00:00
Laurent Rineau b41acfcc5e Revert those two commits:
| ------------------------------------------------------------------------
  | r65838 | afabri | 2011-10-12 13:01:14 +0200 (Wed, 12 Oct 2011) | 5 lines
  | Changed paths:
  |    M /branches/next/STL_Extension/include/CGAL/assertions.h
  | 
  | When CGAL_NO_ASSERTIONS, fix CGAL_static_assertion 
  | 
  | CGAL_static_assertion cannot be "static_cast<void>(0)" because that
  | macro can also be used in a class or namespace scope.
  | 
  | ------------------------------------------------------------------------
  | r65833 | lrineau | 2011-10-11 23:43:39 +0200 (Tue, 11 Oct 2011) | 6 lines
  | Changed paths:
  |    M /branches/next/STL_Extension/include/CGAL/assertions.h
  | 
  | Avoid a warning with -ansi -pedantic when CGAL_NO_ASSERTIONS
  | 
  | When CGAL_NO_ASSERTIONS is defined (when NDEBUG is defined, for example), 
  | "CGAL_static_assertion(true);" must not be expanded to ";", to avoid a
  | pedantic warning "extra ;".
  | 
  | ------------------------------------------------------------------------

That was just a very wrong way to fix a pedantic warning: the new
implementations were buggy.
2011-10-13 10:24:14 +00:00
Laurent Rineau 2e05123891 merge from next 2011-10-13 10:19:46 +00:00
Laurent Rineau c1fff72997 Revert that commit, which was wrong (see below):
| ------------------------------------------------------------------------
  | r65557 | lrineau | 2011-09-26 16:49:02 +0200 (Mon, 26 Sep 2011) | 9 lines
  | Changed paths:
  |    M /branches/next/Installation/cmake/modules/CGAL_UseBLAS.cmake
  |    M /branches/next/Installation/cmake/modules/CGAL_UseLAPACK.cmake
  |    M /branches/next/Installation/cmake/modules/FindBLAS.cmake
  |    M /branches/next/Installation/cmake/modules/FindLAPACK.cmake
  |    M /branches/next/Installation/doc_tex/Installation/installation.tex
  | 
  | BLAS and LAPACK do not have header files.
  | 
  | One implementation of BLAS or LAPACK can have a header file, but that is
  | not mandatory for an implementation, and (hopefully) nothing in CGAL tries
  | to include a blas.h or a lapack.h.
  | 
  | The current revision removes mentions of BLAS_INCLUDE_DIR and
  | LAPACK_INCLUDE_DIR in CGAL cmake scripts about BLAS and LAPACK.
  | 
  |
  ------------------------------------------------------------------------

Reason:

  For the implementation cblas/clapack, our use of that implementation does
  need a header <blaswrap.h> to work.
2011-10-13 10:17:16 +00:00
Andreas Fabri e337d22aa2 Add export statements 2011-10-13 10:03:33 +00:00
Andreas Fabri edecb70af6 Add export statements 2011-10-13 09:14:05 +00:00
Andreas Fabri b2307d8574 Add missing export statements 2011-10-13 08:40:24 +00:00
Laurent Rineau 992b2e5bed Modify the release name, to avoid confusion 2011-10-12 16:26:57 +00:00