Alex Fabijanic
87ec631b4a
try to fix clang build (use libc++)
2017-10-24 21:03:08 -05:00
Alex Fabijanic
e4b8aa5967
increase cmake compiler versions for CXX1x
2017-10-24 17:58:06 -05:00
Alex Fabijanic
dea76c8e2e
add CXX1x compiler capability detection to cmake
2017-10-24 13:52:12 -05:00
Josh Blum
7dc24a2561
replace dl library with CMAKE_DL_LIBS
...
Some platforms do not have -ldl, specifically in this case freebsd.
The CMAKE_DL_LIBS is part of standard cmake and is supported
in the cmake_minimum_required() in the top level CMakeLists.txt
CMAKE_DL_LIBS will be -ldl on platforms that support it, or empty.
2017-03-14 12:58:54 -07:00
Günter Obiltschnig
3d1a094725
Merge pull request #1026 from zosrothko/Cygwin
...
Fixes for producing the poco-1.6.2 release on a Cygwin x86 platform
2016-02-28 15:29:08 +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
FrancisANDRE
603e43ee7d
Revert "Revert "avoid running SharedMemoryTest when POCO_NO_SHAREDMEMORY is defined.""
...
This reverts commit e1c0db371d
.
2015-11-10 14:19:06 +01:00
FrancisANDRE
e1c0db371d
Revert "avoid running SharedMemoryTest when POCO_NO_SHAREDMEMORY is defined."
...
This reverts commit 7d7bbfe5b2
.
2015-11-10 14:11:08 +01:00
FrancisANDRE
7d7bbfe5b2
avoid running SharedMemoryTest when POCO_NO_SHAREDMEMORY is defined.
...
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
2015-11-10 14:09:53 +01:00
Guenter Obiltschnig
e25a17030d
integrated CMake improvements from develop (GH #946 )
2015-09-26 11:11:23 +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