mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-04-27 06:20:04 +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:
|
install:
|
||||||
- BUILDTYPE=${BUILDTYPE} make
|
- BUILDTYPE=${BUILDTYPE} make -j
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- BUILDTYPE=${BUILDTYPE} make test
|
- BUILDTYPE=${BUILDTYPE} make test
|
||||||
|
6
Makefile
6
Makefile
@ -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:
|
||||||
|
@ -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" {
|
@ -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" {
|
@ -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"
|
@ -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" {
|
@ -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"
|
Loading…
x
Reference in New Issue
Block a user