Commit Graph

105 Commits

Author SHA1 Message Date
Günter Obiltschnig
c908cbe6fe #3353: add POCO_NO_FORK_EXEC CMake option 2021-11-05 13:00:08 +01:00
Günter Obiltschnig
690f9c74f1 whitespace 2021-06-27 06:49:34 +02:00
Günter Obiltschnig
c140d379be style 2021-06-26 11:46:57 +02:00
Günter Obiltschnig
3d8be229ae fix ActiveRecord CMake build and configuration 2021-06-18 12:42:15 +02:00
Günter Obiltschnig
22e762dd9a added ActiveRecord library and compiler 2021-06-18 08:51:42 +02:00
Günter Obiltschnig
d4ec18d503 #3217: CMake: warning message with -DPOCO_STATIC confusing 2021-06-15 15:07:29 +02:00
Günter Obiltschnig
a3d827d80e remove ENABLE_MSVC_MP cmake option 2020-02-17 08:36:04 +01:00
Joerg-Christian Boehme
bb3d974343 Fix cmake config modul location 2020-02-16 21:27:22 +01:00
Günter Obiltschnig
4de9a21187 make CMake files style (more) consistent 2020-02-14 11:07:32 +01:00
Günter Obiltschnig
0b59315443 #2923: cmake: Version 1.10.0 not parsed correctly from VERSION file 2020-02-13 20:25:29 +01:00
Günter Obiltschnig
6aa1abd8f6 warn if POCO_STATIC is used 2020-02-13 20:11:03 +01:00
Günter Obiltschnig
13d0bd7f0b added backwards compatibility for POCO_STATIC setting 2020-02-13 20:07:47 +01:00
Günter Obiltschnig
e5afb2fa89 CMake fixes for Windows 2020-02-12 22:46:18 +01:00
Günter Obiltschnig
75a86ad868 remove POCO_STATIC 2020-02-12 22:10:01 +01:00
Scott Talbert
48cb7ba8a3 Use ${LIB_SUFFIX} when setting PocoConfigPackageLocation 2020-02-06 15:17:57 -05:00
Günter Obiltschnig
6ef3f95baf fix POCO_UNBUNDLES 2020-02-05 06:41:10 +01:00
Günter Obiltschnig
185493a82d fix CMake build of OpenSSL 2020-01-12 11:18:49 +01:00
Günter Obiltschnig
645a9f8a7a update CMake required version to 3.5 2020-01-10 17:08:59 +01:00
Günter Obiltschnig
16808f1afe CMake: require C++14; enable C++11 tests 2020-01-10 13:44:51 +01:00
Günter Obiltschnig
a7cbff393e
Merge pull request #2815 from brice-gros/brice.gros/1.10.0+allow-for-cmake-fetchcontent
Make Poco git repository fetchable using CMake's FetchContent
2019-11-25 21:24:16 +01:00
Brice Gros
70caa2a942
Update CMakeLists.txt 2019-10-21 10:27:47 +02:00
Brice Gros
990f7825b5 Fix path to DLLVersion.rc and enable to skip Foundation; Fix Foundation samples referencing useless libs 2019-10-18 15:35:02 +02:00
Brice Gros
22c3ae8d30 allow to select long tests to be run from cmdline 2019-10-18 15:09:38 +02:00
Joerg-Christian Boehme
b9fa82b08b
CMake merge from devel to 1.10 to use embedded OpenSSL for Windows (#2767)
* Add  embedded openssl for windows
* Add windows fix for OpenSSL #2708
* Fix CppUnit lib prefix with Poco
2019-09-02 11:48:01 +02:00
Günter Obiltschnig
4ce91351f4 automatically enable PocoJWT if OpenSSL is available 2019-07-31 19:33:20 +02:00
Günter Obiltschnig
6c828018df added JWT library 2019-07-30 11:19:49 +02:00
Joerg-Christian Boehme
e1435a6620
Fix cross-compilation against Poco pre-built (#2599) (#2679)
* Use ZLIB and PCRE imported target to improve portability
* Set EXPAT and SQLite3 library for XML and SQL if POCO_UNBUNDLED is true in cmake build
2019-04-22 23:47:11 +02:00
Joerg-Christian Boehme
eec8dedbb8
Merge cmake changes from develop (#2504)
* Increase PostgreSQL version number

* Take changes from develop for Define Platform Specific cmake

* Take changes from develop for find MySQL modul

* Take changes from develop for find ODBC modul

* Cleanup standard language compile features

* Fix cmake compile features

* Improve to find ODBC on windows

* Enable 64-bit build on AppVeyor

* Switch MySQL off on AppVeyor because of error LNK2038: mismatch detected for _MSC_VER: value 1800 doesnt match value 1900

* Move LCC define to MySQL
2018-10-18 07:07:46 +02:00
Joerg-Christian Boehme
85b9fe7a21
Fix cmake build on FreeBSD (#2476)
* Fix cmake build on FreeBSD
2018-10-10 13:48:08 +02:00
Joerg-Christian Boehme
e624b3315c
CMake improve find third-party libraries (#2478)
* Improve find thirdparty cmake module. Cleanup cmake build system

* Add additional settings for thirdparty paths and fix windows build

* Improve cmake getting started doc

* Fix postgresql build

* Add additional path for odbc windows kits
2018-10-10 13:43:34 +02:00
Joerg-Christian Boehme
a7f9ebe116
Fix static build in cmake (#2455)
* Fix cmake build issue when poco build as static lib with enabled tests

* Cleanup compile flags output in cmake

* Some minor improvements in cmake
2018-09-22 12:02:05 +02:00
Joerg-Christian Boehme
612f092235 Cleanup cmake build system to use transitive dependency management from cmake (#2321)
* Some cleanup in the root CMakeLists.txt

* Cleanup cmake targets

* Add find openssl modul for older cmake version

* Set proper scope

* Change crypto default to off

* Fix openssl default to on

* Remove global setting of C99 standard

* Set from C11 to C99

* Fix for NetSSL win build

* Set C99 compile features

* Fix Windows build

* Fix windows build

* Cleanup poco unbundle definition

* Fix PDF build

* Remove unused set affinity

* Add _CRT_SECURE_NO_WARNINGS as target compile definitions

* Add _AFXDLL as target compile definitions

* Remove commented out line

* Refactor add_definitions to target_compile_definitons in Util

* Refactor add_definitions to target_compile_definitons in XML

* Remove THREADSAFE in data sql cmake build

* Refactor add_definitions to target_compile_definition in cmake mysql

* Refactor add_definitions to target_compile_definition in cmake odbc

* Refactor add_definitions to target_compile_definition in cmake sqlite

* Refactor add_definitions to target_compile_definitions in platform specific cmake

* Add _DEBUG as compile definition

* Add build dependencies between Foundation-testrunner and TestApp, TestLibrary in cmake build

* Use cmake property to build shared libs

* Cleanup POCO_NO_AUTOMATIC_LIBS. Set only for Windows in cmake build system

* cleanup LIB_MODE_DEFINITIONS in cmake buld system

* Add POCO_STATIC for CppUnit

* Cleanup target link libraries and add option dependencies.

* Add dependencies management in cmake

* Update cmake documentation

* Squashed commit of the following:

commit 38c233f93fc8e9ad6e24d686c905eb18c86e19a7

    Fix "invalid new-expression of abstract class type ApacheServerRequest" (#2231)

    - abstract method "bool secure() const" defined in HTTPServerRequest was implemented in ApacheServerRequest, one of its derived classes
     - a ap_log_error had one of its parameters changed for fixing a warning "passing NULL to non-pointer argument"
     - minor indentation problems corrected

commit 4cbdfbe828943871618172f9e042176f115d61d8

    Fix build dependencies

* Improve database cmake build dependencies

* Update doc

* Update doc

* Update cmake build commands

* Set public on target link libraries in cmake build system

* Fix PostgreSQL build

* Fix PostgreSQL build in cmake

* Fix PostgreSQL from SQL to Data

* Squashed commit of the following:

commit 1ba7d5dcbfb8d07860dd4efda33b31bedf6184c4

    Add missing cmake file

* Set path to PostgresSQL in AppVoyer

* Try to fix AppVeyor build

* show dir in appvoyer

* Disable PostgreSQL build on Appvoyer

* Refactor add_definitions to target_compile_definitions
2018-06-03 11:17:50 -05:00
Alex Fabijanic
dc021ae25c Postgres Linux and cmake build 2018-05-07 11:50:39 -05:00
Günter Obiltschnig
1f77aec1b3 fix message grammer 2018-03-07 11:22:34 +01:00
Joerg-Christian Boehme
9feabc7723 Add android build on travis (#1981)
* Add build for android in travis CI.

* Fix review findings. Change from __ANDORID__ to POCO_ANDROID

* Add android test

* Fix compile issue after rebase

* Ignore test big ping when its failing
2018-02-26 18:54:40 -06:00
Raphael Freudiger
1dc38d8500 respect lib suffix when installing cmake files
Some cmake files contain pathes to the lib directory with suffix.
So they should respect the suffix as well.
2018-02-19 10:26:45 +01:00
Günter Obiltschnig
48f0de54ea cmake support for EncodingsCompiler 2018-02-14 12:11:37 +01:00
Günter Obiltschnig
e590fa36ad updated Makefile and CMakeLists.txt for Encodings lib 2018-02-14 10:25:27 +01:00
Günter Obiltschnig
ccea123acf fix Exists check 2017-11-10 21:35:25 +01:00
Guenter Obiltschnig
e89e7d4520 Make cmake work with minimal package 2017-11-10 19:21:55 +01:00
Guenter Obiltschnig
7829aca793 add Redis to CMake 2017-11-10 12:25:53 +01:00
Joerg-Christian Boehme
c6e1a0137b Verify in cmake if it possible to compile with C++yy standard 2017-11-08 09:25:06 +01:00
Alex Fabijanic
87ec631b4a try to fix clang build (use libc++) 2017-10-24 21:03:08 -05:00
Alex Fabijanic
dea76c8e2e add CXX1x compiler capability detection to cmake 2017-10-24 13:52:12 -05:00
Alex Fabijanic
1054c46f6c compile pdjson as C++; disarm some windows warnings 2017-09-27 11:51:43 -05:00
Pascal Bach
1bc210dcf9 CMake: use C11 as standard for all targets (#1909)
This makes the JSON module compile with GCC < 5 where the default was still C90
2017-09-27 10:00:49 -05:00
daB0bby
3a2b9014b9 Keeps code-style consistency 2017-01-02 11:59:56 +01:00
Josh Blum
df8b868da6 minor change to support cmake2.8 builds
Reduce cmake version requirement to 2.8.12 (ubuntu trusty),
and conditionalize export() in PocoMacros to support 2.8 syntax.
2015-12-14 17:32:18 -08:00
Guenter Obiltschnig
e25a17030d integrated CMake improvements from develop (GH #946) 2015-09-26 11:11:23 +02:00
Sascha Zelzer
9c0184337e Make regex compatible with VERSIONS like "1.6.0-all (2014-12-22)".
Without the fix, the patch number contained spaces which led to
errors on Linux with CMake because the generated symlinks contained
spaces.
2015-02-04 04:46:25 +01:00