Commit Graph

528 Commits

Author SHA1 Message Date
Laurent Rineau fb458b9506 Whitelist also the (read|write)_ply_points.h 2017-07-11 11:58:53 +02:00
Laurent Rineau 2d286d5e79 Add the files to the whitelist 2017-07-11 11:58:53 +02:00
Simon Giraudot 8aed657e64 Check for LASLIB_INCLUDE_DIR to make sure LASlib is found 2017-07-11 11:58:52 +02:00
Jane Tournois 4e2982c15a add hints to find LASlib (helps on windows) 2017-07-11 11:58:52 +02:00
Simon Giraudot bd94c3005b Move USE_AS_DLL as a temporary definition around LASlib header 2017-07-11 11:58:52 +02:00
Jane Tournois 55c1972c22 add macro USE_AS_DLL to decl import 2017-07-11 11:58:52 +02:00
Simon Giraudot 1a53899c4b Correct FindLASLIB with CGAL fork of LASLIB 2017-07-11 11:58:50 +02:00
Simon Giraudot 9a77eef553 Unify cmake behavior with LASlib 2017-07-11 11:58:50 +02:00
Simon Giraudot f4fea04a4d Add definition CGAL_LINKED_WITH_LASLIB 2017-07-11 11:58:48 +02:00
Simon Giraudot a79d7be088 New example for LAS reader 2017-07-11 11:58:47 +02:00
Laurent Rineau 981d271774 Merge pull request #2181 from gdamiand/patch-1
Update CGAL_SetupFlags.cmake
2017-06-30 16:52:07 +02:00
Mael Rouxel-Labbé f860f8c2c7 Replaced pointer to licence with licence itself 2017-06-22 16:17:13 +02:00
Mael Rouxel-Labbé b432ff351b Fixed permissions 2017-06-22 16:15:57 +02:00
Andreas Fabri 602e6b456f find_package SuiteSparse 2017-06-22 16:15:57 +02:00
Laurent Rineau f6d87bc3a5 Merge pull request #2172 from Geopipe/usecgalspam
Flag to prevent blanking linking flags from being applied
2017-06-21 14:44:40 +02:00
Guillaume Damiand 2a5dfb149a Update CGAL_SetupFlags.cmake
Allows to use the 4 possible built types Release, Debug, RelWithDebInfo or MinSizeRel.

(see https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html)
2017-06-15 19:03:06 +02:00
Laurent Rineau c25e4997ef Fix the indentation 2017-06-15 17:38:34 +02:00
Thomas "elfprince13" Dickerson 0d13f433f7 flag to prevent blanking linking flags from being applied 2017-06-13 19:03:16 -04:00
Laurent Rineau b4f3d79b9b Make CTest build the targets 2017-06-09 16:50:06 +02:00
Laurent Rineau 4d6149647d <CGAL/CGAL_Ipelet_base.h> requires C++11, skip it
That header needs C++11 at least, and that does not play well with the
`check_headers` feature. So put it in the whitelist, so that it is not
tested along with the other headers.
2017-04-18 18:25:56 +02:00
Laurent Rineau d87cfd9ed5 CMake: If MSVC/C++11, do not search for Boost.Thread for CGAL_Core
See for example that error, on a Windows platform that does not have any
compiled Boost libraries.

https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-4.10-Ic-121/Polygon_Demo/TestReport_afabri_x64_Cygwin-Windows10_MSVC2017-Debug-64bits.gz
2017-02-09 12:46:36 +01:00
Laurent Rineau b73a88babc CGAL_Core MemoryPool<T> will always use Boost.Thread with g++
Because of bug in gcc, even if the C++11 `thread_local` keyword can be
used, it cannot be used for the TLS static member of the class template
`MemoryPool<T>`. That triggers a bug in gcc (tested with g++ 6.3.1):
```
.../include/CGAL/CORE/MemoryPool.h:113:25: error: redefinition of 'bool __tls_guard'
 MemoryPool<T, nObjects> MemoryPool<T, nObjects>::memPool;
                         ^~~~~~~~~~~~~~~~~~~~~~~
.../include/CGAL/CORE/MemoryPool.h:113:25: note: 'bool __tls_guard' previously declared here
.../include/CGAL/CORE/MemoryPool.h:113: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/cc4xCWuR.out file, please attach this to your bugreport.
```

