Rename everything from .cc to .cpp to match other projects

This commit is contained in:
Eric Fischer 2016-04-27 12:22:47 -07:00
parent 8c7ac58ba1
commit b12413eddb
9 changed files with 10 additions and 10 deletions

View File

@ -39,7 +39,7 @@ matrix:
install: install:
- BUILDTYPE=${BUILDTYPE} make - BUILDTYPE=${BUILDTYPE} make -j
script: script:
- BUILDTYPE=${BUILDTYPE} make test - BUILDTYPE=${BUILDTYPE} make test

View File

@ -36,8 +36,8 @@ man/tippecanoe.1: README.md
PG= PG=
H = $(shell find . '(' -name '*.h' -o -name '*.hh' ')') H = $(shell find . '(' -name '*.h' -o -name '*.hpp' ')')
C = $(shell find . '(' -name '*.c' -o -name '*.cc' ')') C = $(shell find . '(' -name '*.c' -o -name '*.cpp' ')')
INCLUDES = -I/usr/local/include -I. INCLUDES = -I/usr/local/include -I.
LIBS = -L/usr/local/lib LIBS = -L/usr/local/lib
@ -61,7 +61,7 @@ libjsonpull.a: jsonpull.o
%.o: %.c $(H) %.o: %.c $(H)
$(CC) $(PG) $(INCLUDES) $(FINAL_FLAGS) $(CFLAGS) -c $< $(CC) $(PG) $(INCLUDES) $(FINAL_FLAGS) $(CFLAGS) -c $<
%.o: %.cc $(H) %.o: %.cpp $(H)
$(CXX) $(PG) $(INCLUDES) $(FINAL_FLAGS) $(CXXFLAGS) -c $< $(CXX) $(PG) $(INCLUDES) $(FINAL_FLAGS) $(CXXFLAGS) -c $<
clean: clean:

View File

@ -11,7 +11,7 @@
#include <fcntl.h> #include <fcntl.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/mman.h> #include <sys/mman.h>
#include "mvt.hh" #include "mvt.hpp"
#include "tile.h" #include "tile.h"
extern "C" { extern "C" {

View File

@ -8,7 +8,7 @@
#include <unistd.h> #include <unistd.h>
#include <cmath> #include <cmath>
#include <limits.h> #include <limits.h>
#include "geometry.hh" #include "geometry.hpp"
#include "clipper/clipper.hpp" #include "clipper/clipper.hpp"
extern "C" { extern "C" {

View File

@ -4,7 +4,7 @@
#include <vector> #include <vector>
#include <map> #include <map>
#include <zlib.h> #include <zlib.h>
#include "mvt.hh" #include "mvt.hpp"
#include "protozero/varint.hpp" #include "protozero/varint.hpp"
#include "protozero/pbf_reader.hpp" #include "protozero/pbf_reader.hpp"
#include "protozero/pbf_writer.hpp" #include "protozero/pbf_writer.hpp"

View File

View File

@ -9,7 +9,7 @@
#include <map> #include <map>
#include <zlib.h> #include <zlib.h>
#include <math.h> #include <math.h>
#include "mvt.hh" #include "mvt.hpp"
#include "tile.h" #include "tile.h"
extern "C" { extern "C" {

View File

@ -19,8 +19,8 @@
#include <sqlite3.h> #include <sqlite3.h>
#include <pthread.h> #include <pthread.h>
#include <errno.h> #include <errno.h>
#include "mvt.hh" #include "mvt.hpp"
#include "geometry.hh" #include "geometry.hpp"
extern "C" { extern "C" {
#include "tile.h" #include "tile.h"