1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-20 02:42:09 +03:00
Files
libssh2/tests
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-04-14 11:07:53 +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
2023-04-24 21:28:28 +00:00
2023-04-24 21:28:28 +00:00
2016-08-14 16:03:25 +01:00
2018-08-02 14:00:25 -07:00
2016-08-14 16:03:25 +01:00
2023-05-03 12:56:36 +00:00