The bug seems to be from g++ >= 5:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54948
2017-02-08 17:05:13 +01:00
Sébastien Loriot a89ccb10e7 remove non UTF-8 characters 2017-01-19 15:20:26 +01:00
Michel Zou 722e37c4d7 MPIR support 2016-12-23 22:32:32 +01:00
Laurent Rineau 204f9d080a Merge remote-tracking branch 'cgal/releases/CGAL-4.9-branch' 2016-12-05 12:19:36 +01:00
Laurent Rineau f99b898cdf Use LEDA linker flags 2016-12-02 10:57:18 +01:00
Laurent Rineau 205bc84874 Fix FindLEDA with clang 2016-11-30 10:40:04 +01:00
Laurent Rineau 5b3c44a3ef Merge pull request #1637 from sloriot/CGAL-fix_install_prefix
Add a hardcoded fall back for the installation prefix
2016-11-03 11:03:24 +01:00
Sébastien Loriot f674cc1cd1 add a hardcoded fall back for the installation prefix
in case of no common setting, the installation cannot be
relocated automatically
2016-10-31 15:52:11 +01:00
Laurent Rineau 2c4e047f58 Do not early exit if IPE_FULL_VERSION is not there
If `IPE_FULL_VERSION` is missing, that leads to a CMake error in
`CMakeLists.txt` files using it.
2016-10-25 11:17:10 +02:00
Laurent Rineau 0d5ddad5c3 Merge pull request #1534 from lrineau/CGAL-Allow_examples_to_use_cpp11_features-lrineau
Allow examples to use C++>=11 features
2016-10-17 10:03:05 +02:00
Laurent Rineau 54ce89f314 Merge pull request #1560 from lrineau/Installation-fix_CGAL_VERSION_issue_1559-lrineau
Fix CGAL_VERSION in CGALConfig.cmake
2016-10-17 10:01:11 +02:00
Laurent Rineau e5b441feaa Fix CGAL_VERSION in CGALConfig.cmake 2016-10-10 12:31:21 +02:00
Laurent Rineau 451577719c Merge pull request #1542 from lrineau/Installation-fix_CGAL_SetupBoostlrineau
try_run to detect the C++ version
2016-10-07 14:38:22 +02:00
Laurent Rineau 223c1cf5a4 Merge pull request #1530 from lrineau/Installation-compute_dependencies-GF
Compute and fix packages dependencies
2016-10-05 13:11:04 +02:00
Laurent Rineau e8dede494e Avoir a CMake error
When the list `CMAKE_CXX_COMPILE_FEATURES` is empty, there was a syntax
error.
```
CMake Error at /mnt/testsuite/cmake/modules/CGAL_CreateSingleSourceCGALProgram.cmake:27 (list):
  list sub-command REMOVE_ITEM requires two or more arguments.
Call Stack (most recent call first):
  CMakeLists.txt:75 (create_single_source_cgal_program)

```
2016-10-05 10:07:01 +02:00
Laurent Rineau c1b070dd51 Use try_run to detect the C++ version 2016-10-04 16:57:19 +02:00
Laurent Rineau 87a2248ab6 Do no test demos
New directory property named `CGAL_NO_TESTING`. If set to `TRUE`, then
the automatic generating of CTest test will be disabled.

(cherry picked from commit 5d540fc1989c86438090b0212883b15cd121cf92)
2016-09-30 19:58:56 +02:00
Laurent Rineau 038207bc15 Fix CTest
I broke the support for .cmd files in 3d36fe05b3.
2016-09-30 19:46:58 +02:00
Laurent Rineau 50d753350e Allow examples to use C++>=11 features
The macro `create_single_source_cgal_program` from
`CGAL_CreateSingleSourceCGALProgram` has been modified accordingly.

(cherry picked from commit 571659aaa32a30d7bfc0ce54a9d29c56079dca06)
2016-09-30 18:42:46 +02:00
Laurent Rineau bc03fae86c Add a whitelist
For now, `<CGAL/Linear_cell_complex_constructors.h>` is skipped.
2016-09-30 15:23:15 +02:00
Laurent Rineau 367da380f1 Move and regenerate list_of_documented_headers.cmake 2016-09-30 15:23:15 +02:00
Laurent Rineau 67e9da4770 FindIPE defines IPE_VERSION 2016-09-30 15:23:14 +02:00
Laurent Rineau b700a3f4da Fix a bug in the deps detection 2016-09-30 15:23:14 +02:00
Laurent Rineau ceb6961594 Remove a debug message 2016-09-30 15:22:28 +02:00
Laurent Rineau ed680537c9 WIP: compute packages dependencies, using the compiler 2016-09-30 15:22:26 +02:00
Laurent Rineau 4707b2ed29 Merge pull request #1443 from TManhente/master
Adds CMake package version file generation
2016-09-23 16:52:13 +02:00
Laurent Rineau d8b564e003 Use CGAL_add_test.cmake 2016-09-20 10:53:20 +02:00
Laurent Rineau 3d36fe05b3 WIP: the Arr_2 testsuite is now working!! 2016-09-20 10:53:20 +02:00
Laurent Rineau c0f36af442 Add a comment 2016-09-20 10:53:20 +02:00