Remove symlink from osmpbf to src, use osmpbf directly
This commit is contained in:
parent
4195fe6557
commit
37adab91e5
|
|
@ -61,7 +61,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: ./.github/actions/install-ubuntu
|
- uses: ./.github/actions/install-ubuntu
|
||||||
- run: make -C src
|
- run: make -C osmpbf
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
|
||||||
4
build.sh
4
build.sh
|
|
@ -1,2 +1,2 @@
|
||||||
protoc --java_out=generated.java src/osmformat.proto
|
protoc --java_out=generated.java osmpbf/osmformat.proto
|
||||||
protoc --java_out=generated.java src/fileformat.proto
|
protoc --java_out=generated.java osmpbf/fileformat.proto
|
||||||
|
|
|
||||||
2
pom.xml
2
pom.xml
|
|
@ -70,7 +70,7 @@
|
||||||
</goals>
|
</goals>
|
||||||
<phase>generate-sources</phase>
|
<phase>generate-sources</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<protoSourceRoot>${basedir}/src</protoSourceRoot>
|
<protoSourceRoot>${basedir}/osmpbf</protoSourceRoot>
|
||||||
<includes>
|
<includes>
|
||||||
<param>**/*.proto</param>
|
<param>**/*.proto</param>
|
||||||
</includes>
|
</includes>
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ CXX ?= g++
|
||||||
CXXFLAGS ?= -g
|
CXXFLAGS ?= -g
|
||||||
|
|
||||||
CXXFLAGS += -I../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -pedantic -Wredundant-decls -Wdisabled-optimization -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo -Wno-long-long
|
CXXFLAGS += -I../include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -pedantic -Wredundant-decls -Wdisabled-optimization -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo -Wno-long-long
|
||||||
LDFLAGS += -L../src -pthread -lz -lprotobuf -losmpbf
|
LDFLAGS += -L../osmpbf -pthread -lz -lprotobuf -losmpbf
|
||||||
|
|
||||||
.PHONY: clean install
|
.PHONY: clean install
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue