Commit Graph

1761 Commits

Author SHA1 Message Date
Laurent Rineau 9f5458f288 Merge branch 'CGAL-fix_warnings-GF' 2013-03-07 12:58:19 +01:00
Sébastien Loriot a9a49ffabd add an option to switch the two-pass on 2013-03-06 18:41:01 +01:00
Laurent Rineau 3a93ad43f8 Add the entry to 4.2 2013-03-06 11:57:12 +01:00
Laurent Rineau 74c9aaceb6 Add a debugging tool to display versiondll metadata of DLLs 2013-03-05 18:02:28 +01:00
Laurent Rineau c0039287df Fix the detection of BLAS/LAPACK/TAUCS with MSVC
The CMake script was only testing if the sub-directory auxiliary/taucs/
existed. That directory exists in Git for a while, because we ship a README
file in it. Now the CMake script checks for auxiliary/taucs/include/. That
is as naive as before but at least it will work.
2013-03-05 13:54:51 +01:00
Laurent Rineau 3880aa43d8 Add changes 2013-03-01 18:33:09 +01:00
Laurent Rineau 23ee26c658 With MSVC, add flags /wd4503 and /bigobj by default
/wd4503 disables the warning C4503 "decorated name length exceeded"

/bigobj is sometimes required, and the only flaw is the incompatibility
with MSVS before MSVS 2005.
2013-03-01 18:33:09 +01:00
Laurent Rineau d5a9fe01b4 Reformat the changelog of CGAL-4.2
+ Add releases dates for 4.1 and 4.2
2013-03-01 18:33:09 +01:00
Laurent Rineau a2c9ee5c43 Enhance FindEigen3
1/ Check the version using 'find_package_handle_standard_args' internal
checking of version, instead of a home-made check.

2/ No need to add EIGEN3_INCLUDE_DIR in the cache, as find_path does it.

3/ Call 'find_package_handle_standard_args' even if EIGEN3_INCLUDE_DIR is
already and valid in the cache.
2013-02-28 12:44:30 +01:00
Laurent Rineau 061c4523a3 Merge branch 'Installation-better_test_gmp_mpfr_dll-lrineau' 2013-02-28 10:45:28 +01:00
Laurent Rineau 220ddbf6b2 New macro CGAL_GCC_VERSION to help preprocessor conditionals on gcc version
And use it in <CGAL/refine_mesh_3.h>
2013-02-27 19:58:02 +01:00
Laurent Rineau 316b09222e Keep the SONAME for CGAL-4.2, and bump the build number of SOVERSION. 2013-02-26 17:08:08 +01:00
Laurent Rineau 63212a0841 Revert "Bump CGAL SOVERSION to 11.0.0"
This reverts the following commit:
  | commit a6b340ccf7
  | Author: Laurent Rineau <laurent.rineau@cgal.org>
  | Date:   Mon Feb 25 18:38:33 2013 +0100
  |
  |     Bump CGAL SOVERSION to 11.0.0
  |
2013-02-26 17:05:34 +01:00
Laurent Rineau 2afae4e1ee Improve the diagnostics in test/Installation/test_gmp_mpfr_dll.cpp 2013-02-26 12:33:14 +01:00
Laurent Rineau a6b340ccf7 Bump CGAL SOVERSION to 11.0.0 2013-02-25 18:38:33 +01:00
Laurent Rineau c7179b2c6c Hide the CMake variable "WITH_tests" from the public releases
Trivial bug fix, that I have tested in both a public release and in a
branch build.
2013-02-22 13:20:25 +01:00
Laurent Rineau e84176bed7 Update CHANGES from changes.html 2013-02-22 13:07:43 +01:00
Laurent Rineau 2d8da664a3 Merge branch 'CGAL-fix_warnings-gdamiand'
Conflicts:
	.gitignore
	Skin_surface_3/examples/Skin_surface_3/CMakeLists.txt
2013-02-22 13:02:37 +01:00
Efi Fogel facc1d0cf5 Added changes for 2D-Arrangements for 4.2 2013-02-21 21:01:01 +02:00
Laurent Rineau e4377bf9bd Fix a typo in the message of an assertion 2013-02-21 11:07:08 +01:00
Laurent Rineau 3f894697bc New macros CGAL_assume(EX) and CGAL_assume_code(CODE)
CGAL_assume(EX) is like CGAL_assertion, but is not disabled in release
mode. In debug mode, it is similar to CGAL_assertion(). In release mode, it
uses builtins of the compilateur, like the MSVC __assume or the g++/clang
__builtin_unreachable to give an hint to the compiler that some situation
in the code cannot happen.
2013-02-20 18:34:15 +01:00
Laurent Rineau 26a7e70785 New license.txt files (eol changes)
The new version 2.13.0 of licensecheck has changed the spaces at eol.
2013-02-19 16:46:39 +01:00
Philipp Möller 4632288a1f Add the memory leak fix to changes.html 2013-02-15 18:50:42 +01:00
Philipp Möller 1720fd845c No isfinite on MSVC
The advertisement is lying about what is implemented in cmath.
2013-02-15 10:48:23 +01:00
Laurent Rineau 29c05b900b Mark BOOST_STATIC_ASSERT with 'CGAL_UNUSED'
In order to fix such a warning from g++-4.8:
  warning: typedef ‘boost_static_assert_typedef_241’ locally defined but
  not used [-Wunused-local-typedefs]
