This PR tries to follow what's in the current makefile. It adds options to enable NCHECK, FULLCHECK, etc.
It contains many comments for install related code because I'm trying to figure out how to do this right. I kept those comments because they maybe useful to people not familiar to CMake (also for myself in the future).
Note I have only tested this on Linux x86_64 as I don't have access to ARM and PowerPC machines.
Found there's a CMakeLists.txt created in https://github.com/microsoft/vcpkg/pull/10317, which is based on ClickHouse's version.
This PR tries to follow what's in the current makefile. It adds options to enable
NCHECK
,FULLCHECK
, etc.It contains many comments for install related code because I'm trying to figure out how to do this right. I kept those comments because they maybe useful to people not familiar to CMake (also for myself in the future).
Note I have only tested this on Linux x86_64 as I don't have access to ARM and PowerPC machines.