mirror of https://github.com/CGAL/cgal
changed .C to .cpp in examples
This commit is contained in:
parent
8268f14f3d
commit
bbb64661bd
|
|
@ -36,17 +36,17 @@ LDFLAGS = \
|
|||
|
||||
all: nef_2
|
||||
|
||||
Qt_widget_toolbar$(OBJ_EXT): Qt_widget_toolbar.C Qt_widget_toolbar.moc
|
||||
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) Qt_widget_toolbar.C
|
||||
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
|
||||
|
||||
nef_2.moc: nef_2.C
|
||||
${QT_MOC} -o nef_2.moc nef_2.C
|
||||
nef_2.moc: nef_2.cpp
|
||||
${QT_MOC} -o nef_2.moc nef_2.cpp
|
||||
|
||||
nef_2$(OBJ_EXT): nef_2.C nef_2.moc
|
||||
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) nef_2.C
|
||||
nef_2$(OBJ_EXT): nef_2.cpp nef_2.moc
|
||||
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) nef_2.cpp
|
||||
|
||||
nef_2$(EXE_EXT): nef_2$(OBJ_EXT) Qt_widget_toolbar$(OBJ_EXT)
|
||||
$(CGAL_CXX) $(EXE_OPT)nef_2 nef_2$(OBJ_EXT) \
|
||||
|
|
@ -61,5 +61,5 @@ clean: nef_2.clean \
|
|||
# suffix rules
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
.C$(OBJ_EXT):
|
||||
.cpp$(OBJ_EXT):
|
||||
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $<
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ standard two-dimensional CGAL kernel (\ccc{CGAL::Point_2<K>}
|
|||
and \ccc{CGAL::Line_2<K>}). Their user interface is thus defined in
|
||||
the corresponding reference pages.
|
||||
|
||||
\ccIncludeExampleCode{Nef_2/construction.C}
|
||||
\ccIncludeExampleCode{Nef_2/construction.cpp}
|
||||
|
||||
Planar halfspaces (as used in the definition) are modelled by oriented
|
||||
lines. In the previous example \ccc{N1} is the Nef polyhedron
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ where \ccc{NT} is a field type, and finally
|
|||
first). The following example uses the filtered homogeneous kernel to
|
||||
construct the intersection of two halfspaces.
|
||||
|
||||
\ccIncludeExampleCode{Nef_2/simple_intersection.C}
|
||||
\ccIncludeExampleCode{Nef_2/simple_intersection.cpp}
|
||||
|
||||
After line (*) \ccc{N3} is the intersection of \ccc{N1} and \ccc{N2}.
|
||||
The member types of \ccc{Nef_polyhedron_2< Extended_homogeneous<NT> >}
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ clean: \
|
|||
# suffix rules
|
||||
#---------------------------------------------------------------------#
|
||||
|
||||
.C$(OBJ_EXT):
|
||||
.cpp$(OBJ_EXT):
|
||||
$(CGAL_CXX) $(CXXFLAGS) $(OBJ_OPT) $<
|
||||
|
||||
.cpp$(OBJ_EXT):
|
||||
|
|
|
|||
Loading…
Reference in New Issue