mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-01-21 12:05:05 +00:00
Rename everything from .cc to .cpp to match other projects
This commit is contained in:
parent
8c7ac58ba1
commit
b12413eddb
@ -39,7 +39,7 @@ matrix:
|
||||
|
||||
|
||||
install:
|
||||
- BUILDTYPE=${BUILDTYPE} make
|
||||
- BUILDTYPE=${BUILDTYPE} make -j
|
||||
|
||||
script:
|
||||
- BUILDTYPE=${BUILDTYPE} make test
|
||||
|
6
Makefile
6
Makefile
@ -36,8 +36,8 @@ man/tippecanoe.1: README.md
|
||||
|
||||
PG=
|
||||
|
||||
H = $(shell find . '(' -name '*.h' -o -name '*.hh' ')')
|
||||
C = $(shell find . '(' -name '*.c' -o -name '*.cc' ')')
|
||||
H = $(shell find . '(' -name '*.h' -o -name '*.hpp' ')')
|
||||
C = $(shell find . '(' -name '*.c' -o -name '*.cpp' ')')
|
||||
|
||||
INCLUDES = -I/usr/local/include -I.
|
||||
LIBS = -L/usr/local/lib
|
||||
@ -61,7 +61,7 @@ libjsonpull.a: jsonpull.o
|
||||
%.o: %.c $(H)
|
||||
$(CC) $(PG) $(INCLUDES) $(FINAL_FLAGS) $(CFLAGS) -c $<
|
||||
|
||||
%.o: %.cc $(H)
|
||||
%.o: %.cpp $(H)
|
||||
$(CXX) $(PG) $(INCLUDES) $(FINAL_FLAGS) $(CXXFLAGS) -c $<
|
||||
|
||||
clean:
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
||||
#include "mvt.hh"
|
||||
#include "mvt.hpp"
|
||||
#include "tile.h"
|
||||
|
||||
extern "C" {
|
@ -8,7 +8,7 @@
|
||||
#include <unistd.h>
|
||||
#include <cmath>
|
||||
#include <limits.h>
|
||||
#include "geometry.hh"
|
||||
#include "geometry.hpp"
|
||||
#include "clipper/clipper.hpp"
|
||||
|
||||
extern "C" {
|
@ -4,7 +4,7 @@
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <zlib.h>
|
||||
#include "mvt.hh"
|
||||
#include "mvt.hpp"
|
||||
#include "protozero/varint.hpp"
|
||||
#include "protozero/pbf_reader.hpp"
|
||||
#include "protozero/pbf_writer.hpp"
|
@ -9,7 +9,7 @@
|
||||
#include <map>
|
||||
#include <zlib.h>
|
||||
#include <math.h>
|
||||
#include "mvt.hh"
|
||||
#include "mvt.hpp"
|
||||
#include "tile.h"
|
||||
|
||||
extern "C" {
|
@ -19,8 +19,8 @@
|
||||
#include <sqlite3.h>
|
||||
#include <pthread.h>
|
||||
#include <errno.h>
|
||||
#include "mvt.hh"
|
||||
#include "geometry.hh"
|
||||
#include "mvt.hpp"
|
||||
#include "geometry.hpp"
|
||||
|
||||
extern "C" {
|
||||
#include "tile.h"
|
Loading…
Reference in New Issue
Block a user