Kefu Chai
882e7eca25
build: cmake: set compile options with generator expression
...
instead of using a single compile option for all modes, use per-mode
compile options. this change keeps us away from using `CMAKE_BUILD_TYPE`
directly, and prepares us for the multi-config generator support.
because we only apply these settings in the configurations where
sanitizers are used, there is no need to check if these option can be
accepted by the compiler. if this turns out to be a problem, we can
always add the check back on a per-mode basis.
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com >
2023-11-07 10:35:20 +08:00
..
2023-10-19 10:56:38 +03:00
2023-09-21 20:18:49 +03:00
2023-11-05 20:47:44 +02:00
2023-07-03 19:45:17 +03:00
2023-10-31 18:34:41 +03:00
2023-09-26 17:26:14 +03:00
2023-06-22 14:21:03 +03:00
2023-03-08 16:18:23 +02:00
2023-04-27 10:24:46 +03:00
2023-02-28 22:26:43 +02:00
2023-11-07 10:35:20 +08:00
2023-07-03 19:45:17 +03:00
2023-07-03 19:45:17 +03:00
2023-02-19 21:05:45 +02:00
2023-07-14 15:42:58 +03:00
2023-07-14 15:42:58 +03:00
2023-05-10 19:10:29 +03:00
2023-03-12 14:04:34 +02:00
2023-08-17 15:52:48 +03:00
2023-09-25 17:18:53 +02:00
2023-05-02 11:23:58 +03:00
2023-06-22 14:21:03 +03:00
2023-06-12 10:41:04 +03:00
2023-06-22 14:21:03 +03:00
2023-06-12 10:41:04 +03:00
2023-07-14 15:42:58 +03:00
2023-07-14 15:42:58 +03:00
2023-09-25 17:18:53 +02:00
2023-09-25 17:18:53 +02:00
2023-04-27 10:24:46 +03:00
2023-02-04 02:13:34 +02:00
2023-01-16 21:10:56 +02:00
2023-10-31 18:34:41 +03:00
2023-09-08 13:23:50 +03:00
2023-05-07 17:17:36 +03:00
2023-05-07 17:17:36 +03:00
2023-05-07 17:17:36 +03:00
2023-06-22 14:21:03 +03:00
2023-06-12 10:41:04 +03:00
2023-10-31 18:34:41 +03:00
2023-10-05 22:26:08 +03:00
2023-02-19 21:05:45 +02:00
2023-08-04 07:37:12 +02:00
2023-05-10 15:03:12 +03:00
2023-06-22 14:21:03 +03:00
2023-03-08 16:18:23 +02:00
2023-06-22 14:21:03 +03:00
2023-06-12 10:41:04 +03:00
2023-03-23 01:41:58 +01:00
2023-03-23 01:41:58 +01:00
2023-06-22 14:21:03 +03:00
2023-07-14 18:33:06 +03:00
2023-01-16 21:10:56 +02:00
2023-02-19 21:05:45 +02:00