cmake: read the version information from VERSION

The version inforamtion for CMake is extracted from the VERSION file not hardcoded in CMakeLists.txt

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: add find modules for PCRE and SQLite3

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: cleanup top CMake file

- use lower case commands
- use find_package(*) instead of include(Find*)
- rearange find_package commands closer to where they are used

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: CppUnit cleanup

- explicitly list source files

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: Crypto cleanup

- explicitly list files
- add OpenSSL include directory to include path
- remove unused code

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: Data cleanup

- explicitly list files
- use find_package for MySQL and ODBC
- remove unused code
- remove unnecessary include dirs
- support unbundled SQLite3
- replace tabs by spaces

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: Foundation cleanup

- add NumericString.cpp to source files
- support unbundled pcre and zlib
- add OpcomChannel to OPENVMS_SRC for later OpenVMS support
-

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: JSON cleanup

- explicitly list files

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: MongoDB cleanup

- explicitly list files

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: NetSSL cleanup

- explicitly list files

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: PDF cleanup

- explicitly list files
- support unbundled zlib
- prepare for unbundled hpdf and libpng

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: SevenZip add CMake support

- prepare for unbundled 7z

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: Util cleanup

- replace tabs by spaces

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: XML cleanup

- explicitly list files
- support unbundled expat
- support POCO_STATIC

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: Zip cleanup

- explicitly list files

Reviewed-by: Roger Meier <r.meier@siemens.com>
cmake: read shared library version from libversion
Merge pull request #492 from siemens/cmake

Cmake Cleanup