POCO_STATIC: has to be set when using poco as static library
POCO_NO_ATUMATIC_LIBS: CMake config module will find the correct libraries.
Don't need to guess in headers.
- 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.
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.