Commit Graph

137 Commits

Author SHA1 Message Date
Laurent Rineau 5327785cc0 Rename combination_enumerator.cpp
There was another target of the same name in ../../examples
2012-10-05 14:49:55 +00:00
Samuel Hornus d91b392e5b missing headers for windows 2012-09-27 13:24:24 +00:00
Olivier Devillers 99bd141b7c remove warning 2012-09-25 07:39:42 +00:00
Olivier Devillers 942b88ad35 merge from next 2012-09-21 13:09:18 +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 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
Laurent Rineau db194534c7 First big patch to fix -Wunused-local-typedefs
-Wunused-local-typedefs is a new warning flag of gcc-4.7, and it will enabled
 by -Wall since gcc-4.8 (not yet released).

The fix is a big set of removals of unused typedefs (or comments, or moves,
depending on the context).
2012-08-01 13:29:16 +00:00
Samuel Hornus 3c79d41be4 interval->range, and minor typos fixing 2012-07-31 15:06:03 +00:00
Samuel Hornus 580a2d5759 small fix 2012-07-26 12:01:17 +00:00
Samuel Hornus a4a120780f small fix 2012-07-26 11:58:26 +00:00
Samuel Hornus ece428cde4 2nd iteration. Remarks from Sebastien and Laurent 2012-07-26 11:56:34 +00:00
Samuel Hornus 165ce1d043 templatized the Combination_enumerator class and document the concept for the template parameter. 2012-07-25 11:26:17 +00:00
Samuel Hornus 0296c21ae5 added the Combination_enumerator class for enumerating subsets of an integer range 2012-07-23 14:46:27 +00:00
Laurent Rineau a37c74d534 Add license files, per package 2012-01-16 15:54:22 +00:00
Laurent Rineau 5b5dd33848 merge changes from next 2012-01-09 12:33:39 +00:00
Laurent Rineau 93486787c3 The inside of ccPkgDescription must not contain black lines between macros
Otherwise that inserts a buggy "<p>" tag in the package overview where the
doctype does not allow it.
2011-11-15 19:16:23 +00:00
Olivier Devillers 43a831ae5e merge next 2011-11-08 15:19:20 +00:00
Olivier Devillers 036659b204 bibtex labels 2011-11-07 15:06:06 +00:00
Olivier Devillers a68abfd2ca remove deprecated code 2011-11-07 09:48:44 +00:00
Laurent Rineau 6ed56d75b5 merge from next 2011-10-25 15:48:02 +00:00
Olivier Devillers 1966561c46 remove warning 2011-10-24 07:57:36 +00:00
Olivier Devillers eff111f06e remove warning 2011-10-21 12:15:44 +00:00
Olivier Devillers 778714a341 remove random_points_in_iso_box_d 2011-10-20 13:56:44 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot 554f62d411 remove executable property from copyright files 2011-10-03 08:18:16 +00:00
Andreas Fabri d10a333947 Add a file with the copyright holder(s) to the package_info 2011-09-29 20:45:16 +00:00
Laurent Rineau 3768790551 Add demo links in package overview for Mesh_3 and Generator 2011-09-29 13:40:22 +00:00
Laurent Rineau fdb7ea6c6b prepare ccPkgHowToCiteCgal for CGAL-3.10 (in 2012) 2011-09-28 16:15:05 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Philipp Möller f9b288db90 Merged branch ^/branches/features/gsoc2011-copy_n-pmoeller.
Small feature page: https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Replace_copy_n
2011-08-26 14:34:10 +00:00
Laurent Rineau 369498d1e5 Cancel revision 64607. There had been a problem with the branch.
| ------------------------------------------------------------------------
  | r64607 | efif | 2011-07-05 17:27:04 +0200 (Tue, 05 Jul 2011) | 1 line
  | 
  | Merged feature-branch Aos_2-new_functors-tau into next
  | ------------------------------------------------------------------------
2011-07-06 11:11:58 +00:00
Sébastien Loriot 0f009c297f resize picture and enhance layout of hmtl figure 2011-05-05 08:49:12 +00:00
Laurent Rineau 3c02e07b23 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.
2011-04-28 17:45:22 +00:00
Laurent Rineau c97205f085 Global handling of CMake policies (second part)
We declare 
  cmake_minimum_required(VERSION 2.6.2)
but we also use
  cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.

That way, we no longer need any declaration of specific policies.

Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
2011-04-28 10:55:56 +00:00
Laurent Rineau 0631943153 Uniform capitalization in our CMake script: use lowercase for commands 2011-04-28 10:36:18 +00:00
Laurent Rineau 6f05e72cef Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
  - change cmake_minimum_required to VERSION 2.6.2
  - no longer any need for the policy CMP0003 (was for 2.4.x)
  - no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 18:06:32 +00:00
Sébastien Loriot 0ebdccfa4e update URL and Id tag 2011-03-02 14:59:51 +00:00
Laurent Rineau da95064578 Update the \ccPkgHowToCiteCgal tag for CGAL-3.8 (2011). 2011-02-24 15:21:10 +00:00
Sébastien Loriot 526e9e3d9b remove warning 2011-02-23 09:17:57 +00:00
Laurent Rineau a1ba6548db Theses programs need Boost.program_options 2010-12-07 11:13:56 +00:00
Laurent Rineau f508c60d2d Merge the feature Generator_d in trunk.
"Add d-dim generators."

Author is Olivier Devillers.

See https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Generator_d

See detailled log in 
  /branches/experimental-packages/Generator_d@59316
and later in:
  /branches/candidate-packages/Generator@60065
2010-12-02 14:12:20 +00:00
Laurent Rineau f3aabfdad2 The \ccRefName LaTeX command eats the next space. 2010-12-02 10:46:10 +00:00
Andreas Fabri 1c03615a5d Add a bug report file for random_polygon_2, so that we can fix it later 2010-12-02 09:45:03 +00:00
Laurent Rineau a0c738db78 Fix executability 2010-11-22 12:49:56 +00:00
Andreas Fabri cc155db930 Add generators for benchmark data sets 2010-11-22 12:45:29 +00:00
Andreas Fabri 97f2ff7ef8 Add a static_cast to avoid float vs double warnings by VC++ 2010-09-27 08:56:25 +00:00
Andreas Fabri b34d714f9b int -> size_t 2010-09-23 19:49:27 +00:00
Andreas Fabri 06ecd18ec7 cleanup of (std::max) workaround 2010-09-10 09:47:56 +00:00
Andreas Fabri 67ad0c654a get_int -> uniform_int for 64bits ; static_cast to avoid warning 2010-09-10 09:40:47 +00:00
Andreas Fabri 9ac42a9ce6 int -> ptrdiff_t 2010-09-08 09:16:31 +00:00