| ... | @@ -923,8 +923,11 @@ if(MSVC OR MINGW) | ... | @@ -923,8 +923,11 @@ if(MSVC OR MINGW) |
| 923 | endif() | 923 | endif() |
| 924 | | 924 | |
| 925 | | 925 | |
| 926 | # "-Dno-langref" and "-Dstd-docs=false" are hardcoded because they take too long to build. | 926 | # "-Dno-langref" is hardcoded because stage2 builds lack the `@cImport` |
| 927 | # To obtain these two forms of documentation, run zig build against stage3 rather than stage2. | 927 | # feature, which some of the doctests rely on. |
| | 928 | |
| | 929 | # To obtain this document, run `zig build` against stage3 rather than stage2. |
| | 930 | # Note that the `langref` step can be used to isolate this task. |
| 928 | set(ZIG_BUILD_ARGS | 931 | set(ZIG_BUILD_ARGS |
| 929 | --zig-lib-dir "${PROJECT_SOURCE_DIR}/lib" | 932 | --zig-lib-dir "${PROJECT_SOURCE_DIR}/lib" |
| 930 | | 933 | |
| ... | @@ -936,7 +939,6 @@ set(ZIG_BUILD_ARGS | ... | @@ -936,7 +939,6 @@ set(ZIG_BUILD_ARGS |
| 936 | "-Dconfig_h=${ZIG_CONFIG_H_OUT}" | 939 | "-Dconfig_h=${ZIG_CONFIG_H_OUT}" |
| 937 | | 940 | |
| 938 | -Dno-langref | 941 | -Dno-langref |
| 939 | -Dstd-docs=false | | |
| 940 | ) | 942 | ) |
| 941 | | 943 | |
| 942 | if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") | 944 | if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") |