then:
  - create one macro CGAL_UNUSED that is "__attribute__ ((__unused__))"
    with g++ or empty otherwise,
  - use it after BOOST_STATIC_ASSERT in the definition of
    CGAL_static_assertion.
2013-02-07 18:15:23 +01:00
Sébastien Loriot f0f34d45fa workaround to force the usage of the tr1 implementation of result_of from boost
see http://www.boost.org/doc/libs/1_52_0/libs/utility/utility.htm#result_of
2013-02-04 11:30:28 +01:00
Laurent Rineau 5ddbb68176 Add the macro CGAL_USE_TYPE(), and a test for <CGAL/use.h> 2013-01-31 14:08:36 +01:00
Clement Jamin d1f65375c0 Removed TBB_configuration
We will rely on tbb::task_scheduler_init itself for now
2013-01-29 14:11:22 +01:00
Laurent Rineau 324c7a477a Update CHANGES for CGAL 4.2 2013-01-29 12:25:15 +01:00
Laurent Rineau 07d73eaa92 Typographic changes to "changes.html", for 4.2. 2013-01-29 12:16:35 +01:00
Philipp Möller beed9c5acc No isfinite on MSVC
The advertisement is lying about what is implemented in cmath.
2013-01-29 10:54:18 +01:00
Clement Jamin 0a89951884 Updated FindTBB.cmake so that it uses the "optimized"/"debug" cmake keywords 2013-01-23 15:14:08 +01:00
Clement Jamin fc26d6effc Renamed header to be compliant with CGAL naming policy 2013-01-23 11:03:35 +01:00
Clement Jamin b4fae54565 New class for TBB configuration (num threads...) 2013-01-22 15:44:34 +01:00
Clement Jamin 0fcd19db7a Updated FindTBB so that it looks for the malloc proxy + better error messages 2013-01-22 14:50:01 +01:00
Clement Jamin 5f7d4bd88d Original FindTBB.cmake file 2013-01-22 14:42:13 +01:00
Laurent Rineau 291b3029bb Fix a bug in CGAL_SCM.cmake when the HEAD is not a branch
If the current working directory is a checkout of a commit that is not a
branch, for example, a commit in the ancestors of a branch, then CGAL CMake
scripts gave that CMake error:

  == CMake setup ==
  fatal: ref HEAD is not a symbolic ref
  CMake Error at Installation/cmake/modules/CGAL_SCM.cmake:36 (string):
    string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
    command.
  Call Stack (most recent call first):
    CMakeLists.txt:17 (include)

  == CMake setup (DONE) ==

