mirror of https://github.com/CGAL/cgal
Add CMakeLists.txt
This commit is contained in:
parent
47222ee5f0
commit
d7aac6f7e4
|
|
@ -1,72 +0,0 @@
|
|||
# Created by the script cgal_create_makefile
|
||||
# This is the makefile for compiling a CGAL application.
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# include platform specific settings
|
||||
#---------------------------------------------------------------------#
|
||||
# Choose the right include file from the <cgalroot>/make directory.
|
||||
|
||||
# CGAL_MAKEFILE = ENTER_YOUR_INCLUDE_MAKEFILE_HERE
|
||||
include $(CGAL_MAKEFILE)
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# compiler flags
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
CXXFLAGS = -I../../../include/ \
|
||||
$(CGAL_CXXFLAGS) \
|
||||
$(LONG_NAME_PROBLEM_CXXFLAGS) \
|
||||
$(DEBUG_OPT)
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# linker flags
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
LIBPATH = \
|
||||
$(CGAL_LIBPATH)
|
||||
|
||||
LDFLAGS = \
|
||||
$(LONG_NAME_PROBLEM_LDFLAGS) \
|
||||
$(CGAL_LDFLAGS) \
|
||||
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# target entries
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
all: convex_hull_2
|
||||
|
||||
Qt_widget_toolbar$(OBJ_EXT): Qt_widget_toolbar.cpp Qt_widget_toolbar.moc
|
||||
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) Qt_widget_toolbar.cpp
|
||||
|
||||
Qt_widget_toolbar.moc: Qt_widget_toolbar.h
|
||||
$(QT_MOC) -o Qt_widget_toolbar.moc Qt_widget_toolbar.h
|
||||
|
||||
Qt_widget_move_list_point$(OBJ_EXT): Qt_widget_move_list_point.moc \
|
||||
Qt_widget_move_list_point.cpp
|
||||
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) Qt_widget_move_list_point.cpp
|
||||
Qt_widget_move_list_point.moc: Qt_widget_move_list_point.h
|
||||
$(QT_MOC) -o Qt_widget_move_list_point.moc Qt_widget_move_list_point.h
|
||||
|
||||
convex_hull_2.moc: convex_hull_2.cpp Qt_widget_toolbar$(OBJ_EXT)
|
||||
${QT_MOC} -o convex_hull_2.moc convex_hull_2.cpp
|
||||
|
||||
convex_hull_2$(OBJ_EXT): convex_hull_2.cpp convex_hull_2.moc
|
||||
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) convex_hull_2.cpp
|
||||
|
||||
convex_hull_2$(EXE_EXT): convex_hull_2$(OBJ_EXT) \
|
||||
Qt_widget_move_list_point$(OBJ_EXT)
|
||||
$(CGAL_CXX) $(EXE_OPT)convex_hull_2 convex_hull_2$(OBJ_EXT) \
|
||||
Qt_widget_toolbar$(OBJ_EXT) Qt_widget_move_list_point$(OBJ_EXT) \
|
||||
$(LDFLAGS)
|
||||
|
||||
clean: convex_hull_2.clean \
|
||||
Qt_widget_toolbar.clean \
|
||||
Qt_widget_move_list_point.clean
|
||||
|
||||
#---------------------------------------------------------------------#
|
||||
# suffix rules
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
.cpp$(OBJ_EXT):
|
||||
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $<
|
||||
Loading…
Reference in New Issue