Jochen Topf
f1a1bfbe49
CMake: Use single set_target_properties() command
2021-01-03 17:13:28 +01:00
Jochen Topf
a386f1b48c
Set shared library version and bump version number to 1.5.0
...
See #53 .
2021-01-03 16:50:22 +01:00
Jochen Topf
218bfe8ed8
Add optional LZ4 and ZSTD compressed data blocks to proto file
2021-01-03 16:45:26 +01:00
Jochen Topf
e5de634ce2
Set destination for installs explicitly
...
Apparently not setting this doesn't work on older versions of CMake.
2021-01-03 15:26:14 +01:00
Tom Hughes
ac8cf96890
Use the GNUInstallDirs module to set installation directories
2021-01-03 11:01:48 +00:00
Jochen Topf
d77e04b6eb
Clarify comment on ChangeSet message
2021-01-03 11:42:26 +01:00
Jochen Topf
e7d3201a97
Add optional "arrays" with lat/lon to ways
...
This allows storing node locations on the ways.
2021-01-03 11:40:07 +01:00
Jochen Topf
6785d43ba7
CMake config: Add dependency information so shared lib is built
2021-01-03 10:55:11 +01:00
Jochen Topf
4374b9a535
Build both static and shared library
2021-01-02 21:59:19 +01:00
Jochen Topf
92b3bcb185
Clean up and reformat proto files
2021-01-02 20:46:09 +01:00
Jochen Topf
e464c06294
Modernize and clean up CMake configuration
2021-01-02 20:27:50 +01:00
Bas Couwenberg
09845ca408
Support hardening buildflags set in the environment.
2020-10-25 06:36:32 +01:00
Jochen Topf
8959517944
Merge branch 'master' into optimize_for-LITE_RUNTIME
2020-08-22 16:23:06 +02:00
Jochen Topf
0f48055af1
Merge pull request #29 from sebastic/proto2-syntax
...
Specify proto2 syntax to fix warnings with protobuf 3.0.0.
2020-08-22 16:21:29 +02:00
Bas Couwenberg
f7b77826e4
Disable deprecated optimize_for = LITE_RUNTIME option.
...
Fixes warnings with protobuf >= 3.8.0:
> The optimize_for = LITE_RUNTIME option is no longer supported by protobuf
> Java code generator and is ignored--protoc will always generate full
> runtime code for Java. To use Java Lite runtime, users should use the
> Java Lite plugin instead. See:
> https://github.com/protocolbuffers/protobuf/blob/master/java/lite.md
2020-03-22 08:12:06 +01:00
Paul Norman
5a4c8c1156
License the .proto and header files under MIT
2019-07-11 13:59:00 -07:00
Jochen Topf
4e32fa236e
Add comment to roles_sid.
...
See #30 .
2016-10-05 09:36:07 +02:00
Bas Couwenberg
17f2228ca8
Specify proto2 syntax to fix warnings with protobuf 3.0.0.
2016-09-02 18:28:45 +02:00
Tom Hughes
cfea70cdc8
Build and install a shared library
2015-07-22 10:19:33 +01:00
kayrus
c8844a6e90
Updated redhat spec and Makefile
2014-03-26 18:45:48 +04:00
Bas Couwenberg
a4919d86ec
Copy header files individually, instead of both files twice.
...
The osmpbf (1.3.3-1) build for Debian failed on the mipsel architecture.
The Debian package uses parallel builds which caused the following failure:
```
protoc --proto_path=. --cpp_out=. fileformat.proto
protoc --proto_path=. --cpp_out=. osmformat.proto
cp *.pb.h ../include/osmpbf/
cp *.pb.h ../include/osmpbf/
g++ -g -O2 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wall -Wextra -pedantic -Wredundant-decls -Wdisabled-optimization -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo -Wno-long-long -fPIC -c -o osmformat.pb.o osmformat.pb.cc
cp: cannot create regular file '../include/osmpbf/fileformat.pb.h': File exists
```
This change fixes the race condition by copying the header files separately,
instead of copying both header files twice.
With this patch applied, the builds succeeded on all architectures where
OpenJDK 7 is available.
Origin: http://anonscm.debian.org/gitweb/?p=pkg-grass/osmpbf.git;a=commitdiff;h=adcf891b95609e375130438dc431e96017bbbbf8
2014-03-17 14:09:38 +01:00
Jochen Topf
237240107f
Various fixes for easier Debian packaging
2014-03-12 14:09:13 +01:00
Jochen Topf
deef7f0b0a
Improved build script.
...
The debian build has been changed to not use dh_auto_build etc. because they
pick up the CMake files instead of using the Makefiles.
2014-03-11 11:25:07 +01:00
Jochen Topf
81985fec4a
Force building with -fPIC.
...
The debian build wasn't picking up the -fPIC because it sets CXXFLAGS.
2013-12-12 22:56:41 +01:00
Jochen Topf
ee52133e05
Fix Debian build
2013-09-02 20:50:33 +02:00
Jochen Topf
73c5bd159d
Fix line endings (CRLF->LF), remove spaces at end of lines
2013-09-02 20:44:02 +02:00
scrosby
5fb1760122
Merge pull request #12 from alex85k/master
...
CMake support
2013-09-02 10:14:38 -07:00
Scott Crosby
3d5dd4b7bb
merged
2013-09-02 12:15:24 -05:00
Scott Crosby
538425c954
merged
2013-09-02 11:51:59 -05:00
Jochen Topf
2cd0806c92
Compile with -fPIC
...
This is needed on 64bit machines when the resulting static library will later
be included in a dynamic library.
2013-08-30 17:42:14 +02:00
Dmitry Marakasov
2c281c9bf8
Make CXX/CXXFLAGS overridable
...
This makes it easier to support systemwide compiler settings.
While here, link with pthreads in a more correct way (-pthread instead
of -lpthread).
2013-08-27 22:16:22 +04:00
alex85k
56337c31d7
one more fix to install
2013-07-23 12:10:39 +05:00
alex85k
1078fd47f3
More compilation fixes
2013-07-22 23:13:26 +06:00
Charlie Root
05772fdf5d
Fix building example and installation
2013-07-09 11:36:17 +06:00
alex85k
a06d895f63
Fix CMake scripts
2013-06-13 22:51:02 +06:00
alex85k
72fdfb4ccb
Added CMAKE project files and windows-compatibilty to osmpbf-outline
2013-06-04 17:38:55 +05:00
Thomas Friebel
b8266ac09f
Do not set file user:group to 'root:root' during installation
...
When run as root, files will be 'root:root' anyway. When run as user
changing user:group will fail. Furthermore, the group 'root' is not
available on all systems.
2013-03-09 13:19:56 +01:00
Thomas Friebel
1cbcd0078e
Install to /usr/local per default
2013-03-09 12:46:58 +01:00
Thomas Friebel
2b7a332957
Allow overriding protoc path from the command line
2013-03-09 12:42:20 +01:00
Thomas Friebel
705e60496b
Allow overriding Makefile variables from the command line
2013-03-09 12:42:11 +01:00
Frederik Ramm
b87c80ebf0
Add fields for replication support.
2012-12-03 21:39:57 +01:00
Jochen Topf
7aaa1a5e50
Fixed build of osmpbf-outline tool
2011-06-05 19:22:24 +02:00
Jochen Topf
282bb229f5
New osmpbf.h and new debian package.
...
* New osmpbf.h makes including easier and defines some often used constants
* README now explains how to use the lib
* New version of debian package includes
* osmpbf.h
* osmpbf-outline tool
* README
2011-06-03 12:12:07 +02:00
Jochen Topf
b3586a7b19
Improved description for new visible flag
2011-06-01 16:36:37 +02:00
Jochen Topf
c604c66beb
Merge pull request #2 from MaZderMind/history
...
extend definition with visible-flag for storing history information
2011-06-01 07:26:56 -07:00
Jochen Topf
6554a40cdf
Add osmpbf.h
...
The idea is that this file can be included and will include all needed other
files and contain some definitions. Not used yet, though.
2011-06-01 14:40:24 +02:00
Peter
1ddaca6a03
extend definition with visible-flag for storing history information
2011-05-26 16:02:38 +02:00
Jochen Topf
c7dce29491
Added README, debian config
2011-04-13 22:40:46 +02:00
Jochen Topf
fb44931f3b
Consistent reference to LGPL
2011-04-13 21:47:56 +02:00
Jochen Topf
15f74101a4
Add Makefile to build .h files and lib
2011-04-13 21:45:20 +02:00