This patch fixes the error. If HEAD is not a branch, then CGAL_GIT_BRANCH
is equal to "HEAD".
2013-01-21 17:23:36 +01:00
Laurent Rineau 3b1ba8ba70 Merge remote-tracking branch 'origin/Installation-link_libraries_deprecated-eric' 2013-01-14 14:50:59 +01:00
Laurent Rineau 4b38c0b73e The Intel Compiler has the "bug" CGAL_CFG_NO_STATEMENT_EXPRESSIONS.
The Intel Compiler, even when it tries to emulate the GNU/C++ compiler,
does not implement the GNU extension "statement expressions". The macro
CGAL_CFG_NO_STATEMENT_EXPRESSIONS must be defined with __INTEL_COMPILER is
defined.
2013-01-07 13:01:21 +01:00
Sébastien Loriot d0497c6008 missing div end 2013-01-04 15:37:16 +01:00
Eric Berberich d0fa4c89c6 document validates now, also using <pre>, and added 3rd party libs 2013-01-04 13:17:34 +01:00
Eric Berberich 03c6c56549 not necessarily a CGAL_-UseFile 2012-12-28 18:55:50 +01:00
Eric Berberich 6eafd776c7 readded link_libraries 2012-12-27 20:01:56 +01:00
Sébastien Loriot 7995ff270e update changes 2012-12-21 09:43:16 +01:00
Eric Berberich eb11ded35e packages for which I do maintenance stuff 2012-12-20 10:56:08 +01:00
Philipp Möller f16a152aec Make the feature checks more resilient to old Boost.Versions 2012-12-19 16:24:14 +01:00
Philipp Möller f4ce204d31 Merge branch 'Installation-add_UNIFIED_INITIALIZATION_macro-pmoeller' 2012-12-13 11:51:21 +01:00
Sébastien Loriot 0b23f9047e polish description 2012-12-12 14:39:51 +01:00
Andreas Fabri 8193b4e2ee Document changes in Poisson Surface Reconstruction 2012-12-12 14:37:59 +01:00
Philipp Möller cd7c3e3592 Use the right BOOST_VERSION
When one is using the non-deprecated form of the macro, the version of
the deprecation has to be used - not the version where the original
macro appeared first.
2012-12-12 11:24:07 +01:00
Philipp Möller aeeca8ea51 Remove the testfile CGAL_CFG_ARRAY_MEMBER_INITIALIZATION_BUG 2012-12-11 17:47:21 +01:00
Philipp Möller feceb5a028 Add the macro CGAL_CFG_NO_CPP0X_UNIFIED_INITIALIZATION_SYNTAX 2012-12-11 17:41:54 +01:00
Laurent Rineau aa3d26e96c Merge branch 'Installation-CreateSingleSourceCGALProgram_warning-lrineau' 2012-12-05 11:42:09 +01:00
Philipp Möller 1adf441b18 Convert all CRLF files to LF 2012-12-03 18:44:24 +01:00
Laurent Rineau e33d05f919 Add a AUTHOR_WARNING if the source file does not exist. 2012-11-30 10:34:29 +01:00
Sébastien Loriot 4ec9529581 Merge branch 'doxy-port-pmoeller'
Conflicts:
	.gitattributes
	Surface_reconstruction_points_3/include/CGAL/Poisson_reconstruction_function.h
	Surface_reconstruction_points_3/include/CGAL/Reconstruction_triangulation_3.h
	Surface_reconstruction_points_3/include/CGAL/k_nearest_neighbor.h
2012-11-27 10:05:41 +01:00
Luis Peñaranda f1b0161b9d details on doc of RS, RS3, MPFI 2012-11-26 15:14:30 -02:00
Sébastien Loriot 920eb63882 backporting documentation changes of master@9fcc5b57 into doxy-port-pmoeller
Conflicts:
	Arrangement_on_surface_2/doc/Arrangement_on_surface_2/CGAL/Arr_linear_traits_2.h
	Installation/doc_tex/Installation/usage.tex
	Kernel_23/doc/Kernel_23/CGAL/Projection_traits_xy_3.h
	Mesh_2/doc/Mesh_2/Concepts/ConformingDelaunayTriangulationTraits_2.h
	Spatial_searching/doc/Spatial_searching/CGAL/Incremental_neighbor_search.h
	Spatial_searching/doc/Spatial_searching/CGAL/K_neighbor_search.h
	Spatial_searching/doc/Spatial_searching/CGAL/Orthogonal_incremental_neighbor_search.h
2012-11-23 22:54:31 +01:00
Sébastien Loriot 6cc7d66415 Revert "Replace tex-style quotes with quotes that you would expect, as there"
This reverts commit e65a8028ea.

Conflicts:
	Approximate_min_ellipsoid_d/doc_tex/Bounding_volumes_ref/Approximate_min_ellipsoid_d.tex
	Approximate_min_ellipsoid_d/documentation/mel.tex
	Documentation/doxyassist.xml
	Installation/doc_tex/Installation/usage.tex
	Min_sphere_of_spheres_d/doc_tex/Bounding_volumes_ref/MinSphereOfSpheresTraits.tex
	Optimisation_doc/doc_tex/Bounding_volumes/user_part.tex
	Optimisation_doc/doc_tex/Inscribed_areas/user_part.tex
	Width_3/doc_tex/Polytope_distance_d_ref/Width_3.tex
