cmake for instalation and configuration from user code