Commit Graph

17 Commits

Author SHA1 Message Date
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
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