2012-11-23 18:08:13 +01:00
Andreas Fabri 625f9f6cd7 after git merge remotes/origin/hot-fixes-for-Git 2012-11-20 13:02:17 +01:00
Philipp Möller 3d253a0edd Add CGAL_GIT_HASH and provide defaults for all variables 2012-11-15 13:20:37 +01:00
Eric Berberich 182acb2153 Merge branch 'Prepare_git-eric' 2012-11-14 12:07:47 +01:00
Eric Berberich ddd4ca95da fix if git dir is already given dir 2012-11-13 16:20:07 +01:00
Eric Berberich 7937e731d8 removed svn part, and added dummy SVN_CREATED_SVN_REVISION to be 99999 2012-11-13 15:51:37 +01:00
Laurent Rineau 96319a1365 reintegrate '^/branches/features/Triangulation_2_UseTraitsInHierarchy-GF' 2012-11-07 14:59:00 +00:00
Sébastien Loriot e0dca6cd10 update changes 2012-11-02 09:03:28 +00:00
Laurent Rineau ef5b895a93 merge from next 2012-11-02 08:49:12 +00:00
Eric Berberich 03ac16f071 whitespace for git 2012-10-23 23:27:34 +00:00
Laurent Rineau 46db94a606 Follow-up of r73184: patch the date and CGAL version in man(1) pages 2012-10-23 08:29:25 +00:00
Laurent Rineau 184f8735a3 Revert previous commit r73185 2012-10-23 08:28:33 +00:00
Laurent Rineau f346d6baa7 Follow-up of r73184: patch the date and CGAL version in man(1) pages 2012-10-23 08:27:01 +00:00
Eric Berberich fe43dd0171 better handling if source of executable is not in a git repo 2012-10-22 23:38:25 +00:00
Eric Berberich fc6d74c399 raise a CMake AUTHOR_WARNING if current branch does not match branch used to install cgal 2012-10-22 23:10:57 +00:00
Eric Berberich 358b8bb92b search for git parent dir + commented some verbosity 2012-10-22 23:09:58 +00:00
Eric Berberich 25f3fb6e2e remove SVN, refactored SCM code to CGAL_SCM.cmake
(plan is to reuse it UseCGAL.cmake)
2012-10-22 22:39:36 +00:00
Laurent Rineau 274b390c12 Update the path of the releases picture 2012-10-22 14:44:42 +00:00
Joachim Reichel 2f503f7746 Update date and version. 2012-10-20 10:44:08 +00:00
Philipp Möller e90c2d375d Fix the addresses of the mailing-lists hosted by inria
*@lists-sop.inria.fr -> *@inria.fr
2012-10-19 12:04:58 +00:00
Sébastien Loriot 52ad8a136c remove any reference to lapack in the doc 2012-10-18 14:22:20 +00:00
Sébastien Loriot ba2b7aef65 remove any reference to taucs 2012-10-18 13:46:11 +00:00
Sébastien Loriot 091cd2ae81 fix broken link 2012-10-18 12:41:04 +00:00
Eric Berberich 1d59758d89 add an additional check for requested component and raise the "NOTICE" if lib is not build 2012-10-10 14:21:50 +00:00
Laurent Rineau ac76a86278 Do check only headers in the include/CGAL directory.
Not in sub-directories.
2012-10-10 12:25:39 +00:00
Eric Berberich 9b72601224 give some more facts about optional libs, in particular NTL 2012-10-09 12:21:53 +00:00
Laurent Rineau f0118a1311 Revert last commit (commited by error) 2012-10-09 09:28:37 +00:00
Laurent Rineau 648472bdac After a run of detect_packages_license 2012-10-09 09:26:23 +00:00
Eric Berberich 7503d0ce5b merge from next 2012-10-08 09:57:49 +00:00
Eric Berberich 4cae227f10 NTL_VERSION can also be just \d.\d (regex was \d.\d.\d) 2012-10-05 22:34:46 +00:00
Eric Berberich 2bbc6c94a9 added missing { 2012-10-05 22:14:02 +00:00
Laurent Rineau 7618e75092 Replace phony targets check_* by real targets
That way the check is not redone for file that already passed the check.
2012-10-05 12:58:58 +00:00
Alexander Kobel e062c5f9e5 fixed PATH_SUFFIXES inconsistencies:
- proper indentation
- merge double occurences
- standardize location at the end block, before DOC

tested with GMP(XX), MPFR, MPFI, LEDA, RS(3), NTL and a (small) number of ways to specify library
locations via environment and CMake variables, on Debian 64bit
2012-10-05 12:40:10 +00:00
Laurent Rineau 0a081c2abd Add an option to check the syntax of headers, individually.
That feature can be enabled with g++, clang++, and icpc (intel). It could
be implemented for MSVC, with the flag /Zs, but that is not yet done (and
probably will not).

The option is controlled by a CMake option, CGAL_ENABLE_CHECK_HEADERS, that
is disabled by default. If that option is enabled by the user, then CMake
will check if the compiler $CXX understand the syntax:
  $CXX -x c++ -fsyntax-only CGAL/header.h
and send an error otherwise.

Then phony targets will be created:
  - a target check_CGAL__header_h for each header <CGAL/header.h>,
  - a target check_pkg_<pkg> for each package <pgk>,
  - and a target check_headers for the whole CGAL.

Those new targets currently give a lot of compilation errors if
CGAL_ENABLE_CHECK_HEADERS is enabled!

+ fix several missing includes in Mesh_2.
2012-10-05 12:21:44 +00:00
Alexander Kobel 461a23478d move detection whether additional LEDA flags are necessary to FindLEDA stage
only apply includes if UseLEDA is called
2012-10-04 13:28:51 +00:00
Alexander Kobel d3d82afd4a automatically add -ffriend-injection, -fno-strict-aliasing, -lX11 as required for LEDA 2012-10-04 12:07:42 +00:00
Alexander Kobel c06f84d4db fixed fallback to RS_dirs for RS3 2012-10-04 12:06:46 +00:00
Eric Berberich 25dbce2285 added <lib>_DIR to some libs 2012-10-04 10:15:49 +00:00
Eric Berberich c81470929e fixed variable 2012-10-04 09:56:48 +00:00
Alexander Kobel 160e937500 try $ENV{<PKG>_DIR}/[include,lib] as a fallback for $ENV{<PKG>_[INC,LIB]_DIR} 2012-10-04 09:34:54 +00:00
Alexander Kobel 04f07ef7bf replace spurious *_LIBRARY_DIR occurences by *_LIBRARIES_DIR 2012-10-04 09:05:32 +00:00
Alexander Kobel bb5f4dc8e1 added evaluation of LEDA_LINKER_FLAGS 2012-10-04 09:00:46 +00:00
Eric Berberich 1203d5631d typo CGALCore -> CGAL_Core 2012-10-04 08:57:24 +00:00
Olivier Devillers a961eb0e61 changes.html Combination_enumerator 2012-10-01 09:14:06 +00:00
Philipp Möller ab5c017c08 Unconditionally disable NO_TR1 defines.
Those cause trouble, because on MSVC the include paths for tr1
components are different from gcc. Instead of fixing up the include
paths depending on platform, just never use a tr1 component. Nothing
of value is lost compared to the boost equivalents and it removes
another code-path.
2012-09-28 13:15:14 +00:00
Philipp Möller 50e5409ffe Merge next and restore the temporary delete of Bounding_volumes/doc 2012-09-20 11:37:03 +00:00
Eric Berberich b1481c43c8 ${lib} is now prefixed with name, which needed adaptions in loop
In addition: removed fake variable and thus simplified loop 
(needed to rename CGAL_INSTALLED_${lib}_LIBRARY to ${lib}_LIBRARY_INSTALLED)
2012-09-12 14:26:02 +00:00
Philipp Möller 864aebe2e5 Merge next.
This commit also updates the respective mock-headers when the
corresponding .tex documentation has changed. This has been the case for:

AABB_tree/doc_tex/AABB_tree_ref/AABBGeomTraits.tex
AABB_tree/doc_tex/AABB_tree_ref/AABBTraits.tex
AABB_tree/doc_tex/AABB_tree_ref/AABB_traits.tex
Mesh_3/doc_tex/Mesh_3_ref/parameters_features.tex
Mesh_3/doc_tex/Mesh_3_ref/parameters_no_features.tex
Number_types/doc_tex/NumberTypeSupport_ref/Interval_nt.tex
Number_types/doc_tex/NumberTypeSupport_ref/Lazy_exact_nt.tex
Spatial_searching/doc_tex/Spatial_searching_ref/Search_traits_2.tex
Spatial_searching/doc_tex/Spatial_searching_ref/Search_traits_3.tex
Triangulation_2/doc_tex/Triangulation_2_ref/Constrained_Delaunay_triangulation_2.tex
2012-09-12 14:14:22 +00:00
Sébastien Loriot 80d4e7e90e update changes 2012-09-03 12:56:01 +00:00
Laurent Rineau 2db4effa7e CMake: Fix the handling of cmake_policy
That is a followup-to my commit last year:
  | ------------------------------------------------------------------------
  | r63198 | lrineau | 2011-04-28 19:45:22 +0200 (Thu, 28 Apr 2011) | 5 lines
  | 
  | Try to fix my last revision about cmake_policy, with CMake-2.6.x
  | 
  | CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
  | x.y.z is greater than the current CMake version.
  | 
  | ------------------------------------------------------------------------

The following check:
  if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6)
