mirror of https://github.com/CGAL/cgal
demo/Alpha_shapes_2 is now compilable using cmake.
As a matter of fact, that will break non-cmake testsuite (because of
This commit is contained in:
parent
21280436c2
commit
522bb37c34
|
|
@ -7,9 +7,10 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5)
|
|||
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
||||
|
||||
find_package(CGAL REQUIRED Qt3 )
|
||||
|
||||
include( ${CGAL_USE_FILE} )
|
||||
|
||||
find_package(Qt3 REQUIRED)
|
||||
|
||||
# use the Qt MOC preprocessor on classes that derives from QObject
|
||||
include( Qt3Macros )
|
||||
qt3_generate_moc( Qt_widget_move_point.h Qt_widget_move_point.moc )
|
||||
|
|
@ -20,6 +21,7 @@ qt3_generate_moc( alpha_shapes_2.cpp alpha_shapes_2.moc )
|
|||
|
||||
# The executable itself.
|
||||
add_executable ( alpha_shapes_2
|
||||
alpha_shapes_2.cpp alpha_shapes_2.moc
|
||||
Qt_widget_move_point.cpp Qt_widget_move_point.moc
|
||||
Qt_widget_toolbar.cpp Qt_widget_toolbar.moc
|
||||
Qt_widget_toolbar_layers.cpp Qt_widget_toolbar_layers.moc )
|
||||
|
|
|
|||
|
|
@ -20,8 +20,6 @@
|
|||
|
||||
#include <CGAL/basic.h>
|
||||
|
||||
#ifdef CGAL_USE_QT
|
||||
|
||||
#include "Qt_widget_move_point.h"
|
||||
|
||||
void Qt_widget_movepoint_helper::delete_point() { delete_pointi(); };
|
||||
|
|
@ -33,5 +31,3 @@ void Qt_widget_movepoint_helper::stateChanged(int i){
|
|||
deactivate();
|
||||
}
|
||||
#include "Qt_widget_move_point.moc"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -19,8 +19,6 @@
|
|||
|
||||
#include <CGAL/basic.h>
|
||||
|
||||
#ifdef CGAL_USE_QT
|
||||
|
||||
#include <CGAL/IO/Qt_widget.h>
|
||||
#include "Qt_widget_toolbar.h"
|
||||
|
||||
|
|
@ -82,5 +80,3 @@ Tools_toolbar::Tools_toolbar(CGAL::Qt_widget *w, QMainWindow *mw,
|
|||
};
|
||||
|
||||
#include "Qt_widget_toolbar.moc"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -20,8 +20,6 @@
|
|||
|
||||
#include <CGAL/basic.h>
|
||||
|
||||
#ifdef CGAL_USE_QT
|
||||
|
||||
#include "Qt_widget_toolbar_layers.h"
|
||||
|
||||
// icons
|
||||
|
|
@ -179,4 +177,3 @@ Layers_toolbar::Layers_toolbar(CGAL::Qt_widget *w, QMainWindow *mw,
|
|||
|
||||
#include "Qt_widget_toolbar_layers.moc"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue