Viktor Szakats
7129ea9ca8
cmake: add and test "unity" builds
...
"Unity" (aka "jumbo", aka "amalgamation" builds concatenate source files
before compiling. It has these benefits for example: faster builds,
improved code optimization, cleaner code. Let's support and test this.
- enable unity builds for some existing CI builds to test this build
scenario.
- tune `UNITY_BUILD_BATCH_SIZE` size.
- disable unity build for example and test programs (they use one source
each already).
You can enable it by passing `-DCMAKE_UNITY_BUILD=ON` to cmake.
Supported by CMake 3.16 and newer.
Ref: https://cmake.org/cmake/help/latest/prop_tgt/UNITY_BUILD.html
Closes #1034
2023-05-07 10:03:20 +00:00
..
2023-05-03 01:45:59 +00:00
2023-04-14 11:07:53 +00:00
2023-05-03 13:07:15 +00:00
2023-05-07 10:03:20 +00:00
2023-05-03 12:56:36 +00:00
2016-08-14 16:03:25 +01:00
2016-08-14 16:03:25 +01:00
2016-08-14 16:03:25 +01:00
2016-08-14 16:03:25 +01:00
2021-05-12 09:13:19 -07:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-24 21:28:28 +00:00
2018-08-02 14:00:25 -07:00
2018-08-02 14:00:25 -07:00
2023-04-24 21:28:28 +00:00
2016-08-14 16:03:25 +01:00
2017-03-02 00:51:37 +01:00
2017-03-02 00:51:37 +01:00
2018-08-02 14:00:25 -07:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2016-08-14 16:03:25 +01:00
2023-05-05 20:39:58 +00:00
2023-05-03 19:15:16 +00:00
2023-05-03 12:56:36 +00:00
2023-05-03 12:30:38 +00:00
2023-05-03 12:30:38 +00:00
2023-05-03 12:30:38 +00:00
2023-04-07 23:44:43 +00:00
2023-05-05 20:39:58 +00:00
2023-05-03 12:30:38 +00:00
2023-04-16 22:50:01 +00:00
2023-05-03 01:13:07 +00:00
2023-04-27 14:19:03 +00:00
2023-04-24 21:28:28 +00:00
2023-04-16 22:50:01 +00:00
2023-04-27 14:19:03 +00:00
2023-04-27 14:19:03 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-16 22:50:01 +00:00
2023-04-20 09:44:56 +00:00
2023-04-20 09:44:56 +00:00
2023-04-20 09:44:56 +00:00
2023-04-20 09:44:56 +00:00
2023-04-16 22:50:01 +00:00
2023-04-17 14:30:51 +00:00
2023-05-03 15:01:53 +00:00
2023-04-24 21:28:28 +00:00
2023-05-03 01:13:07 +00:00
2023-04-17 14:30:51 +00:00
2023-05-03 13:07:13 +00:00
2023-05-03 19:15:16 +00:00