Commit Graph

27 Commits

Author SHA1 Message Date
Günter Obiltschnig
bd0235b4b0 include version resource in DLLs built with CMake 2019-06-24 15:42:23 +02:00
Joerg-Christian Boehme
a4a0052cc1 Merge cmake changes from poco-1.9.1 (#2505)
* Take changes from 1.9.1 for check cxxyy compiler support

* Get change from 1.9.1 branch. _DEBUG is set on Foundation library

* CMake improve find third-party libraries (#2478)

* Add additional settings for thirdparty paths and fix windows build

* Fix postgresql build on AppVeyor

* Add additional path for odbc windows kits

* Add test_compiler cpp

* Take changes from 1.9.1 for find MySQL modul

* Take changes from 1.9.1 for find ODBC modul

* Take changes from 1.9.1 for find PCRE modul

* Take changes from 1.9.1 for find PostgreSQL modul

* Take changes from 1.9.1 for find Apache2 modul

* Take cmake SQL changes from 1.9.1

* Take changes from 1.9.1 for MySQL cmake

* Take changes from 1.9.1 for ODBC cmake

* Take changes from 1.9.1 for PostgreSQL cmake

* Fix compile with c++11 standard

* Rename DISABLE_CPP14 to POCO_DISABLE_CPP14

* Fix cmake compile features

* Remove POCO_ENABLE_CPP11

* Enable compile 64bit in cmake for AppVeyor build

* Remove copy data directory for encoding test. It doesnt exists anymore

* Move __LCC__ define to MySQL
2018-10-18 07:11:38 +02:00
Lyashenko Arsenii Maksimovich
223ce277bd Fix "redeclared without dllimport attribute..." warning for MinGW (#2433)
* Fix "redeclared without dllimport attribute..." warning for MinGW

* Use 'POCO_COMPILER_MSVC' instead of '_MSC_VER'.

* Define 'POCO_COMPILER_MINGW' with 'POCO_COMPILER_GCC' too

* Define 'POCO_UNUSED' for Clang too
2018-09-17 20:36:21 +02:00
Yegor Yefremov
6b9054dfa2 cmake: create and install pkg-config files (#2224)
* cmake: create and install pkg-config files

Automatically create and install *.pc files for selected components.

PocoFoundation.pc
PocoNet.pc
PocoUtil.pc
etc.
2018-06-12 20:42:19 +02:00
Joerg-Christian Boehme
8a70ab8a1c Cleanup cmake build system (develop) to use transitive dependency management from cmake (#2322)
* Cleanup cmake Root CMakeLists.txt

* Cleanup cmake targets

* Add find openssl modul for older cmake version

* set proper scope

* Switch off make based builds in travis and appveyor

* Fix build break, set C11 on c file

* Set from C11 to C99

* Fix NetSSL win build

* Set C99 compile features

* Fix Windows build

* Fix windows build

* Revert "Fix windows build"

This reverts commit 678d44216bd964f61655df809efbf63ddd8a7bfd.

* Cleanup poco unbundle definition

* Fix PDF build

* Remove unused set affinity

* Add _AFXDLL as target compile definitions

* 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

* cleanup LIB_MODE_DEFINITIONS in cmake buld system

* Fix broken merge

* Fix android foundation test

* Fix old redis build version

* Fix android fondation test

* Cleanup target link libraries.

* Update cmake documentation

* Some fixese in crypto and netssl for win and some cleanup an SQL

* Minor fix in root CMakeList.txt

* Squashed commit of the following:

commit df050b56b6d81eaf9bdb37bb016fe9a3554eba4f

    Fix build dependecies in cmake

* Squashed commit of the following:

commit f41ce2bb404e197ff04b1e64f7b66c9a2b1e03c8

    Fix PostgreSQL build

* Squashed commit of the following:

commit b7da0deed67ffff23a8b7a50d6deff1e022b2577

    Set db hostnames

* Update doc

* Update cmake build commands

* Set public on target link libraries in cmake build

* Fix broken cppunit merge
2018-06-03 11:19:00 -05:00
Jörg-Christian Böhme
ad8249fc61 Change ENABLE_TESTS to POCO_ENABLE_TESTS in cmake build system 2018-04-11 23:13:04 +02:00
zosrothko
b3d107de94 Replace assert by assertTrue (#2242)
* Update Nuget packaging

* Split a single Nuget package into 2: x86/x64 because its size is greater
than 250Mb, which is the upper limit of Bintray

* CppUnit/Test.h: Rename assert by assertTrue

* Restore poco_assert

* leave old assert for backward compatibility

* add undef

* remove whitespace

* Display PocoDic.ini

* Fix CppUnit includes path

* Delete TestCaller.h

* Create dependencies
2018-03-26 06:56:33 -06:00
zosrothko
09b31676c3 Add missing dependencies 2018-03-24 10:15:31 +01:00
Francis ANDRE
28ee13b56b Fix name of the TestSuite
Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>
2018-03-11 11:15:24 +01:00
Joerg-Christian Boehme
a834aad0b1 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-03-05 22:02:40 +01:00
zosrothko
33d43173ac Update gradle build for the Encodings module (#2163)
* CMake: build samples and run SQL testsuite

* Update gradle for the Encodings module

Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr>

* Updated for the openssl directory tree
2018-02-18 10:30:11 -06:00
zosrothko
9ee0e86366 Adjust PocoCppUnit link libs 2018-02-15 18:37:37 +01:00
zosrothko
ac1c1018b2 Adjust PocoCppUnit link libs 2018-02-15 18:36:09 +01:00
zosrothko
4762c36a1b Adjust PocoCppUnit link libs 2018-02-15 18:34:45 +01:00
zosrothko
138b167cb1 Adjust PocoCppUnit link libs 2018-02-15 18:32:47 +01:00
zosrothko
05a7d7ad2b Adjust PocoCppUnit 2018-02-15 18:26:24 +01:00
Günter Obiltschnig
27a208c60a added missing WinDriver.cpp 2018-02-14 18:16:34 +01:00
Günter Obiltschnig
cb5121f903 fix Makefile 2018-02-14 15:38:17 +01:00
Günter Obiltschnig
8b9825cbd7 add samples to CMakeLists.txt 2018-02-14 15:19:00 +01:00
Günter Obiltschnig
d8a6cce1a0 add WinCEDriver.cpp 2018-02-14 14:26:20 +01:00
Günter Obiltschnig
e6c5054a5a fix CMakeLists.txt 2018-02-14 13:27:42 +01:00
Günter Obiltschnig
8b67aabc3d CMake support for TextEncodingCompiler 2018-02-14 12:48:13 +01:00
Günter Obiltschnig
b23b211e8c added missing cmake file 2018-02-14 12:04:23 +01:00
Günter Obiltschnig
4bd0c6f8f2 add VS project files 2018-02-14 10:16:53 +01:00
Günter Obiltschnig
b300f7a975 add alternative encoding names 2018-02-14 10:15:13 +01:00
Günter Obiltschnig
a2e326368f added sample 2018-02-14 10:15:01 +01:00
Günter Obiltschnig
b31de2e3db added Encodings library 2018-02-13 21:54:13 +01:00