Laurent Rineau
9b06a70e91
Merge pull request #2819 from afabri/CGAL-remove_SCL_SECURE_NO_DEPRECATE-GF
...
Address the warning concerning SCL_SECURE for VC++
2018-02-19 14:26:23 +01:00
Laurent Rineau
dd739cd31b
Do not declare the target CGAL_Qt5_moc_and_resources when useless
...
- .. if `CGAL_HEADER_ONLY` is not true,
- or if CMake is configuring CGAL "libraries".
2018-02-15 15:52:38 +01:00
Laurent Rineau
4e0cc55e4c
Fix the CMake error
...
CMake does not like that the documentation of a CMake cache variable is
multiline. That triggers an error once the cache is re-loaded, the second
time.
2018-02-14 16:23:19 +01:00
Laurent Rineau
9a80f5ddd8
Merge pull request #2800 from jasjuang/master
...
prevent GCC flags propagating to NVCC, fixes #2775
2018-02-14 15:34:23 +01:00
jasjuang
de47e36dac
prevent GCC flags propagating to NVCC, fixes #2775
2018-02-09 09:46:50 -08:00
Andreas Fabri
abe933a684
Address the warning concerning SCL_SECURE for VC++
2018-02-09 15:00:14 +00:00
Maxime Gimeno
a481d2651c
Clean-up
2018-02-09 10:25:39 +01:00
Laurent Rineau
69ca424c5e
Add CGAL_DEV_MODE
2018-02-06 15:08:54 +01:00
Maxime Gimeno
533fa91f41
remove classic package installation becaus eit is supposed to happen in install.sh
2018-02-02 12:08:05 +01:00
Maxime Gimeno
21745bea1e
Ignore packages without dependencies
2018-02-02 12:08:05 +01:00
Maxime Gimeno
688b5dd06e
Move dependencies creation to package_info and add dependencies to git
2018-02-02 12:08:05 +01:00
Maxime Gimeno
1dc6a0d66c
Add a script in Scripts/developers_scripts thatcheck if there are differencies in the dependencies of packages
2018-02-02 12:08:05 +01:00
Maxime Gimeno
d577ee75a1
remove Build Dir from dependencies
2018-02-02 12:08:05 +01:00
Maxime Gimeno
9fc057e1cf
remove list and list generator for documented headers and make compute_dependencies implied by enable_check_header
2018-02-02 12:08:05 +01:00
Maxime Gimeno
7fa4b380d2
fixes in includes logic.
2018-02-02 12:08:05 +01:00
Maxime Gimeno
11a7f9720f
get the list of documented headers at configuring time
2018-02-02 12:04:21 +01:00
Laurent Rineau
25c01d485c
Merge pull request #2773 from maxGimeno/Mesh_IO-Fix_c3t3_plugin-GF
...
Polyhedron demo: Fix c3t3 IO plugin when used with TBB
2018-01-31 18:30:20 +01:00
Laurent Rineau
67f4ab82af
Merge pull request #2723 from MaelRL/PMP-Graph_partition-GF
...
BGL Small feature: Graph partitioning
2018-01-31 18:29:59 +01:00
Maxime Gimeno
f46e805c77
Make inherit the usage of TBB in the cmake macro
2018-01-30 14:09:47 +01:00
Laurent Rineau
e8fca04385
Merge pull request #2691 from lrineau/Installation-fix_Boost_thread_required_or_not-GF
...
Installation: fix the detection of C++11 and the need for Boost Thread
2018-01-17 10:42:09 +01:00
Laurent Rineau
e2f89318e5
Improve scripts
2018-01-11 16:52:35 +01:00
Mael Rouxel-Labbé
17e46dab7d
Added partition operations to BGL
2018-01-09 18:06:02 +01:00
Laurent Rineau
42b11ddf29
Revert the merge of PR #2478
...
This reverts the merge commit 46cc91e787 onto
488c3e2879 .
2018-01-04 17:54:08 +01:00
Laurent Rineau
c08329e93f
Fix the use of Boost, on Windows
...
Now the branch requires CMake>=3.5. For CMake between 3.1 and 3.4,
included, it is not possible to compile CGAL libraries using C++11 or
later, and then compile a user program with C++03.
2018-01-04 11:45:40 +01:00
jasjuang
374bd7e223
fix incorrect INTERFACE_INCLUDE_DIRECTORIES
2018-01-02 08:06:13 -08:00
Laurent Rineau
1016c43195
Fix detection of Boost.Thread vs. C++11
...
This allows to build CGAL non-header-only with C++11, and then use C++03 is
a user-project: the need for Boost.Thread is reevaluated.
2017-12-19 15:56:30 +01:00
Laurent Rineau
02d7260dc1
Store the detection of C++11 in a CMake global property
...
That avoids to re-detecting it again and again.
2017-12-19 15:56:02 +01:00
Laurent Rineau
e80136e750
Merge branch 'master' into Aos_2-surface_sweep-efif
2017-12-07 15:00:47 +01:00
Efi Fogel
f1483cfa25
Merge branch 'Aos_2-surface_sweep-efif-old' into Aos_2-surface_sweep-efif
...
Merging Sebastien's fix to the surface-sweep cod.
Also, replaced all occurrences of '_SL_' with '_SS_'.
2017-12-07 15:56:00 +02:00
Laurent Rineau
163a90b6c1
Fix `make install` in header-only
...
Now the Qt5 resources (qrc files, icons) are installed along with the
CMake modules.
2017-12-07 11:34:00 +01:00
Laurent Rineau
777717ba7e
Move config/ to cmake/modules/config/
...
That way, the directory will be installed along with CMake modules.
2017-12-06 12:53:05 +01:00
Laurent Rineau
4343b756f0
Merge pull request #2636 from maxGimeno/Add_make_install_tests-GF
...
Test make install in travis
# Conflicts:
# Installation/cmake/modules/CGAL_Macros.cmake
2017-12-05 18:25:59 +01:00
Laurent Rineau
3c6640bf59
Merge pull request #1436 from lrineau/CGAL-new_cmake-GF
...
Renewal of CMake scripts: header-only, ctest, CMake>=3.1
# Conflicts:
# Installation/config/testfiles/CGAL_CFG_NESTED_CLASS_FRIEND_DECLARATION_BUG.cpp
2017-12-05 18:20:05 +01:00
Laurent Rineau
477b12dd83
Hack for the CGAL test suite (cont.)
...
Follow-up to:
> commit 249aed9fd1
> Author: Laurent Rineau <laurent.rineau@cgal.org>
> Date: Thu Nov 23 17:06:21 2017 +0100
>
> Hack for the CGAL test suite
2017-11-30 11:15:38 +01:00
Laurent Rineau
5c7958dc08
Improve CGAL_target_use_TBB
...
The use of TBB by a target is private.
2017-11-30 11:12:11 +01:00
Andreas Fabri
ea95e2b2eb
CGALConfig.cmake changes the CMAKE_MODULE_PATH
...
Maybe a temnporary "solution".
Laurent Rineau
2017-11-30 10:07:53 +00:00
Laurent Rineau
a2c513f080
QGLviewer depends on the lib GLU
2017-11-29 11:17:31 +01:00
Laurent Rineau
6ec4c12031
Do not use OpenGL directly, but only using Qt5 OpenGL classes
2017-11-28 17:58:12 +01:00
Laurent Rineau
4267df0a78
Fix get_dependency_version(..) when CGAL is installed
...
.. That is not really a fix, but any I plan to remove that code soon or
later!
2017-11-28 14:13:31 +01:00
Laurent Rineau
0f63e872c1
Fix when Qt5 is not found
2017-11-28 10:28:50 +01:00
Laurent Rineau
d44f144a90
Restore the missing file
2017-11-27 10:18:42 +01:00
Laurent Rineau
249aed9fd1
Hack for the CGAL test suite
2017-11-23 17:06:47 +01:00
Laurent Rineau
ce9399d423
Display compiler and linker flags
2017-11-23 17:06:46 +01:00
Laurent Rineau
9eb2e30745
Deal with the macro CGAL_TEST_SUITE in header-only
2017-11-23 17:06:46 +01:00
Laurent Rineau
a2a5ca91a1
Unify CGAL_HEADER_ONLY and CGAL_HEADER_ONLY_STEP_2
2017-11-23 17:06:46 +01:00
Laurent Rineau
c0ad644269
Correct syntax for target_compile_definitions
2017-11-23 16:41:21 +01:00
Laurent Rineau
876e4f8321
Rename CGAL_Qt5_extras to CGAL_Qt5_moc_and_resources
2017-11-22 13:01:06 +01:00
Laurent Rineau
19c5502ca8
Fix compilation of demos in non-header-only
...
Now the variables `CGAL_Qt5_MOC_FILES` and `CGAL_Qt5_RESOURCE_FILES` are no
longer used by the definition of `CGAL_Qt5_extras`: other names are used.
`CGAL_Qt5_extras` is not supposed to be used directly by
users/examples/demos' `CMakeLists.txt`.
2017-11-22 12:45:21 +01:00
Laurent Rineau
18caaba64d
Fix the "-fp-model strict" for Intel
...
`-fp-model strict` is two arguments, not one!
```
[ 4%] Building CXX object src/CGAL/CMakeFiles/CGAL.dir/all_files.cpp.o
cd /home/cgal_tester/build/src/cmake/platforms/CentOS7-ICC-2016-Release/src/CGAL && /opt/intel/compilers_and_libraries_2016.4.258/linux/bin/intel64/icpc -DCGAL_EXPORTS -I/home/cgal_tester/build/src/cmake/platforms/CentOS7-ICC-2016-Release/include -I/mnt/testsuite/include -w1 -O3 -DCGAL_NDEBUG -fPIC "-fp-model strict" -o CMakeFiles/CGAL.dir/all_files.cpp.o -c /home/cgal_tester/build/src/cmake/platforms/CentOS7-ICC-2016-Release/src/CGAL/all_files.cpp
icpc: command line warning #10159 : invalid argument for option '-fp-model'
```
https://cgal.geometryfactory.com/CGAL/testsuite/CGAL-4.12-Ic-97/Installation/TestReport_lrineau_CentOS7-ICC-2016-Release.gz
2017-11-21 13:51:24 +01:00
Laurent Rineau
fe139a8a7a
Fix a typo
2017-11-21 09:51:55 +01:00
Laurent Rineau
9c350f2c47
Fix CMake errors in CGAL demos, with CMake<3.4
2017-11-20 10:41:44 +01:00
Laurent Rineau
cf6522dba6
Fix CMake error on Windows about Boost.Thread and CGAL_Core
2017-11-20 10:40:45 +01:00
Laurent Rineau
891a83840e
Merge branch 'CMake-parse_CTest_XML_output-lrineau' into CGAL-new_cmake-GF
2017-11-17 15:03:57 +01:00
Laurent Rineau
8a260c4c32
Remove CGAL setup flags
...
@afabri This commit removes our tricks with the compilation flags.
2017-11-17 12:57:12 +01:00
Laurent Rineau
1dd41508fe
Fix the syntax error with CMake<=3.3
2017-11-17 11:33:56 +01:00
Laurent Rineau
0c5ffa9968
Fix Boost usage on Windows
2017-11-17 11:06:32 +01:00
Laurent Rineau
21dabf1b1b
Add compilation tests for demos
2017-11-16 18:45:33 +01:00
Laurent Rineau
bbee705221
Add compilation tests for demos
2017-11-16 18:38:15 +01:00
Efi Fogel
7936109c6c
Merge branch 'Aos_2-surface_sweep-efif-old' into Aos_2-surface_sweep-efif
...
Conflicts:
.travis.yml
.travis/packages.txt
Arrangement_on_surface_2/include/CGAL/Arr_batched_point_location.h
Arrangement_on_surface_2/include/CGAL/Arr_bounded_planar_topology_traits_2.h
Arrangement_on_surface_2/include/CGAL/Arr_default_overlay_traits.h
Arrangement_on_surface_2/include/CGAL/Arr_overlay_2.h
Arrangement_on_surface_2/include/CGAL/Arr_spherical_topology_traits_2.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_batched_pl_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_construction_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_insertion_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_overlay_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_topology_traits_2_impl.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_bounded_planar_vert_decomp_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_planar_topology_traits_base_2.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_spherical_batched_pl_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_spherical_construction_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_spherical_insertion_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_spherical_overlay_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_spherical_vert_decomp_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_unb_planar_batched_pl_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_unb_planar_construction_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_unb_planar_insertion_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_unb_planar_overlay_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_unb_planar_topology_traits_2_impl.h
Arrangement_on_surface_2/include/CGAL/Arr_topology_traits/Arr_unb_planar_vert_decomp_helper.h
Arrangement_on_surface_2/include/CGAL/Arr_unb_planar_topology_traits_2.h
Arrangement_on_surface_2/include/CGAL/Arr_vertical_decomposition_2.h
Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arr_default_planar_topology.h
Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arrangement_on_surface_2_global.h
Arrangement_on_surface_2/include/CGAL/Arrangement_2/Arrangement_on_surface_2_impl.h
Arrangement_on_surface_2/include/CGAL/Surface_sweep_2/Arr_basic_insertion_traits_2.h
Arrangement_on_surface_2/include/CGAL/Surface_sweep_2/Arr_batched_pl_ss_visitor.h
Arrangement_on_surface_2/include/CGAL/Surface_sweep_2/Arr_construction_ss_visitor.h
Arrangement_on_surface_2/include/CGAL/Surface_sweep_2/Arr_default_overlay_traits_base.h
Arrangement_on_surface_2/include/CGAL/Surface_sweep_2/Arr_insertion_traits_2.h
Arrangement_on_surface_2/include/CGAL/Surface_sweep_2/Arr_no_intersection_insertion_ss_visitor.h
Arrangement_on_surface_2/include/CGAL/Surface_sweep_2/Arr_overlay_ss_visitor.h
Arrangement_on_surface_2/include/CGAL/Surface_sweep_2/Arr_overlay_subcurve.h
Arrangement_on_surface_2/include/CGAL/Surface_sweep_2/Arr_overlay_traits_2.h
Arrangement_on_surface_2/include/CGAL/Surface_sweep_2/Arr_vert_decomp_ss_visitor.h
Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_agg_meta_traits.h
Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_agg_op.h
Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_agg_op_sweep.h
Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_agg_op_visitor.h
Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_polygon_simplifier.h
Boolean_set_operations_2/include/CGAL/Boolean_set_operations_2/Gps_polygon_validation.h
CGAL_ipelets/demo/CGAL_ipelets/arrangement.cpp
Documentation/doc/Documentation/dependencies
Installation/include/CGAL/config.h
Snap_rounding_2/include/CGAL/Snap_rounding_2.h
Surface_sweep_2/examples/Surface_sweep_2/CMakeLists.txt
Surface_sweep_2/include/CGAL/Surface_sweep_2/No_intersection_surface_sweep_2_impl.h
Surface_sweep_2/include/CGAL/Surface_sweep_2/No_overlap_event_base.h
Surface_sweep_2/include/CGAL/Surface_sweep_2/Surface_sweep_2_utils.h
Surface_sweep_2/include/CGAL/Surface_sweep_2_algorithms.h
Sweep_line_2/include/CGAL/Sweep_line_2/Arr_construction_event.h
Sweep_line_2/include/CGAL/Sweep_line_2/Arr_construction_subcurve.h
Sweep_line_2/include/CGAL/Sweep_line_2/Arr_insertion_sl_visitor.h
Sweep_line_2/include/CGAL/Sweep_line_2/Sweep_line_2_visitors.h
Sweep_line_2/include/CGAL/Sweep_line_2/Sweep_line_curve_pair.h
Sweep_line_2/include/CGAL/Sweep_line_2/Sweep_line_functors.h
Sweep_line_2/include/CGAL/Sweep_line_2/Sweep_line_subcurve.h
Sweep_line_2/include/CGAL/Sweep_line_empty_visitor.h
2017-11-16 16:31:52 +02:00
Laurent Rineau
6804eadd98
Fill the CMAKE_CONFIGURE_DEPENDS directory property
...
... with each `.cin` and `.cmd` files that are used.
2017-11-15 18:55:25 +01:00
Laurent Rineau
6aae344f9c
Enable CTest from sub-directories of CGAL
2017-11-15 18:43:44 +01:00
Laurent Rineau
ffe500eb29
Remove the deprecation warning, for now.
2017-11-15 17:29:45 +01:00
Laurent Rineau
0681ac6dbc
Fix the TBB_USE_FILE warnings
2017-11-15 17:00:02 +01:00
Laurent Rineau
a9365554c9
Merge pull request #2550 from sloriot/CGAL-add_SPDX_tags
...
Add SPDX License Identifier
2017-11-15 16:48:27 +01:00
Laurent Rineau
489e1b2ae1
Remove debug message
2017-11-15 14:47:34 +01:00
Laurent Rineau
3f3f5b1a52
Do not rely on CMAKE_MODULE_PATH
2017-11-15 14:45:12 +01:00
Laurent Rineau
fe24a4db68
Explicit the dependencies of QGLViewer
2017-11-14 14:08:55 +01:00
Laurent Rineau
1d63eeb5dc
Add support for testing on Android
2017-11-14 10:39:35 +01:00
Laurent Rineau
264c23294f
Ease the cross-compilation
2017-11-14 10:38:51 +01:00
Laurent Rineau
283f8138d8
CGAL_Core needs Boost.Thread
2017-11-13 14:41:03 +01:00
Laurent Rineau
03f84dc94b
Handle the compiler flags
...
That setup was previously in `Installation/CMakeLists.txt`.
2017-11-13 14:28:51 +01:00
Laurent Rineau
8c44bceedd
Fix a typo
2017-11-13 13:51:23 +01:00
Laurent Rineau
838217a153
CGAL_CURRENT_SOURCE_DIR is no longer used/filled
2017-11-13 11:49:07 +01:00
Laurent Rineau
c6068691fa
Merge pull request #2547 from lrineau/CMake-parse_CTest_XML_output-lrineau
...
CGAL testsuite implemented with CTest plus Python (part.1)
2017-11-13 11:13:54 +01:00
Sébastien Loriot
0698f79aff
add SPDX identifier for files under the LGPL-3+ license
2017-11-12 10:17:50 +01:00
Laurent Rineau
260c4dac61
Fix the API of cgal_add_test
2017-11-03 15:05:35 +01:00
Laurent Rineau
252eb66dc2
Split cgal_add_test further, with the new cgal_setup_test_properties
2017-11-03 11:13:49 +01:00
Laurent Rineau
855d995e1e
Improvements
...
- split `cgal_add_test()` into `cgal_add_test()` and
`cgal_add_compilation_test()`
- `cgal_add_test()` have more parameters:
- an optional custom `TEST_NAME`,
- extra arguments to use for the test.
- Add CTest support for `test/Sweep_line_2/`
2017-11-03 09:34:55 +01:00
Laurent Rineau
633374027b
Do not run a test if the compilation failed
...
The test binary may have been compiled in a previous compilation.
But if the current compilation failed, do not run the test.
2017-10-26 19:50:40 +02:00
Laurent Rineau
6c24ed92e5
Deal with comments (`#`) in test/Set_movable_separability_2/*.cmd
2017-10-24 11:46:40 +02:00
Laurent Rineau
1fbdd79363
Avoid adding the same test twice
2017-10-23 16:10:06 +02:00
Laurent Rineau
45d60917e4
Use CMake 3.7 fixtures, to execute in a dedicated directory
2017-10-20 17:02:32 +02:00
Laurent Rineau
e73c95d4cd
Do not test demos
2017-10-20 17:01:43 +02:00
Laurent Rineau
9a127c6f5d
Add CMake option CGAL_CTEST_DISPLAY_MEM_AND_TIME
...
"Display memory and real time usage at end of CTest test outputs"
2017-10-20 10:26:11 +02:00
Laurent Rineau
a63cfa9612
Parse the XML file Test.xml from `ctest -D`
...
... eventually, that will help move from our testsuite scripts to
CTest testsuite, plus CDash.
2017-10-20 00:15:04 +02:00
Laurent Rineau
63f5286372
Merge pull request #2375 from sloriot/Cmake-remove_FindCGAL
...
Remove files no longer needed since CGAL uses the config mode of cmake
2017-08-28 12:49:55 +02:00
Sébastien Loriot
a3cbacd968
remove files no longer needed since CGAL uses the config mode of cmake
2017-08-25 17:00:22 +02:00
Simon Giraudot
b88deb3759
Rename Efficient_RANSAC_traits as Shape_detection_traits (same for concept)
2017-08-01 15:45:06 +02:00
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
c4438a472b
Merge branch 'master' into Aos_2-surface_sweep-efif
2017-07-05 15:39:09 +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
Efi Fogel
3e6de6b439
Renamed sweep-line to surface-sweep and cleaned up
2017-05-27 12:30:41 +03: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
a0155a70ed
Add Sphinx documentation
...
The `Makefile` can be used to generate the documentation:
make html
`sphinx-build` must be in the path.
2017-03-27 18:04:55 +02:00
Laurent Rineau
97352da979
Fix CGAL_Core and CGAL_HEADERS_ONLY_STEP_2
2017-03-27 18:04:55 +02:00
Laurent Rineau
7c97443e37
Add a backward compatibility
...
A few CMakeLists.txt modify `CGAL_3RD_PARTY_LIBRARIES` to add Boost or
TBB libraries to it. In this case, emit a `DEPRECATION` warning and do
link with `${CGAL_3RD_PARTY_LIBRARIES}`.
2017-03-27 18:04:54 +02:00
Laurent Rineau
af38caef16
Better CMake API for TBB
...
- new CMake module `CGAL_target_use_TBB` that defines a function, that
enables TBB per target.
- `UseTBB.cmake` is deprecated.
2017-03-27 18:04:54 +02:00
Laurent Rineau
eb5f52869f
Use the new API of target_link_libraries
...
... otherwise CMake warns about mixing old and new usages of that CMake
command.
2017-03-27 18:04:54 +02:00
Laurent Rineau
a0c0227f7d
Remove display messages
...
Anyway that lead to a bug when Qt5 was not found.
2017-03-27 18:04:53 +02:00
Laurent Rineau
7c18b22b4c
Fix CGAL_TweakFindBoost
...
That module was using the useless macros `cache_set` and
`add_to_cached_list`.
2017-03-27 18:04:53 +02:00
Laurent Rineau
fa0d681c23
Simplify and fix CGALConfig.cmake for header-only2
2017-03-27 18:04:53 +02:00
Laurent Rineau
98156dc1a7
CGAL_Setup${cgal_lib}CoreDependencies improve
...
- Now even CGAL_Core has one.
- The `${cgal_lib}_FOUND` are now set in those modules, after having chec
- For self-consistency, `Use_CGAL_Qt5_headers` is included by
`CGAL_SetupCGAL_Qt5Dependencies`.
2017-03-27 18:04:52 +02:00
Laurent Rineau
9c96205a38
First prototype of a pure CGAL_HEADER_ONLY
...
That is the step 2 of the header-only effort.
Still to do:
- make it work with `make install`
- ensure that `CGAL_Core` is correctly handled with `CGAL_DISABLE_GMP`
2017-03-27 18:04:41 +02:00
Laurent Rineau
908bb2dc01
Fix Use_CGAL_Qt5_headers.cmake
...
Outside a build with `WITH_demos=TRUE`, that was probably buggy.
2017-03-27 17:23:27 +02:00
Laurent Rineau
9902457b0a
Make CGAL_SCM.cmake define a function
...
... instead of launching the code. That will help launch it on other
directories.
2017-03-27 17:23:27 +02:00
Laurent Rineau
255c09f03b
Simplify CGALConfig_binary.cmake.in
2017-03-27 17:23:27 +02:00
Laurent Rineau
2daba815b3
New way to use the CGAL_Qt5 extra files
2017-03-27 17:23:27 +02:00
Clement Jamin
6af02862de
This comment is not true anymore
2017-03-27 17:23:27 +02:00
Clement Jamin
e209c57269
Add -DCGAL_HEADER_ONLY when relevant
2017-03-27 17:23:27 +02:00
Laurent Rineau
fade4c0eb4
Fix CGAL_HEADER_ONLY
2017-03-27 17:23:27 +02:00
Laurent Rineau
98890c9924
Fix the INTERFACE_INCLUDE_DIRECTORIES of CGAL
2017-03-27 17:23:27 +02:00
Clement Jamin
23a1c3ee54
Revert "This only has to be done in header-only mode"
...
This reverts commit ff3b3b01ab96485cd32564175833b68044806bee.
2017-03-27 17:23:27 +02:00
Clement Jamin
6f0efd931f
Remove useless test
2017-03-27 17:23:26 +02:00
Laurent Rineau
5d5f6d4dae
include CGAL_Macros.cmake in the CGALConfig.cmake
2017-03-27 17:23:26 +02:00
Clement Jamin
dfb24b5340
Add comments
2017-03-27 17:23:26 +02:00
Clement Jamin
b9909ddfb5
This only has to be done in header-only mode
2017-03-27 17:23:26 +02:00
Laurent Rineau
a3ddaa132f
Define and use a new CMake API for CGAL
...
For the moment, the new API is used only in:
- `examples/Mesh_2/CMakeLists.txt`
- `demo/Triangulation_2/CMakeLists.txt`
2017-03-27 17:23:26 +02:00
Clement Jamin
973b4e89b2
Fix bug in case ZLib is not found
2017-03-27 17:23:26 +02:00
Clement Jamin
a2a3ad29b4
Use CGAL_SetupCGAL_Qt5Dependencies + remove useless test
2017-03-27 17:23:26 +02:00
Laurent Rineau
c2fd460927
Use CGAL::CGAL_<lib> instead of CGAL_<lib>
2017-03-27 17:23:26 +02:00
Laurent Rineau
f9835007e5
Use CGAL::CGAL instead of CGAL
2017-03-27 17:23:26 +02:00
Laurent Rineau
8f2fa4f637
Do not hardcode CGAL_Qt5
...
Use ${target} instead.
2017-03-27 17:23:26 +02:00
Laurent Rineau
429bfa4315
move the add_config_flag calls
2017-03-27 17:23:26 +02:00
Laurent Rineau
ff15d0e5fc
Simplify the CMakeLists.txt of our libraries
2017-03-27 17:23:26 +02:00
Laurent Rineau
b978620b29
Add an include guard
2017-03-27 17:13:15 +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
Laurent Rineau
0a88180b51
Handle the case when a glob pattern is in .cmd
...
In that case, CMake must use globbing to interpret the content of the
.cmd file.
2016-09-20 10:53:20 +02:00
Laurent Rineau
545e80f18e
Add a variable CGAL_CURRENT_SOURCE_DIR
...
Save the current source directory to `CGAL_CURRENT_SOURCE_DIR`. The
variable value is modified by a `CMakeLists.txt` file when it is
generated by `cgal_create_cmake_script` in the binary tree. The script
`cgal_create_cmake_script` itself it called by CMake, by the function
`process_CGAL_subdirectory` (see its definition in
`Installation/cmake/modules/CGAL_Macros.cmake`), called in
`(examples|test|demo)/CMakeLists.txt`.
Eventually, that variable value is supposed to be the directory to the
current sources, even if the current `CMakeLists.txt` is within the
binary tree.
That is used in `CGAL_CreateSingleSourceCGALProgram.cmake` for the CTest
support, so set correctly the current working directory (in the
directory of the tests/examples).
2016-09-20 10:53:20 +02:00
Laurent Rineau
c30560143b
Correctly handle `.cmd` files
...
The trick to use the CMake command `separate_arguments` to interpret the
lines of the `.cmd` file.
2016-09-20 10:53:20 +02:00
Laurent Rineau
269feff7e1
Handle .cin files correctly, with a CMake script in process mode
...
Handle also multi-line `.cmd` files.
2016-09-20 10:53:20 +02:00
Sébastien Loriot
da84b03941
better handling with cmake 3.4 and greater
2016-09-13 16:38:07 +02:00
Sébastien Loriot
ca8cfba5ad
-ansi implies c++98 -> update script requirements of boost libraries
2016-09-13 14:22:49 +02:00
Thiago M. de C. Marques
6cfa204b29
Fixes the version compatibility to `SameMajorVersion`
...
See: https://github.com/CGAL/cgal/pull/1443#discussion-diff-78162752
2016-09-09 08:32:30 -03:00
Thiago M. de C. Marques
9c338ad61a
Removes the copy of the package version file to the build config folder
...
See: https://github.com/CGAL/cgal/pull/1443#discussion-diff-78147435
2016-09-09 08:32:21 -03:00
Thiago M. de C. Marques
a24dd7dd1c
Adds CMake package version file generation
...
This allows clients to specify a minimum CGAL version in their CMake list files.
Eg.:
find_package(CGAL 4.9)
More info: https://cmake.org/cmake/help/v3.6/manual/cmake-packages.7.html#package-version-file
2016-09-08 21:14:20 -03:00
Laurent Rineau
2cd9a15bb9
Merge remote-tracking branch 'cgal/releases/CGAL-4.8-branch'
...
Merge the following merge commits:
> 12b92f5 Merge pull request #1271 from lrineau/Mesh_3-distance_criterion_sizing_field-GF
> 9c3d0b0 Merge pull request #1295 from lrineau/CGAL-add_test-GF
Conflicts:
Maintenance/release_building/BUGFIX_NUMBER
Maintenance/release_building/public_release_name
2016-07-22 18:31:02 +02:00
Laurent Rineau
3ff72add4a
Add a comment with a TODO
2016-07-21 16:34:42 +02:00
Laurent Rineau
1da7e81b55
Add the project name to the LABELS property
2016-07-21 15:44:30 +02:00
Laurent Rineau
c65d3abe17
Add support for CTest
2016-07-21 14:42:35 +02:00
Laurent Rineau
b2c9d14937
Merge pull request #1178 from cjamin/patch-2
...
Add TBB support for MSVC14
2016-07-20 18:08:27 +02:00
Laurent Rineau
1cde972cdb
Remove whitespace at end of lines
2016-06-29 11:04:29 +02:00
Guillaume Damiand
7717bc83b4
ImageIo does not need opengl nor vtk
2016-06-28 11:29:51 +02:00
Guillaume Damiand
157f2507cf
Re-add find_package(Qt5 QUIET COMPONENTS OpenGL Svg) and find_package(OpenGL QUIET) in CGALConfig; they are required in header only mode
2016-06-24 18:58:44 +02:00
Guillaume Damiand
c4758f091a
Simplify CGALConfig files: we do not need anymore to find zlib, nor opengl.
2016-06-24 14:38:28 +02:00
Guillaume Damiand
e21ef313c0
Merge branch 'CGAL_headers_only_step1-gdamiand_cjamin-old' into CGAL_headers_only_step1-gdamiand_cjamin
2016-06-22 20:54:37 +02:00
Guillaume Damiand
50125f1d53
First try to use an interface target in header only; in order to allow to link with this fictive target.
2016-06-22 13:44:50 +02:00
Guillaume Damiand
f6428de32c
include only .cmake file when they exist.
2016-06-21 19:08:06 +02:00
Guillaume Damiand
276c8271ab
Remove a debug message
2016-06-21 12:27:44 +02:00
Guillaume Damiand
1f40288aa3
Update cmakes in order to deal with install version of CGAL in header only mode.
2016-06-21 11:20:28 +02:00
Sébastien Loriot
0b8115daff
Make CGAL installation relocable
2016-06-16 11:11:46 +02:00
Clement Jamin
b175d15421
Simplify test
2016-06-15 11:49:58 +02:00
Clément Jamin
c1fe6fb342
Add TBB support for MSVC14
...
TBB now supports MSVC 2015 (= VC14)
https://software.intel.com/en-us/articles/whats-new-intel-threading-building-blocks-44-update-1
2016-06-15 11:03:58 +02:00
Clement Jamin
561bd80d96
On Windows, OPENGL_INCLUDE_DIR is empty even when OpenGL is found
2016-06-10 15:05:16 +02:00
Guillaume Damiand
a53f16edac
Merge branch 'CGAL_headers_only_step1-gdamiand_cjamin-old' into CGAL_headers_only_step1-gdamiand_cjamin
2016-06-09 19:09:38 +02:00
Guillaume Damiand
b8d2782e39
Remove empty include directory directive.
2016-06-09 16:19:55 +02:00
Guillaume Damiand
a5e04dcfd0
Update cmakes to deal with ZLIB in header only mode.
2016-06-09 15:39:56 +02:00
Sébastien Loriot
3cf08a5949
Set Eigen3 use file name in CGAL common
...
ensure the use file is known even if the FindEigen3.cmake
shipped with Eigen is used
2016-06-06 14:07:23 +02:00
Guillaume Damiand
89edc17cb1
Add quit to find_package; and improve error message for Qt5
2016-06-03 09:25:54 +02:00
Guillaume Damiand
b507b12d4f
Do not add in link_libraries in header only mode.
2016-06-01 19:18:43 +02:00
Maxime Gimeno
fc992ed0c3
Replace the string(REPLACE vc...) by a single string(REGEX REPLACE ...).
2016-06-01 09:59:27 +02:00
Guillaume Damiand
10469f9c4e
Update with master
2016-05-25 10:58:55 +02:00
Laurent Rineau
a96ec65c54
Sort results of file(GLOB ...) to make build deterministic
...
Patch from Joachim Reichel <reichel@debian.org>, adapted from the flat
layout to the Git layout.
Fix #1048 .
2016-05-06 16:50:16 +02:00
Laurent Rineau
71d91f9b99
Merge pull request #835 from bo0ts/patch-1
...
Require correct Boost version through CMake
2016-03-24 11:31:38 +01:00
Laurent Rineau
5b48eedf20
Merge pull request #790 from bo0ts/Installation-remove_ALL_PRECONFIGURED-pmoeller
...
Remove option CGAL_ALLOW_ALL_PRECONFIGURED_LIBS_COMPONENT and associated code
2016-03-24 11:30:14 +01:00
Clement Jamin
1526a93a31
CGAL_AUTO_LINK_ENABLED is also used for Boost & co
...
So we need it even in header-only mode.
CGAL auto-link is already disabled in auto_link.h so it's not a problem.
2016-03-11 09:47:59 +01:00
Laurent Rineau
31d416df4e
Fixes the PR #788
...
With the split of `CGALConfig.cmake` into several files, one for each
lib, then the variable `CGAL_ImageIO_USE_ZLIB` was no longer stored in
`CGALConfig.cmake`.
That led to a full blue line in the testsuite:
https://cgal.geometryfactory.com/CGAL/Members/testsuite/results-4.8-Ic-155.shtml#Mesh_3_Examples
2016-03-10 11:56:55 +01:00
Laurent Rineau
3536c89d70
Fix CGALConfig.cmake header-only
2016-03-09 18:53:59 +01:00
Guillaume Damiand
bcd3b6cde3
Remove unused variable
2016-03-09 17:31:24 +01:00
Laurent Rineau
fd42bc1d15
Step 2
...
CGAL_ImageIO and CGAL_Qt5 are not even configured in header-only
mode. They will be configured later by `CGALConfig.cmake`.
2016-03-09 17:14:04 +01:00
Guillaume Damiand
24b156e3c6
Add cgal header only also in CGALConfig_install.cmake.in
2016-03-09 16:38:54 +01:00
Guillaume Damiand
b9d209ee62
Search required third party library in find component macro.
2016-03-09 12:41:42 +01:00
Guillaume Damiand
94f2565c6a
Replace the name of the variable to enable header only mode in CGAL_HEADERS_ONLY
2016-03-09 10:56:11 +01:00
Guillaume Damiand
0f0aa9f764
Remove the find_package qt5 do in CGAL_Macros.cmake which is now done in CGALConfig_binary.cmake.in
2016-03-09 10:50:53 +01:00
Guillaume Damiand
dff63d83d3
Correct the problem of cmake qt5 macro not available in header only when configuring cgal_qt5.
...
To solve this problem, we added in the macro check_cgal_component the find package of qt5 if we are configuring cgal_qt5.
2016-03-09 10:44:15 +01:00
Guillaume Damiand
38ca4dd5e0
Bugfix in check_cgal_component for its first call.
2016-03-09 10:42:46 +01:00
Guillaume Damiand
561b1f2a38
Do not need cgal_include_moc_files macro
2016-03-09 10:37:58 +01:00
Guillaume Damiand
16a19eb33e
Ok for demo for aabbtree
2016-03-09 10:37:57 +01:00
Guillaume Damiand
78cde742ce
Work on demo with qt5; ok for AABBtree (but need to be improved)
2016-03-09 10:35:22 +01:00
Guillaume Damiand
d56092753a
Make enable_header_only option persistent
2016-03-09 10:35:21 +01:00
Clement Jamin
c7d3a58688
Do not set CGAL_AUTO_LINK_ENABLED to TRUE in header only mode
2016-03-09 10:31:17 +01:00
Sébastien Loriot
a3ba66c458
include export and lib config files on demand
2016-03-04 12:05:25 +01:00
Philipp Moeller
e261b3ad4f
Require correct Boost version through CMake
...
This catches errors early and provides a clear error message instead of waiting for something in a test or example to break.
2016-02-26 17:52:36 +01:00
Philipp Möller
9e7423fba6
Add missing _LIBRARY to variable on MSVC
2016-02-18 15:01:37 +01:00
Philipp Möller
0a685e82b3
Remove CGAL_ALLOW_ALL_PRECONFIGURED_LIBS_COMPONENT from Macros
...
This is the only place that uses the option. Because the code was
wrongly indented (several ifs missing a level) the removal looks
horrible.
2016-02-16 17:21:23 +01:00
Philipp Möller
ecb34b3031
Remove option CGAL_ALLOW_ALL_PRECONFIGURED_LIBS_COMPONENT
...
Do not add it to Config.cmake files anymore and remove it from the
interface
2016-02-16 17:20:22 +01:00
Philipp Möller
732d6ccb96
Generate a config file for each lib
2016-02-16 17:02:56 +01:00
Philipp Möller
1aa334ff34
Remove unnecessary variable
...
Never used anywhere and does not work with out-of-source builds
anyway...
2016-02-16 17:02:56 +01:00
Philipp Möller
4211a4f01e
Globally remove CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS
...
This is a Cmake 2.4.3 variable that isn't even documented anymore.
2016-02-16 17:02:55 +01:00
Philipp Möller
c3fba6c5ab
Remove unnecessary variable
...
Correct name would be CMAKE_COLOR_MAKEFILE and default is ON anyway.
2016-02-11 15:58:14 +01:00
Sebastien Loriot
2b49997c7e
Merge pull request #493 from afabri/CGLAL-thread_local_storage-GF
...
Remove boost thread dependency
2016-01-04 16:49:26 +01:00
Simon Giraudot
c2003e8a2a
Add test for c++1z and gnu++XX flags
2015-12-17 10:18:20 +01:00
Sebastien Loriot
b5546cb802
Merge pull request #486 from lrineau/Installation-visual_leak_detector-lrineau
...
Enable the use of Visual Leak Detector in CGAL
2015-11-26 14:30:14 +01:00
Sébastien Loriot
e997e68582
missing c++98
2015-11-23 10:23:57 +01:00
Sébastien Loriot
260a501941
support more g++ version and enhance doc
2015-11-23 10:21:21 +01:00
Sébastien Loriot
d1489cd7e0
fix and simplify when boost libs are needed
2015-11-20 14:30:34 +01:00
Sébastien Loriot
86a2225a0c
boost thread not needed if using gcc 4.8 or greater in c++1[1/4] mode
2015-11-19 18:55:42 +01:00
Andreas Fabri
6b2c4dd7c6
Merge branch 'CGLAL-thread_local_storage-GF-old' into CGLAL-thread_local_storage-GF
2015-11-09 14:26:42 +01:00
Sébastien Loriot
eb4f860f3b
remove mentions of Qt3
2015-10-05 15:19:58 +02:00
Guillaume Damiand
bd1de66629
Update CGAL_SetupBoost
2015-10-02 10:30:36 +02:00
Andreas Fabri
d7c7747927
fix for non VC++
2015-10-02 10:23:27 +02:00
Andreas Fabri
833bd5c49c
no Qt3 in the installation manual
2015-10-01 14:52:05 +02:00
Andreas Fabri
47a41ccab0
cleanup
2015-10-01 12:38:55 +02:00
Andreas Fabri
1a4faa8575
Merge branch 'CGLAL-thread_local_storage-GF-old' into CGLAL-thread_local_storage-GF
2015-10-01 10:03:04 +02:00
Jane Tournois
24666eb13e
deal with msvc12 and msvc14
...
until now, msvc14 is not supported by tbb (<= 4.4)
this commit prevents the testsuite from looking for it
2015-09-08 10:21:55 +02:00
Andreas Fabri
bc5272495b
For MSVC we no longer require boost thread and system
2015-09-04 11:50:54 +02:00
Laurent Rineau
714fc9092b
Remove an unused file
...
This file was unused for six years:
cmake/modules/CGAL_CreateSingleSourceCGALProgramQt4.cmake
I remove it.
2015-08-03 15:00:18 +02:00
Laurent Rineau
f3d55fcb63
Add support for VC14 (from MSVC 2015)
...
There was eventually no VC13.
- In cmake/modules/CGAL_GeneratorSpecificSettings.cmake replace it by
MSVC14. Add a support for a futur MSVC15.
- Synchronize include/CGAL/auto_link/auto_link.h from the future
Boost-1.59 (not yet released), to add support for VC14/MSVC2015.
2015-07-30 11:28:13 +02:00
Laurent Rineau
e43b1e42ba
Do include the export file if CMP0024 does not exist
...
With CMake-2.8.11, CMP0024 does not yet exist, and the target aliasing
feature does not exist either. So the only solution is to include the
export file.
2015-07-14 16:06:53 +02:00
Laurent Rineau
877634ba9f
Avoid multiple definitions of the target aliases
...
With -DWITH_demos:BOOL=TRUE, the CGALConfig.cmake is included multiple
times. This patch avoids that one tries to define multiple times the
same target aliases.
2015-07-14 15:59:56 +02:00
Laurent Rineau
3262264cbd
Search dependencies quietly
2015-07-14 15:12:47 +02:00
Laurent Rineau
fb4975f469
Check if the libraries are actually defined
...
In CGALConfig.cmake, the former code was just checking if
WITH_${CGAL_LIB} was TRUE. Now, the new code also checks if the target
was actually defined. If the target is not defined by WITH_${CGAL_LIB}
is ON, if probably means that one dependency of the library was not
properly configured.
2015-07-14 15:12:47 +02:00
Laurent Rineau
34ccb7facd
Merge pull request #133 from bo0ts/Installation-add_exports-pmoeller
...
Add a CGALExports.cmake file
Conflicts:
Installation/cmake/modules/CGALConfig_binary.cmake.in
This merge should fix the warning caused by CMP0024.
2015-07-13 12:45:19 +02:00
Philipp Möller
ed71d08e3d
Do not include the CGALExport.cmake file while still building CGAL
...
This rightfully triggers CMP0024, since the file created by export might
not exist at configure-time. We need to do some extra work to avoid
reading the LOCATION property from a non-imported target hence we
trigger policy CMP0026.
2015-07-10 15:33:37 +02:00
Laurent Rineau
518faece88
Merge remote-tracking branch 'cgal-public-dev/CGAL-Qt5_support-GF' into CGAL-Qt5_support-GF
2015-07-10 14:04:03 +02:00
Laurent Rineau
9550a41b67
Merge pull request #133 from bo0ts/Installation-add_exports-pmoeller
...
Add a CGALExports.cmake file
Conflicts:
GraphicsView/src/CGAL_Qt5/CMakeLists.txt
Installation/cmake/modules/CGALConfig_binary.cmake.in
Installation/cmake/modules/CGALConfig_install.cmake.in
There was also a conceptual conflict in:
Installation/src/CMakeLists.txt
2015-07-10 14:03:20 +02:00
Sébastien Loriot
47b7ac3c07
update script to find QGLviewer so that the environment variable is used first
2015-07-10 11:32:20 +02:00
Sébastien Loriot
722abba27b
cosmetic changes to remove mentions of QT4
2015-07-07 18:00:43 +02:00
Sébastien Loriot
89184387d6
remove no longer needed QT4 cmake scripts
2015-07-07 18:00:43 +02:00
Laurent Rineau
99f8b0d80e
Allow to find QGLViewer-qt5 on Windows too
2015-07-06 17:29:39 +02:00
Philipp Möller
33a1fdbcbc
Replace CGAL_LIBRARY with the actual CGAL target
...
The variable CGAL_LIBRARY is no longer defined within the build as it is
completely unnecessary and using the actual target allows more features.
2015-07-03 12:30:23 +02:00
Maxime Gimeno
a0e7a60973
Merge remote-tracking branch 'cgal/master' into CGAL-Qt5_support-GF
...
Conflicts:
Alpha_shapes_3/demo/Alpha_shapes_3/CMakeLists.txt
Alpha_shapes_3/demo/Alpha_shapes_3/MainWindow.cpp
Alpha_shapes_3/demo/Alpha_shapes_3/Viewer.h
GraphicsView/demo/Alpha_shapes_2/CMakeLists.txt
GraphicsView/demo/Apollonius_graph_2/CMakeLists.txt
GraphicsView/demo/Bounding_volumes/CMakeLists.txt
GraphicsView/demo/Circular_kernel_2/CMakeLists.txt
GraphicsView/demo/Generator/CMakeLists.txt
GraphicsView/demo/GraphicsView/CMakeLists.txt
GraphicsView/demo/L1_Voronoi_diagram_2/CMakeLists.txt
GraphicsView/demo/Largest_empty_rect_2/CMakeLists.txt
GraphicsView/demo/Periodic_2_triangulation_2/CMakeLists.txt
GraphicsView/demo/Segment_Delaunay_graph_2/CMakeLists.txt
GraphicsView/demo/Snap_rounding_2/CMakeLists.txt
GraphicsView/demo/Spatial_searching_2/CMakeLists.txt
GraphicsView/demo/Stream_lines_2/CMakeLists.txt
GraphicsView/demo/Triangulation_2/CMakeLists.txt
Linear_cell_complex/demo/Linear_cell_complex/CMakeLists.txt
Mesh_3/demo/Mesh_3/CMakeLists.txt
Mesh_3/demo/Mesh_3/include/CGAL_demo/Scene_item_with_display_list.h
Mesh_3/demo/Mesh_3/src/CGAL_demo/Scene.cpp
Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3/CMakeLists.txt
Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3/Scene.cpp
Polyhedron/demo/Polyhedron/CMakeLists.txt
Polyhedron/demo/Polyhedron/Polyhedron_demo_join_and_split_polyhedra_plugin.cpp
Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin.cpp
Polyhedron/demo/Polyhedron/Polyhedron_demo_trivial_plugin.cpp
Polyhedron/demo/Polyhedron/Scene.cpp
Polyhedron/demo/Polyhedron/Scene_combinatorial_map_item.h
Polyhedron/demo/Polyhedron/Scene_implicit_function_item.h
Polyhedron/demo/Polyhedron/Scene_plane_item.h
Polyhedron/demo/Polyhedron/Scene_polygon_soup_item.cpp
Polyhedron/demo/Polyhedron/Scene_polyhedron_item.cpp
Polyhedron/demo/Polyhedron/Scene_polyhedron_item.h
Polyhedron/demo/Polyhedron/Scene_polyhedron_transform_item.h
Polyhedron/demo/Polyhedron/Scene_polylines_item.h
Polyline_simplification_2/demo/Polyline_simplification_2/CMakeLists.txt
Surface_mesher/demo/Surface_mesher/CMakeLists.txt
Triangulation_3/demo/Triangulation_3/CMakeLists.txt
Triangulation_3/demo/Triangulation_3/MainWindow.cpp
2015-06-30 09:17:26 +02:00
Philipp Möller
e7a6f80f05
Check for MSVC when defining library paths
...
We do not know the value of CGAL_AUTO_LINK_ENABLED yet because it is
defined by CGAL_GeneratorSpecificSettings.cmake but this is
equivalent. This is also not a problem, because CGAL_AUTO_LINK_ENABLED
is not user-editable and always enabled on MSVC.
2015-06-24 17:21:37 +02:00
Philipp Möller
8b6acec1b3
Use the LOCATION property to set _LIBRARY variables
...
Inspect the imported targets for information instead of using
configure_file.
2015-06-23 17:59:48 +02:00
Philipp Möller
9e807d8e2d
Include the export files through CGALConfig
2015-06-23 16:30:46 +02:00
Maxime Gimeno
7f3d6e35c5
Merging and integration of Polyhedron_Demo
...
- The Splatting has been deactivated
- The Scene_item class has a new member of type QOpenGLFunctions, allowing to use all shader functions without need for GLEW
2015-04-27 14:51:48 +02:00
Maxime Gimeno
ed3298ee2f
Merge branch 'Polyhedron-new_opengl_REBASED_to_ignore_reindentations-gf' into CGAL-Qt5_support-GF
...
Conflicts:
Polyhedron/demo/Polyhedron/CMakeLists.txt
Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin.cpp
Polyhedron/demo/Polyhedron/Polyhedron_demo_mesh_3_plugin_cgal_code.cpp
Polyhedron/demo/Polyhedron/Polyhedron_demo_selection_plugin.cpp
Polyhedron/demo/Polyhedron/Polyhedron_demo_trivial_plugin.cpp
Polyhedron/demo/Polyhedron/Scene.cpp
2015-04-27 08:50:06 +02:00
Maxime Gimeno
89348a1ab9
cut_plugin fixed
...
- replaced the missing modified files by the originals
- added a reference to a vector of floats in traits so that it fills it instead of drawing the bboxes
2015-04-24 15:59:23 +02:00
Laurent Rineau
4a7a614e5d
Allow to find QGLViewer-qt5_
...
Conflicts:
Installation/cmake/modules/FindQGLViewer.cmake
2015-04-03 12:35:37 +02:00
Laurent Rineau
4eef28be7e
Minimal version of Boost: 1.48
2015-04-01 17:31:17 +02:00
Laurent Rineau
7d4da6aee2
Add new additional versions of Boost (up to 1.69)
2015-04-01 17:28:30 +02:00
Maxime Gimeno
fa430e5fc0
WORK IN PROGRESS
2015-03-31 11:05:17 +02:00
Maxime Gimeno
8b3cca50a0
Modifying to Qt5
2015-03-31 10:22:21 +02:00
Maxime Gimeno
040458d248
Update of all the CMakeList and .cmake files for Qt5
...
Reasy for merging the cpp files from clone qt5
2015-03-30 15:34:17 +02:00
Laurent Rineau
fd2026a044
Find TBB first with NO_DEFAULT_PATH
...
With default CMake paths, the TBB installed in /usr/{include/,lib64/} is
found, whatever there is in TBB environment variables. If the search
with NO_DEFAULT_PATH does not find TBB, then the search is made again
with default paths.
2015-01-15 14:39:31 +01:00
Laurent Rineau
8231a36e89
Add Boost_DEBUG as an advanced OPTION
2014-11-28 12:09:14 +01:00
Laurent Rineau
da77e0d819
Name of leda_numbers of Windows
...
Trivial fix for master
(cherry picked from commit 601d05d717edead7ea8396a0f723b715bbd9bdc6)
2014-07-21 14:00:59 +02:00
Sébastien Loriot
25f74f2a74
LEDA library numbers has been renamed to leda_numbers
...
trivial bugfix for master
2014-07-18 16:04:27 +02:00
Clement Jamin
fbf824c711
Merge branch 'Mesh_3-parallel-cjamin'
...
This branch introduces parallel algorithms in Triangulation_3 and Mesh_3,
as well as a Concurrent_compact_container. The corresponding features are:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Parallel_triangulation_3
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Parallel_Mesh_3
Tested in CGAL-4.5-Ic-98.
Approved by the Release Manager.
2014-07-17 19:08:24 +02:00
Laurent Rineau
b6aeb7cc66
Store CGAL_DISABLE_GMP in CGALConfig.cmake...
...
... and use it in UseCGAL/CGAL_Macros, to avoid re-enabling GMP by
error.
2014-07-09 15:39:44 +02:00
Laurent Rineau
0f5fc963b4
Support QUIETLY in FindTBB.cmake
2014-07-09 15:36:25 +02:00
Sébastien Loriot
2aadba50d7
Merge branch 'BGL-redesign_final-GF'
...
Introduces a redesign of the CGAL extension of the BGL API
Successfully tested in CGAL-4.5-Ic-90
Approved by the Release Manager
Conflicts:
Surface_mesh_segmentation/test/Surface_mesh_segmentation/test_compute_sdf_values_and_segment_exact_rational.cpp
2014-07-08 19:45:16 +02:00
Sébastien Loriot
ec9c796552
remove exe flag
2014-07-04 17:24:06 +02:00
Laurent Rineau
a25bc04512
On Fedora, users of TBB may need pthread
2014-07-03 18:45:36 +02:00
Laurent Rineau
b9cd9d198c
LEDA_INC_DIR is a PATH, not a FILEPATH
2014-07-02 14:16:21 +02:00
Laurent Rineau
7e4607f77b
Minor modifications
...
- less verbose
- support libraries in a subdirectory lib/ of the LEDA directory.
2014-06-26 16:57:54 +02:00
Laurent Rineau
2eef30914a
Support libnumber.so
2014-06-26 16:57:36 +02:00
Laurent Rineau
460bbdfc8b
Hide those variables from the CMake GUI
2014-06-26 16:57:12 +02:00
Sébastien Loriot
0230e979e2
Merge branch 'CGAL-use_leda-GF-OLD' into CGAL-use_leda-GF
...
Conflicts:
Arrangement_on_surface_2/test/Arrangement_on_surface_2/construction_test_suite_generator.cpp
Arrangement_on_surface_2/test/Arrangement_on_surface_2/test_construction.cpp
Documentation/doc/Installation.txt
Kernel_23/include/CGAL/Exact_predicates_exact_constructions_kernel.h
2014-06-18 22:50:06 +02:00
Andreas Fabri
4c8f452a78
Add {Find/Use}Openmesh.cmake and fix the CMakeLists.txt
2014-06-11 12:13:50 +02:00
Laurent Rineau
22804c5aa2
Remove trailing whitespace
2014-02-12 09:49:57 +01:00
Laurent Rineau
d537497b88
Fix a typo
2014-02-12 09:49:13 +01:00
Laurent Rineau
909691f77c
Add support for VC12 (and VC13)
2014-02-11 16:18:39 +01:00
Andreas Fabri
2860662f77
Merge branch 'Installation-visual_leak_detector-lrineauTMP' into Installation-visual_leak_detector-lrineau
2013-11-19 14:46:39 +01:00
Laurent Rineau
151844059a
Fix a typo (found by Mael)
2013-10-29 16:19:15 +01:00
Laurent Rineau
9211e0eb2a
Sort of bug-fix: unhide an important CMake variable
2013-09-16 14:30:06 +02:00
Andreas Fabri
78a3de4955
Search for taucs.h and not for the directory auxiliary/taucs/include
...
This leads to false positives
(cherry picked from commit a5d9d001aa995c4a66d73a40cbc6a1a22b795d4d)
Message added by Laurent Rineau:
that commit was tested in CGAL-4.3-Ic-168
2013-09-12 12:01:39 +02:00
Laurent Rineau
ea6e24200c
Allow the use of Visual Leak Detector
...
See the small feature [[Small features/Visual_Leak_Detector]] in CGAL
developers wiki:
https://cgal.geometryfactory.com/CGAL/Members/wiki/Features/Small_Features/Visual_Leak_Detector
See also:
http://vld.codeplex.com/
2013-09-11 12:25:01 +02:00
Laurent Rineau
85eeaca873
Link with the CGAL *target* we possible (instead of linking with the library)
...
That is a late follow-up to the following commit:
| commit 12744ab7ff
| Author: Laurent Rineau <Laurent.Rineau__CGAL@normalesup.org>
| Date: Thu Apr 28 13:11:09 2011 +0000
|
| Track dependencies between libraries and examples/demos
|
| With this patch, when CGAL as been configured with WITH_examples and/or
| WITH_demos, then the executables of examples and demos depends on the CGAL
| libraries. That means if one change a file involved in a CGAL library, and
| ask the rebuild of an executable, then the CGAL library will be rebuilt
| first.
|
| Notes:
| r63187 branches/next
Or maybe the bug was re-introduced by recent modifications of our CMake
scripts.
2013-08-20 15:45:29 +02:00
Laurent Rineau
e724c1f519
Fix end-of-lines and end-of-files
2013-07-04 11:51:23 +02:00
Clement Jamin
8b0edee1f4
Merge branch 'concurrency_in_cgal-cjamin-old' into concurrency_in_cgal-cjamin
2013-07-03 17:17:34 +02:00
Clement Jamin
4d0c6a6bb0
Better FindTBB.cmake which works even if the debug version is not found
...
If the debug versions are not found, the release versions will be used instead
for the debug mode.
If the tbb_malloc library is not found, doesn't link with it.
2013-07-03 16:48:10 +02:00
Clement Jamin
9c57c17a34
Bugfix for TBB_LIBRARY_DIRS
2013-07-03 12:28:50 +02:00
Clement Jamin
3dfb28141f
Mark TBB_MALLOCPROXY_XXX_LIBRARY as advanced in CMake
2013-06-28 17:55:12 +02:00
Clement Jamin
da77b4d879
Correct FindTBB.cmake + add a UseTBB.cmake
2013-06-27 16:50:55 +02:00
Clement Jamin
90d0125741
Improved FindTBB.cmake
...
- Untabified
- Does not link with the TBB mallow proxy anymore, but set
TBB_MALLOCPROXY_DEBUG_LIBRARY and TBB_MALLOCPROXY_RELEASE_LIBRARY
so that a user can still link with it if necessary
Note: the malloc proxy is not available on MacOS.
- Calls include_directories ( ${TBB_INCLUDE_DIRS} ) and
link_directories( ${TBB_LIBRARY_DIRS} ) to set paths
2013-06-27 15:54:39 +02:00
Laurent Rineau
723a257a73
Merge branch 'Installation-tweak_FindEigen-lrineau'
2013-04-26 15:40:54 +02:00
Laurent Rineau
bf39cc5e7c
Add new names for leda libraries in FindLEDA.cmake
...
Under Windows, the libraries can be named leda_md and leda_mdd (debug).
2013-04-25 11:01:45 +02:00
Laurent Rineau
c6c0a606ce
Remove the variable Boost_DIR from the CMake cache
...
The CMake module FindBoost.cmake searchs for Boost first in the "Config
mode" of 'find_package'. That allows to find installation of boost-cmake
(that is Boost configured using CMake). That configuration of Boost is
rather rare. But the search for it leaves a variable Boost_DIR=NOTFOUND in
the cache, even if Boost libraries are found using the regular way.
That patch removes from the cache the variable Boost_DIR, when Boost is
already found, to avoid more confusion for users.
2013-03-18 16:17:04 +01:00
Laurent Rineau
92f464232a
Allow to add CGAL_DISABLE_GMP lately in the cache
2013-03-15 16:39:59 +01:00
Andreas Fabri
02bb200fe5
Add a CMake variable that allows to disable GMP/MPFR
2013-03-15 14:11:34 +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
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
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
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
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
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
Philipp Möller
3d253a0edd
Add CGAL_GIT_HASH and provide defaults for all variables
2012-11-15 13:20:37 +01:00
Eric Berberich
ddd4ca95da
fix if git dir is already given dir
2012-11-13 16:20:07 +01:00
Eric Berberich
03ac16f071
whitespace for git
2012-10-23 23:27:34 +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
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
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
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
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
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
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
Eric Berberich
80616feea6
added missing $ to copy content of variable
2012-08-20 08:10:20 +00:00
Laurent Rineau
640c7355ec
Fix: was no longer working in out-of-source build!
2012-08-06 13:21:07 +00:00