For resources that are shipped by the CGAL_Qt4 library, one need to call
CGAL_QT4_INIT_RESOURCES, a macro that calls CGAL_Qt4_init_resources
(exported by the CGAL_Qt4 DLL)
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
*Add non-sparse matrix class (thus renamimg of the existing one)
*specialisation of the matrix class in Eigen_solver_traits according
whether this is a symmetric or asymmetric matrix
*update use-files of lapack and Taucs to get definitions
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)