is useless just after a call to:
 cmake_minimum_required(VERSION 2.6.2)



The script used to fix that was:


#!/usr/bin/env perl

$replacement=<<'END';
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}" VERSION_GREATER 2.8.3)
  cmake_policy(VERSION 2.8.4)
else()
  cmake_policy(VERSION 2.6)
endif()
END

while(<>) {
    if(/if\("\${CMAKE_MAJOR_VERSION}.\${CMAKE_MINOR_VERSION}" VERSION_GREATER 2.6\)/) {
        while(<>) {
            if(/^endif\(\)/) {
                print "$replacement";
                while(<>) {
                    print;
                }
                exit 0
            }
        }
    }
    print;
}
2012-08-22 12:35:03 +00:00
Eric Berberich 8948b57807 revert quick fix for a problem with CGAL_ENABLE_PRECONFIG
When preconfig was disabled, UseFiles were not correctly 
included because of a missing $ to indicate a variable
2012-08-22 09:05:31 +00:00
Eric Berberich 80616feea6 added missing $ to copy content of variable 2012-08-20 08:10:20 +00:00
Eric Berberich 6a6dfc5fc2 added MPFI + NTL
Coin3D and IPE should be added by added developers
2012-08-20 07:48:01 +00:00
Laurent Rineau 33af7ab5dc Quick fix for CGAL_ENABLE_PRECONFIG: hide it
If CGAL_ENABLE_PRECONFIG is set to OFF, currently the CMake configuration
fails. That option is turned into an internal cache variable set to ON by
default.
2012-08-16 10:03:35 +00:00
Laurent Rineau 05d65ffeae Initial support for WITH_tests
That is only to compile tests, and not to launch a full testsuite!
2012-08-10 14:07:18 +00:00
Laurent Rineau 9d5be4292e Announce that 4.1 supports clang on macos 2012-08-10 14:01:53 +00:00
Laurent Rineau e17c0da875 Revert commits 70941 and 70940:
| ------------------------------------------------------------------------
  | r70941 | lrineau | 2012-08-01 16:50:50 +0200 (Wed, 01 Aug 2012) | 1 line
  | 
  | Rename my two Intel Compiler platforms
  | ------------------------------------------------------------------------
  | r70940 | lrineau | 2012-08-01 16:44:02 +0200 (Wed, 01 Aug 2012) | 1 line
  | 
  | Update the Intel Compiler to 12.1 (aka 2011_sp1)
  |  ------------------------------------------------------------------------
