Mathis Logemann
6fe46f61e2
add clang-format
...
fix clang-format
fix clang-format
adjust pointer and reference aligment
add cmake script to format all files run with: cmake -P cmake/clang-format.cmake
fix sort includes
change format cmake script
2022-01-26 23:36:12 +01:00
Mathis Logemann
7a1b441cf0
[CMake] do not install FindHarfbuzz.cmake
2021-12-03 14:48:13 +01:00
Mathis Logemann
d546cda6d5
[CMake] drop harfbuzz and use pkg-config as a backup
2021-11-20 12:53:58 +01:00
Mathis Logemann
f0940c2075
[CMake] move all build artifacts into same dir to remove the need of copy_dlls (except for plugins)
...
[CMake] improve BUILD_TESTING and use pkgconf for cairo on linux
[CMake] add Threads dependency to -Config
2021-11-15 00:40:47 +01:00
Mathis Logemann
aa903c675f
[CMake] improve pkg-config export
...
add needed libs
pkg-conf: move libmapnikjson and libmapnikjson to m_requires
make pkg multi config aware
update proj min ver
correct prefix
use the correct output name
add import prefixes, just in case
2021-10-20 16:23:04 +02:00
Mathis Logemann
c551ed3a62
[CMake] fix mapnik_option
2021-10-16 08:31:19 +02:00
Mathis Logemann
aef71dbae5
[CMake] fix mapnik_option
2021-10-16 08:27:09 +02:00
Mathis Logemann
5ef2e27e8e
[CMake] add boost regex icu check
2021-10-13 10:16:39 +02:00
Mathis Logemann
dea63374f4
[CMake] better logging of feature options. Output log files for better help management. ; get started with mapnik-config
2021-10-10 21:34:15 +02:00
Mathis Logemann
95e210521c
[CMake] fix mapnik_find_plugin_dir
2021-10-06 16:43:55 +02:00
Mathis Logemann
feca084ed6
bump boost version to 1.73 and fix docs
2021-10-06 15:15:32 +02:00
Mathis Logemann
333e745d7b
[CMake] pkg-config: generate correct library link file names
2021-10-01 20:42:57 +02:00
Mathis Logemann
8c83e15404
[CMake] fix export plugin file naming
2021-09-23 19:28:40 +02:00
Mathis Logemann
fcc7016124
add basic pkg-config exports
2021-09-23 18:46:48 +02:00
Mathis Logemann
a2d3364ec7
[CMake] add version and soversion to base libraries
2021-09-23 10:41:25 +02:00
Mathis Logemann
1c51a8e529
[CMake] add configuration dependend exports for plugin install dir.
...
add function to get the current plugin install dir
2021-09-23 10:33:32 +02:00
Mathis Logemann
5287c234d6
[CMake] fix resulting config when no plugins are build
2021-09-22 21:39:04 +02:00
Mathis Logemann
f1ed49edec
install utilities
2021-09-22 20:49:44 +02:00
Mathis Logemann
35ea6f2a56
[CMake] refactor mapnik_install
2021-09-22 19:52:39 +02:00
Mathis Logemann
755e8d322e
add minimum versions; proj include dir only as a build interface
2021-09-22 15:25:55 +02:00
Mathis Logemann
25774ac82a
[CMake] unify and simplify install commands.; Add Components to targets
2021-09-22 14:41:50 +02:00
Mathis Logemann
9d4d7fd273
[CMake] do not print install targets
2021-09-22 13:19:43 +02:00
Mathis Logemann
a8d6bdcac1
[FindWebP] FOUND_VAR is deprecated
2021-07-23 18:41:30 +02:00
Mathis Logemann
fcda7021b6
Revert "found var was deprecated."
...
This reverts commit 6b5e4dcec2
.
2021-07-23 18:41:07 +02:00
Mathis Logemann
6b5e4dcec2
found var was deprecated.
2021-07-23 18:40:57 +02:00
Mathis Logemann
001718cf73
some fixes for FindWebP
2021-07-23 18:39:42 +02:00
Mathis Logemann
f80a7724bf
delete clang toolchain(replaced by CMakePresets)
2021-07-23 18:14:37 +02:00
Mathis Logemann
6739c30941
fixed some var refs
2021-07-23 16:04:25 +02:00
Mathis Logemann
42fec31784
add version again to FindWebP
2021-07-23 15:54:51 +02:00
Mathis Logemann
e2524f80df
rewrite webp to add debug libraries
2021-07-23 15:48:17 +02:00
Mathis Logemann
199fd8218b
this fixes a bug when including a package via pkg-config:
...
We will append the call to the config file to find the package
via find_package. However this does not work when the package was included
with pkg-config
2021-07-21 20:08:22 +02:00
Mathis Logemann
282986c503
fix config file naming scheme.
...
Only happens when using older cmake versions. But this was definitly an issue.
Target name should be the same on the file (case sensitive)
2021-07-21 20:03:42 +02:00
Mathis Logemann
c5ced60c38
fix some bugs when using ubuntu to build
2021-07-21 18:16:48 +02:00
Mathis Logemann
e408bf9a22
add find harfbuzz.cmake
2021-07-06 21:32:36 +02:00
Mathis Logemann
7f2511632f
add packaging
2021-07-02 22:26:36 +02:00
Mathis Logemann
5a109a99fb
install dependencies only on windows and install plugins into correct dir
2021-04-22 19:41:21 +02:00
Mathis Logemann
e1fa32f21f
install dependencies. Required for windows (and ?macos?). Needs testing on linux.
2021-04-10 14:36:22 +02:00
Mathis Logemann
1929fbc0ba
add an option to disable plugin and font copying
2021-04-09 15:53:21 +02:00
Mathis Logemann
02f78e4ce5
fixed Dll copying on windows; copy plugins and fonts into appropiate directories when building.
2021-04-09 15:50:50 +02:00
Mathis Logemann
7897bb5c83
add threads to mapnik::core
2021-03-26 15:45:15 +01:00
Mathis Logemann
1367e7007f
print version strings if available
2021-03-25 21:28:41 +01:00
Mathis Logemann
ae43a49b71
add dependencies to cmake config. Provieded a new macro for better maintance
2021-03-17 22:18:21 +01:00
Mathis Logemann
a0d60f233b
fixes cairo renderer debug configuration. Copied FindCairo had a lot of issues with the multiconfiguration settings. Rewrite of the whole file
2021-03-17 21:29:00 +01:00
Mathis Logemann
c1d9bde886
fix find cairo
2021-03-15 10:03:26 +01:00
Mathis Logemann
3a6362f1a9
added clang toolchain file
2021-02-05 19:35:35 +01:00
Mathis Logemann
5f02b197dd
get mapnik version from mapnik/version.hpp
2021-02-03 19:43:28 +01:00
Mathis Logemann
d159bec46a
FindCairo: find debug release library
2021-01-27 00:42:19 +01:00
Mathis Logemann
a7c9f5b941
windows: copy all dlls. optional library dir if some dlls are not found.
2021-01-27 00:41:54 +01:00
Mathis Logemann
85736c4c95
name fonts correctly
2020-11-22 22:02:17 +01:00
Mathis Logemann
68528ffb28
cmake improvements
2020-11-22 22:01:33 +01:00