1 | // [Blend2D] |
---|---|
2 | // 2D Vector Graphics Powered by a JIT Compiler. |
3 | // |
4 | // [License] |
5 | // Zlib - See LICENSE.md file in the package. |
6 | |
7 | #include <blend2d/blapi-build_p.h> |
8 | #include <blend2d/blruntime.h> |
9 | |
10 | // ============================================================================ |
11 | // [Main] |
12 | // ============================================================================ |
13 | |
14 | int main(int argc, const char* argv[]) { |
15 | BLRuntimeBuildInfo buildInfo; |
16 | BLRuntime::queryBuildInfo(&buildInfo); |
17 | |
18 | INFO( |
19 | "Blend2D Unit Tests [use --help for command line options]\n" |
20 | " Version : %u.%u.%u\n" |
21 | " Build Type : %s\n" |
22 | " Compiled By: %s\n\n", |
23 | buildInfo.majorVersion, |
24 | buildInfo.minorVersion, |
25 | buildInfo.patchVersion, |
26 | buildInfo.buildType == BL_RUNTIME_BUILD_TYPE_DEBUG ? "Debug": "Release", |
27 | buildInfo.compilerInfo); |
28 | |
29 | return BrokenAPI::run(argc, argv); |
30 | } |
31 |