and change the Installation/changes.html: CGAL-4.1.0 will not support the
Intel Compiler 12.1, but only 12.0. That is too late.
2012-08-10 12:51:15 +00:00
Laurent Rineau 90414d195f Move <CGAL/Testsuite/use.h> to <CGAL/use.h> (in the Installation package)
That is a followup to the following commit:
  | ------------------------------------------------------------------------
  | r71090 | pmoeller | 2012-08-07 13:04:32 +0200 (Tue, 07 Aug 2012) | 6 lines
  | Changed paths:
  |    M /branches/next/Alpha_shapes_2/include/CGAL/Alpha_shape_2.h
  |    M /branches/next/Circulator/include/CGAL/circulator.h
  |    M /branches/next/Convex_decomposition_3/include/CGAL/Convex_decomposition_3/Reflex_vertex_searcher.h
  |    M /branches/next/Intersections_3/test/Intersections_3/bbox_other_do_intersect_test.cpp
  |    M /branches/next/Kernel_d/include/CGAL/Cartesian_d.h
  |    M /branches/next/Mesh_3/include/CGAL/IO/File_medit.h
  |    M /branches/next/Mesh_3/include/CGAL/Mesh_cell_criteria_3.h
  |    M /branches/next/Mesh_3/include/CGAL/Mesh_edge_criteria_3.h
  |    M /branches/next/Mesh_3/include/CGAL/Mesh_facet_criteria_3.h
  |    M /branches/next/Mesh_3/include/CGAL/make_mesh_3.h
  |    M /branches/next/Nef_2/include/CGAL/Bounded_kernel.h
  |    M /branches/next/Nef_2/include/CGAL/Nef_polyhedron_2.h
  |    M /branches/next/Nef_3/include/CGAL/Nef_3/ID_support_handler.h
  |    M /branches/next/Nef_3/include/CGAL/Nef_3/Infimaximal_box.h
  |    M /branches/next/Nef_3/include/CGAL/Nef_3/vertex_cycle_to_nef_3.h
  |    M /branches/next/Nef_3/include/CGAL/Nef_polyhedron_3.h
  |    M /branches/next/Nef_3/test/Nef_3/nef_union_error_llvm.cpp
  |    M /branches/next/Nef_S2/include/CGAL/Nef_S2/SM_overlayer.h
  |    M /branches/next/OpenNL/include/CGAL/OpenNL/blas.h
  |    M /branches/next/Periodic_3_triangulation_3/include/CGAL/Periodic_3_triangulation_3.h
  |    M /branches/next/Point_set_processing_3/include/CGAL/mst_orient_normals.h
  |    M /branches/next/QP_solver/include/CGAL/QP_solver/QP_functions_impl.h
  |    M /branches/next/STL_Extension/include/CGAL/iterator.h
  |    M /branches/next/Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_simple_site_2.h
  |    M /branches/next/Subdivision_method_3/include/CGAL/Polyhedron_decorator_3.h
  |    M /branches/next/Subdivision_method_3/include/CGAL/Subdivision_mask_3.h
  |    M /branches/next/Surface_mesher/include/CGAL/Surface_mesh_default_criteria_3.h
  |    M /branches/next/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Adaptation_traits_functors.h
  |    M /branches/next/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Default_site_inserters.h
  |    M /branches/next/Voronoi_diagram_2/include/CGAL/Voronoi_diagram_2/Default_site_removers.h
  | 
  | WARNFIX: Silence a good part of unused variable/parameter warnings.
  | 
  | Wextra results in a dreadful wall of yellow in the test-suite and is
  | scary when using CGAL. Reduce some of the noise by silencing the
  | obvious cases with CGAL_USE or comments.
  | 
  | ------------------------------------------------------------------------

