clio icon indicating copy to clipboard operation
clio copied to clipboard

Add cmake build types

Open kuznetsss opened this issue 1 year ago • 2 comments

Currently we have separately build types (provided by default cmake configuration) and manual compiler flags for different purposes such as sanitisers and code coverage. For example building clio with code coverage in Release mode doesn't make any sense because code coverage will work properly only in debug mode. We could resolve this by adding our custom build types like Debug, Release, RelWithDebInfo, Asan, Msan, Tsan, CodeCoverage and others.

kuznetsss avatar Jan 02 '24 16:01 kuznetsss

Also investigate and fix why our Release build type on macOS is honest Release and RelWithDebInfo on Linux.

kuznetsss avatar Jan 08 '24 16:01 kuznetsss

Conan doesn't support custom builds. It is also not possible to use sanitizers with conan without modifying settings.yml which is unwanted. Custom settings.yml would add an extra step to build Clio which is not friendly to contibutors.

kuznetsss avatar Mar 18 '24 11:03 kuznetsss