Commit Graph

3 Commits

Author SHA1 Message Date
Allen Winter
7ec2f31a46 buildsystem - generate PRI file for qmake users 2020-06-23 12:55:26 -04:00
Sergio Martins
11576c5455 ECM: Only set the sanitizers for DEBUG config
ECMEnableSanitizers isn't being friendly of multi generators, like
-G "Ninja Multi-Config" and is messing with global flags which is a no-no.
Instead it should be using a dedicated custom config IMHO.

With this change only debug will get the sanitizers, so you can for instance
build with -DCMAKE_CONFIGURATION_TYPES=Debug;RelWithDebInfo and have Debug
hardeneded with the sanitizers while the RelWithDebInfo without sanitizers,
ideal for profiling.
2020-05-10 17:49:20 +01:00
Laurent Montel
a9b17aee02 Add ECMEnableSanitizers to allow to compile it with ASAN support
Change-Id: Ia2d9fc073d716e1ed9d525fdfdbf762bedc80e3b
Reviewed-on: https://codereview.kdab.com/67814
Reviewed-by: Sérgio Martins <sergio@kdab.com>
2019-04-26 15:19:28 +02:00