CMake reworked
ENH: CMake reworked
- export and install targets
- export and install config and version file It should now work with FetchContent/add_subdirectory as well as with Add_ExternalProject. Only partially tested. Also added export of version in header file (keeping it header only).