Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
That allows to build libCGAL_Qt4 and the Polyhedron demo with
-fvisibility-ms-compat on Linux.
That may allow to build CGAL_Qt4 as a DLL on Windows, one day.
Step 3 (bis): I forgot those small but important patches. The compilation
was OK. The run on Linux too, but there could have been runtime linking
errors on Windows, and subtle runtime issues (such as a missing draw
refresh).
Step 4:
- Update the MainWindow class, to use all the new possibilities of the
framework:
- multi-selection of items in the scene,
- activate the use of the items popup-menus.
- Add Qt Script possibilities.
- New actions in the "View" menu: "Look at", copy-paste of camera
positions, select background color.
- New action "Reload item", to reload an item if it was loaded from a
file.
Step 3:
- Update the API of the Scene and Viewer class (some methods are not yet used).
- Update the CMakeLists.txt, to compile all major classes of the
framework (Scene, Viewer, Scene_item) into a demo_framework library.
Step 2:
- Update the Scene_item class (a class from the framework):
- add the popup menu (not used at the moment),
- add the selection (not used).
- Update the Scene_polyhedron_item class.
- menu,
- picking.
Step 1:
- Polyhedron_type.h no longer defines Kernel and geometric
types. Kernel_type.h defines the EPIC kernel.
- Each plugin typedefs the geometric types it needs.
- Polyhedron defined in Polyhedron_type.h uses special "demo items":
- edges can be marked as "feature edge",
- facets have a "patch id" (an integer),
- and vertices have a set of patch ids.
Yesterday, I did a partial import of a patch from
/branches/experimental-packages/Mesh_3-protecting_balls-branch/Polyhedron/demo/Polyhedron/CMakeLists.txt
but my patch was wrong!
I should have tested!
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).
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)
| ------------------------------------------------------------------------
| r57979 | lrineau | 2010-08-11 15:24:20 +0200 (Wed, 11 Aug 2010) | 1 line
|
| Global fix of all uses of qt4_generate_moc: the destination file path must be absolute.
| ------------------------------------------------------------------------
| r58026 | stayeb | 2010-08-12 17:40:41 +0200 (Thu, 12 Aug 2010) | 2 lines
|
| Bug fix: ensure that c3t3 contains no in complex cell when starting a new refinement process. We need this because the first refinement of the surface does not update the volume, so c3t3 can't know that in complex cells have been deleted.
|
| ------------------------------------------------------------------------
(That shows it is difficult to avoid to merge the release branch in the
trunk from time to time.)