Commit Graph

139 Commits

Author SHA1 Message Date
Sascha Zelzer
aa0218fa9a Fix #279 by not checking CMAKE_BUILD_TYPE when setting CMAKE_DEBUG_POSTFIX.
CMAKE_DEBUG_POSTFIX is already build-type specific and only applied
in case of "Debug" builds. The build-type is correctly inferred from
either CMAKE_BUILD_TYPE for MAkefile based generators or the selected
build type in the Visual Studio IDE. This fix allows to switch the
build type in Visual Studio and have Poco compile/link correctly.
2013-09-01 11:20:45 +02:00
Marian Krivos
a33cc590a2 version bump 2013-06-12 18:13:44 +02:00
Marian Krivos
9349786415 cmake and gcc warning fixes 2013-02-19 06:16:12 +01:00
fbraem
f41e6f1b5b Add MongoDB 2013-02-16 20:53:48 +01:00
Mathäus Mendel
dc9aafa7a1 Moved contributed CMake modules to "cmake" folder
By convention CMake project files are placed on a folder called "cmake" and then called from the build system by appending the CMAKE_MODULE_PATH variable
2012-12-16 00:40:40 -02:00
Mathäus Mendel
e3649153b8 Fixed build with CMake
Used CMAKE_DEBUG_POSTFIX instead LIB_EXT for library name decoration on debug builds (less intrusive and more flexible)
2012-12-08 15:54:38 -02:00
Aleksandar Fabijanic
6d2881ef34 Merge pull request #3 from RangelReale/mobilefixes
Android and iOS fixes
2012-12-02 20:28:22 -08:00
Rangel Reale
86b79a6dff * add POCO_STATIC definition in CMake
* Foundation must compile .mc file in CMake build
* Net must list all files in CMake build file
2012-11-11 14:17:28 -02:00
Rangel Reale
141a2c152c * use xcode-select to find correct paths for iOS build
* add iOS definitions for CMake
* ServerApplication on Android must use events instead of signals to wait for server termination.
2012-11-11 11:59:36 -02:00
Marian Krivos
bb1e8c1852 cmake: fix so version to 15 2012-09-23 17:19:50 +00:00
Marian Krivos
05ebb66609 added cmake support 2012-06-26 12:40:26 +00:00
Aleksandar Fabijanic
f9b60296f7 removing old trunk files 2012-04-23 00:43:14 +00:00
Marian Krivos
4e26485542 trunk" cmake fix for openssl include dir 2012-02-10 15:30:38 +00:00
Marian Krivos
ac73265fb3 trunk: cmake: added simple build script for building Release & Debug version at once 2012-02-07 13:56:54 +00:00
Marian Krivos
1d8e75687e cmake build: POCO_UNBUNDLED support for sqlite 2012-02-06 18:35:26 +00:00
Marian Krivos
8b70c37260 trunk: sync from 1.4.3
make & cmake fixes
2012-02-04 17:03:09 +00:00
Marian Krivos
0afd04898b cmake build system cleanup 2012-01-08 21:29:25 +00:00
Marian Krivos
218b06621d trunk: split cmake debug/optimize build 2 2012-01-08 19:10:15 +00:00
Marian Krivos
7cb622a445 trunk: split cmake debug/optimize build 2012-01-07 13:45:03 +00:00
Marian Krivos
650d804f1d cmake: change RELEASE flags from -Os to -O3 2011-11-04 12:43:14 +00:00
Marian Krivos
ea49f63847 Another sync from 1.4.2 2011-09-15 08:52:32 +00:00
Marian Krivos
eb266f8a57 Set cmake produced shared libraries numbering to standard scheme (trunk = 12)
Sync latest Foundation changes from 1.4.2
2011-09-15 08:31:51 +00:00
Marian Krivos
d5f027d6c9 cmake win32 fix 2011-09-14 13:17:15 +00:00
Marian Krivos
f65f178b54 poco::data vs100 project updates 2011-09-14 13:09:29 +00:00
Marian Krivos
c4ad405d9d trunk: cmake min version bump to 2.8.0 2011-08-05 16:23:43 +00:00
Marian Krivos
0ac146cb9e cmake improvements: test and samples are from now disabled by default, you can enable this option with cmdline option to cmake: '-DENABLE_TESTS=1'
minimum required CMAKE version is 2.6 from now
2011-01-22 11:46:03 +00:00
Marian Krivos
96b0296969 cmake + MinGW32: fix for ignored ODBC 2011-01-16 13:36:24 +00:00
Marian Krivos
eaa622aca3 required cmake version will be 2.4.8
add crypto include to global cmakefile
2009-06-22 12:08:17 +00:00
Marian Krivos
47cf15d198 cmake scripts: fix SunPro C++ on linux 2009-03-16 22:52:54 +00:00
Marian Krivos
c4f6084c25 added last Poco module to cmake infrastructure - PocoODBC (working at least on linux32 + unixodbc + gcc 4.3.2) 2009-03-08 17:03:18 +00:00
Marian Krivos
f345a6c6e2 CMake: Fix standard system libraries linking on Solaris 10 + gcc 2009-02-22 20:46:12 +00:00
Marian Krivos
538c9335c9 CMake: Fix standard system libraries linking on linux 2009-02-22 20:14:40 +00:00
Marian Krivos
2c304d744d adaptation cmake scripts to current MinGW platform (exclude SSL/Crypto/MySQL/Apache/ODBC) 2009-02-22 19:58:27 +00:00
Marian Krivos
680ce5e93e cpack support - generate binary / source packages and instalator 2009-02-22 14:19:55 +00:00
Marian Krivos
60e1433f51 rest of cmake scripts for samples + apache/apr detection 2009-02-21 09:58:44 +00:00
Marian Krivos
d141423a56 cmake 2.4.8 downgrade 2009-02-19 18:11:55 +00:00
Marian Krivos
16cdb4b127 cmake runtime install support (headers+libs) 2009-02-18 20:47:32 +00:00
Marian Krivos
32642ba9c1 More cmake scripts: ApacheConnector, Crypto, NetSSL, WebWidgets, Zip 2009-02-17 20:02:37 +00:00
Marian Krivos
5b320c2894 Very basic but functional (at least on linux with gcc) support
for CMake build system
. 
It is strongly recomended to use out-of-source build to preserve
original Poco makefiles.

http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees

I have tested unix makefile generating and Eclipse CDT4 generating.

Supported are static/dynamic and debug/release targets. 
On now only core libs are included: CppUnit, Foundation,
Data, Data/SQLite, Util, Net and XML. But autodetection
of OpenSSL, MySQL and ODBC is working OK already.

CPack and CTest nor library install still doesn't work, only building.

This is only the start.
2009-02-15 15:49:19 +00:00