Commit Graph

43 Commits

Author SHA1 Message Date
Laurent Rineau 9cbfcee84f Merge branch 'master' into CGAL-Exact_algebraic-GF 2019-05-13 18:11:00 +02:00
Andreas Fabri ca301e95a9 The divide is only needed for drawing purposes so we call to_double
in case the number type is a ring type
2019-05-03 12:13:50 +02:00
Sebastien Loriot c27e27d8ea
Merge pull request #3853 from afabri/CGAL-cleanup_CMakeLists-GF
CMakeLists.txt: Remove unnecessary include directories
2019-04-29 14:30:13 +02:00
Maxime Gimeno 8860f12b25 Use automoc as much as possible 2019-04-18 16:11:08 +02:00
Maxime Gimeno 422cd589c1 Add missing includes to get BOOST_VERSION and BOOST_GCC 2019-04-03 10:27:55 +02:00
Maxime Gimeno e107612c31 Fix pre processor test 2019-01-10 08:54:49 +01:00
Maxime Gimeno 743569f854 Also disable WKT if gcc version is <4.5 2019-01-09 16:32:08 +01:00
Maxime Gimeno 3b1b6e2401 Merge remote-tracking branch 'cgal/master' into Graphics_view-Fix_demo_IO-GF 2019-01-09 12:35:04 +01:00
Maxime Gimeno d6cfa1a868 Fix CMake warnings about CMP for Visual 2017 2018-11-21 16:17:39 +01:00
Maxime Gimeno 080f63b1b8 Disable WKT for boost < 1.56 2018-11-07 11:58:50 +01:00
Guillaume Damiand ef771d0f97 Re-add include({CGAL_USE_FILE}) is demo with core or image io, and set(CMAKE_INCLUDE_CURRENT_DIR ON) in others. 2018-10-19 09:51:14 +02:00
Guillaume Damiand 0bd9088b5a Remove all include( ) and include( CGAL_CreateSingleSourceCGALProgram ) in CMakeLists.txt; they are no more required. 2018-10-17 14:17:08 +02:00
Guillaume Damiand 7f09308d33 Remove all include_directories(BEFORE ../../include) in CMakeLists.txt 2018-10-17 13:07:22 +02:00
Maxime Gimeno 76bd923003 Change expected extension for polygon type. 2018-05-15 10:04:24 +02:00
Maxime Gimeno 0d9f89cfbd Reset fstreams with code that is valid even without c++11 2018-05-15 10:04:23 +02:00
Maxime Gimeno df980abff6 Add WKT IO to 2D demos and add saving to stream_lines_2_demo
Also adds traits for Point_3 to be able to interract with weighted points through them.
2018-05-15 10:04:23 +02:00
Maxime Gimeno d7905547e9 final poly fixes 2018-05-15 10:00:47 +02:00
Maxime Gimeno 80c7ddd254 change fake poly format to .polygon.cgal 2018-05-15 10:00:47 +02:00
Sébastien Loriot 01af331c72 use https for all links to www.cgal.org and doc.cgal.org 2018-03-14 15:59:38 +01:00
Laurent Rineau 25dffa1710 Modern usage of Qt5 CMake scripts, to allow CMAKE_WARN_DEPRECATED 2017-11-17 12:54:13 +01:00
Laurent Rineau bbee705221 Add compilation tests for demos 2017-11-16 18:38:15 +01:00
Laurent Rineau 62c70d41ca Renew the handle of policies, for CMake-3.10
Now that we require CMake>=3.1, we can forget a lot of old CMake policies.

`CMP0053` `OLD` behavior is still needed, because of a bug in Qt5 CMake files, but it will
not be set with CMake>=3.10. Let's assume that a recent CMake version means
a recent Qt5 version.
2017-11-06 14:58:36 +01:00
Maxime Gimeno 5ae96fc2aa Explicitely set the policy of CMP0053 to OLD to silent the warning when it is not found. 2017-05-23 16:12:56 +02:00
Sébastien Loriot e78bef8a9c update project name of demos 2016-09-08 00:13:34 +02:00
Clement Jamin f2c68b25cd Update CMakeLists.txt of all demos for header-only mode 2016-03-09 17:23:20 +01:00
Laurent Rineau 39ab917ad8 Remove on_actionSaveConstraints_triggered
The action was:
  - not implemented
  - not connected to any slot.
2015-08-03 17:42:53 +02:00
Andreas Fabri f864b0a8e8 fix line width in demos using GraphicsView 2015-07-28 15:46:11 +02:00
Laurent Rineau 04db43556f Do not warn when Qt5 is not found. 2015-07-13 15:55:41 +02:00
Andreas Fabri 2dfa5608c4 fix policy; remove button; fix about 2015-07-10 13:53:56 +02:00
Andreas Fabri 039860653a the demo now compiles with QT5 2015-07-10 13:20:09 +02:00
Panagiotis Cheilaris 3e89ca702d sdglinf demo avoid Site_2 warning 2015-06-30 10:32:10 +02:00
Panagiotis Cheilaris 3d8cc0637f sdglinf CMakeLists fixes from sdgl2 2015-06-30 10:32:10 +02:00
Panagiotis Cheilaris 9d24a3e5c4 sdglinf demo Q_EMIT use etc. 2015-06-30 10:32:09 +02:00
Panagiotis Cheilaris 498fd2cec1 rename demo program for sdglinf 2015-06-30 10:32:09 +02:00
Panagiotis Cheilaris bdcf40c753 remove sdglinf hv from GUI demo
Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
2015-06-30 10:32:08 +02:00
Panagiotis Cheilaris 201de50a9b SDG Linf demo correct types
Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
2015-06-30 10:31:56 +02:00
Panagiotis Cheilaris 8de904afd7 put CGAL_SDG_DEBUG definition in SDG Linf basic.h
Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
2015-06-30 10:31:55 +02:00
Panagiotis Cheilaris 0053b81513 show command line argument file name in status bar
Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
2015-06-30 10:31:49 +02:00
Panagiotis Cheilaris c4c5e451ab support input of one-point polygons in demo
Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
2015-06-30 10:31:25 +02:00
Panagiotis Cheilaris 591e821e01 print mouse input points and segments
Signed-off-by: Panagiotis Cheilaris <philaris@cs.ntua.gr>
2015-06-30 10:31:16 +02:00
Panagiotis Cheilaris 507dc07909 set default to no verbose messages
Here is a way to activate verbose debug messages from command line:

cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-DCGAL_SDG_VERBOSE" .

To go back to no verbose messages, use:

cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_CXX_FLAGS="" .
2015-06-30 10:31:02 +02:00
Panagiotis Cheilaris d067815b89 new CMakeLists.txt includes for ipelets and demos 2015-06-30 10:31:01 +02:00
Panagiotis Cheilaris b4236a0f1f renames to be like formal CGAL repository
I have only kept in an include directory at the root
the change in arrangement point location.

This change also requires to use some special local
includes in CMakeLists.txt files. I will do it in a
subsequent commit.
2015-06-30 10:31:01 +02:00