The reason is that everything from CGAL/Testsuite/ is removed in public
releases (that was discussed at a CGAL developers meetings, long ago). That
means that r71090 introduced compilation errors undetectable by the tests
of internal releases. I hope that the minutes of that developers meeting
say that I was against the removal of headers between internal and public
releases!  -- Laurent Rineau
2012-08-09 15:34:08 +00:00
Laurent Rineau 640c7355ec Fix: was no longer working in out-of-source build! 2012-08-06 13:21:07 +00:00
Eric Berberich 357d6258f5 cmake's link_libraries is deprecated
removed almost all occurenced (missing UseFiles). While
doing so, some CMakeLists.txt could also be simplified. In fact
many more CMakeLists.txt can be simplified, in one of two ways:
1) add external libs to CGAL_3RD_PARTY_LIBRARIES and
2) call cgal_create_single_source_program
2012-08-03 22:32:39 +00:00
Eric Berberich dc0c0d7d9f removed debug output 2012-08-03 20:59:22 +00:00
Eric Berberich f46d0ced7d name now has CGAL_ prefix 2012-08-03 20:55:49 +00:00
Eric Berberich f1ad5a99de correct library src dir 2012-08-03 17:52:30 +00:00
Eric Berberich 9ad3cf9e02 corect name of ImageIO 2012-08-03 17:51:38 +00:00
Eric Berberich 67d5ac25d4 correct name of ImageIO 2012-08-03 17:51:07 +00:00
Eric Berberich 5f524b0802 subdirectories in src finally get correct name 2012-08-03 17:21:30 +00:00
Laurent Rineau b22a86c1c1 Fix the CGALConfig.cmake that is installed, on Windows 2012-08-03 15:38:26 +00:00
Eric Berberich 2f6dae6bbb now I got it: it's not just the first argument, it's the first file
"first" is a little bit general name for a parameter, changed
to firstfile and added a comment about handling other files
2012-08-03 12:57:04 +00:00
Eric Berberich 293a072b43 make signatures consistent 2012-08-03 12:46:58 +00:00
Eric Berberich 05c4d0a28f be consistent in variable name 2012-08-03 12:23:40 +00:00
Laurent Rineau 4c3e1c3138 Fix mixed eol styles 2012-08-02 13:35:03 +00:00
Philipp Möller e65a8028ea Replace tex-style quotes with quotes that you would expect, as there
is no way to handle them in the converter.

Needs to be revert before this is being merged into next.
2012-08-02 12:55:15 +00:00
Laurent Rineau 6e579584b3 Fix FindRS(3) modules
A FindFoobar module must not include a UseFoobar file. CGAL_UseRS3 now
includes CGAL_UseMPFI, and not FindRS and FindRS3.

