Commit Graph

36 Commits

Author SHA1 Message Date
Mathäus Mendel
6dcf71dd96 Fixed wrong casing on the CMake script 2016-03-07 16:36:39 -03:00
Mathäus Mendel
d17882f6d0 Added initial support for IBM XLC for AIX systems 2016-03-07 15:36:51 -03:00
Aleksandar Fabijanic
234d778d2c Merge pull request #1143 from Yukariin/develop
Add iODBC support
2016-03-06 19:13:51 -08:00
Francis ANDRE
472ae783c4 Use lib64 on x86 platform 2016-03-05 18:25:10 +01:00
FrancisANDRE
7f38fc4ef0 Add Data/PostgreSQL to CMake build
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2016-03-05 17:55:28 +01:00
Yukarin
d59885b4d3 Add iODBC support 2016-02-02 23:05:11 +03:00
FrancisANDRE
5048f2a9f2 Build Release before Debug.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-11 11:40:43 +01:00
zosrothko
bfc4bebf11 Align dependent path. 2015-12-08 10:50:16 +01:00
FrancisANDRE
03423ddd04 Add SIMPLE_INSTALL macro, update FindSQL for Windows and
DefinePlatformSpecific.cmake for Cygwin.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-12-08 09:58:35 +01:00
Aleksandar Fabijanic
35d94f3842 Merge pull request #982 from aaboyd/feature/remove-poco-os-cmake
removing POCO_OS_* declarations from cmake and biicode configuration
2015-10-12 22:51:20 -07:00
Alex Boyd
1f7766caa5 removing POCO_OS_* declarations from cmake and biicode configuration 2015-10-12 20:53:29 -04:00
Alex Boyd
f447b5770a remove d suffix from cmake RELWITHDEBINFO 'Release With Debug Info' 2015-10-11 22:04:41 -04:00
Aleksandar Fabijanic
b1bcd786b0 Merge pull request #939 from siemens/mc-compiler
CMake: Add additional registry entry to find mc.exe
2015-09-16 11:08:38 -05:00
Csaba Keszegh
a190f5e660 fix: CMake compilation for QNX 6.6
QNX cmake var should set to 1, on command line, or in a toolchain file
do not set _XOPEN_SOURCE macro when building for QNX
set SYSLIBS cmake var (see: build/config/QNX:SYSFLAG)
tested: Ubuntu 14.04, QNX 6.6.0, cmake 3.2.3
2015-09-01 17:22:08 +02:00
mkrivos
5e3258f92e Enable POCO_HAVE_FD_EPOLL on linux for cmake build system too 2015-08-19 12:12:18 +02:00
Torndeco
0859133d47 CMake Fix for non MSVC Installs
The return function is causing Data/CMakeLists.txt to exit early before they include sub directories.
i.e Data/MySQL Data/ODBC  Data/SQLite

http://www.cmake.org/cmake/help/v3.0/command/return.html
2015-06-05 03:04:08 +01:00
Philip Miller
f918793228 add macro POCO_INSTALL_PDB to install MSVC pdb files 2015-06-02 12:05:15 -04:00
Philip Miller
2efe9b05cb add option ENABLE_MSVC_MP for parallel MSVC builds 2015-06-02 12:04:31 -04:00
Aleksandar Fabijanic
724ea08f6c Merge pull request #808 from siemens/cmake-develop
CMake: Remove odbc32 from SYSLIBS on windows
2015-05-07 23:35:26 -05:00
Pascal Bach
28ac7e80db CMake: Add the "d" postfix for debug builds on all platforms 2015-05-07 14:25:14 +02:00
Pascal Bach
7a24b76626 CMake: Remove odbc32 from SYSLIBS on windows
obdc32 is already added to the libraries by FindODBC
2015-05-07 13:44:58 +02:00
Pascal Bach
e725c9d225 CMake: Add additional registry entry to find mc.exe
Fixes #805
2015-05-07 08:54:34 +02:00
Pascal Bach
bef0023418 CMake: Remove gdi32 dependency
It fails under WindowsCE and it doesn't seem to be required at all.
2015-05-06 12:44:52 +02:00
Torndeco
9d28a6aa1f CMake: FindMySQL, added Program Files(x86)/MySQL to search path for MySQL 2015-05-04 15:36:21 +02:00
Pascal Bach
6fb5ecca03 Improve CMake handling of MD and MT
- Some other minor improvements

Contributed-by: Torndeco <torndeco.di@gmail.com>
2015-05-04 15:34:48 +02:00
Sascha Zelzer
25d3f4ccd4 Use correct locations for the generated Poco*ConfigVersion.cmake files. 2015-02-04 04:35:56 +01:00
Sascha Zelzer
10425a9556 Do not overwrite CMAKE_PREFIX_PATH in component config files.
This fixes problems when a project adds a directory to
CMAKE_PREFIX_PATH, then calls find_package(Poco ...) and afterwards
calls find_package() for another project located in one of the
directories of the original CMAKE_PREFIX_PATH variable.
2015-02-04 04:35:23 +01:00
Pascal Bach
61cdbf0b16 CMake: Remove PocoConfig.cmake as proper *Config.cmake files are now generated on a per component when built with CMake.
resolves: #677

Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 16:00:34 +01:00
Pascal Bach
f778e67430 CMake: Improve installation and package generation
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2015-01-27 15:52:18 +01:00
Pascal Bach
b69fafb84c CMake: Create PocoConfig.cmake to make importable from other CMake projects
The generated PocoConfig.cmake can be used by other CMake projects using find_package.
2014-10-14 17:58:46 +02:00
Pascal Bach
c8a96c9247 CMake: Add macro to help generate Packages from Poco 2014-10-14 17:58:46 +02:00
Pascal Bach
7950001803 cmake: Cleanup CMakeLists.txt for all components
- Add missing CMakeLists.txt
- Use POCO_ macros to improve code structure in XCode/VisualStudio
- Better ODBC detection
- Remove unnecessary commented out code

The CMake documentation recommends explicitly listing source files, but because CMake is not the primary build system GLOB patterns are used for the moment.
2014-08-22 17:11:03 +02:00
Pascal Bach
65fcaf65a0 cmake: Rework top level CMake file
- Allow enable/disable components
2014-08-22 17:11:03 +02:00
Pascal Bach
2be8dc0fee cmake: add find modules for PCRE and SQLite3
Reviewed-by: Roger Meier <r.meier@siemens.com>
2014-07-10 09:15:06 +02:00
Taylor Braun-Jones
f0e894ff10 Check for ODBC headers in addition to checking for odbc_config tool 2013-09-11 09:20:13 -06: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