+ Fix also a typo in a message of FindRS3.
2012-08-02 10:32:04 +00:00
Laurent Rineau 414182edbf Change the order of messages, to be coherent with CGAL_UseRS(3) 2012-08-02 10:02:34 +00:00
Laurent Rineau cf1ad35e79 Better formatting of the documentation of GMP CMake modules 2012-08-02 09:50:24 +00:00
Laurent Rineau 514c1efad1 Make RS, MPFI, LEDA, and NTL optional essential libraries 2012-08-01 16:58:19 +00:00
Laurent Rineau de57846797 CGAL-4.1 will not support Intel Compiler 12.0, but 12.1 (the latest
non-beta)
2012-08-01 15:36:53 +00:00
Laurent Rineau 98992ea06b Use include_directories(SYSTEM ...) in the macro use_lib 2012-08-01 12:23:53 +00:00
Laurent Rineau 8e167590c8 Use include_directories(SYSTEM ...) for 3rd-party libraries
gcc has an option -isystem, that can replace -I. The documentation is:

 -isystem dir

     Search dir for header files, after all directories specified by -I but
     before the standard system directories. Mark it as a system directory,
     so that it gets the same special treatment as is applied to the
     standard system directories. If dir begins with "=", then the "=" will
     be replaced by the sysroot prefix; see --sysroot and -isysroot.


The "special treatment" means that gcc will not warn about constructions in
headers in directories pointed by -isystem instead of -I.

In the CGAL testsuite, there are a lot of warnings that comes from
third-party libraries (mostly from Boost, but also from Eigen).

This patch tells cmake to use -isystem with gcc, for all CGAL 3rd-party
directories.
2012-08-01 10:53:37 +00:00
Laurent Rineau 767899fa33 Revert some modifications made by error. 2012-07-31 16:41:10 +00:00
Efi Fogel c8a956f6a2 Added 2D Arrangements changes for 4.1 2012-07-31 07:19:28 +00:00
Laurent Rineau 9491693417 Fix an issue when BUILD_SHARED_LIBS is toggled
When the value of the Boolean cache variable BUILD_SHARED_LIBS is modified,
there was a bug that the variable CGAL_LIBRARY_NAME,
CGAL_Core_LIBRARY_NAME, CGAL_Qt4_LIBRARY_NAME, and so on, were not
updated. As a consequence, the file CGALConfig.cmake produced in the
installation directory was not correct: it was referring to .so files
whereas the installed binaries were .a files, or the reverse.

This patch fixes the issue.
2012-07-27 13:16:55 +00:00
Laurent Rineau a9cb96b42a Minor tweak to CMake messages during CGAL configuration
Before that patch, CGAL_SetupFlags was included in the stage:
  == Detect external libraries ==
Now there is a stage:
  == Set up flags ==
2012-07-26 10:51:05 +00:00
Laurent Rineau 20762313af Refresh the FindQt3-patched module, from CGAL, with recent changes
to the FindQt3 module shipped with CMake

CGAL FindQt3-patched module uses the prefix QT3_ for all cache variables,
instead of just QT_. That allows to use Qt3 and Qt4 in the same project
(but for different binaries of course).
2012-07-26 09:28:21 +00:00
Ophir Setter 628087b87a moc-qt3 to come before moc. Now, if moc is qt4 moc the cmake file will use the correct moc in Qt3 2012-07-26 07:08:26 +00:00
Laurent Rineau 6507b3fd24 Fix a typo (missing closing parenthesis) 2012-07-24 11:45:28 +00:00
Philipp Möller f330095286 Add Boost.System to the CGAL dependencies
As of Boost 1.50 it is required to link Boost.System with CGAL. System
has been a Thread dependency all along and we simply never linked to
it and apparently got lucky.

Add it to the dependencies, add it in the manual and INSTALL file.
2012-07-24 10:02:57 +00:00
Eric Berberich 972f164184 correct handling of optional parameter for use_lib macro 2012-07-05 18:33:27 +00:00
Eric Berberich 397f0e4131 worked only if WITH_CGAL_Core=ON|OFF, but not if it's not given at all 2012-07-05 09:03:18 +00:00
Laurent Rineau 4953bbbc86 Remove buggy executable bits 2012-07-04 19:28:22 +00:00
Laurent Rineau 1bb23e6b09 Cherry-pick hot fixes from CGAL-4.0-branch:
| ------------------------------------------------------------------------
  | r70257 | lrineau | 2012-07-04 10:41:28 +0200 (Wed, 04 Jul 2012) | 1 line
  | Changed paths:
  |    M /branches/releases/CGAL-4.0-branch/Installation/CMakeLists.txt
  | 
  | Fix CMake error in public releases
  | ------------------------------------------------------------------------
  | r70259 | lrineau | 2012-07-04 11:22:12 +0200 (Wed, 04 Jul 2012) | 1 line
  | Changed paths:
  |    M /branches/releases/CGAL-4.0-branch/Installation/CHANGES
  |    M /branches/releases/CGAL-4.0-branch/Installation/changes.html
  | 
  | Update the changes.html
  | ------------------------------------------------------------------------
2012-07-04 09:36:41 +00:00
Laurent Rineau 8e725dc83a Intel Compiler 11 is no longer tested. 2012-07-03 11:06:19 +00:00