authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-03-06 23:32:41-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-03-10 17:51:07-07:00
logc19657d65c810ed19a934d7a854564d111eb222e
treebdc755a7a81dd5fed0dd984059a3c1d51ea0d88a
parent60f1fe5e608f35d55677f5481b31173f6d4261a9

cmake: remove -Dno-autodocs

this is now the default

1 files changed, 0 insertions(+), 3 deletions(-)

CMakeLists.txt-3
...@@ -907,8 +907,6 @@ else()...@@ -907,8 +907,6 @@ else()
907endif()907endif()
908908
909# -Dno-langref is currently hardcoded because building the langref takes too damn long909# -Dno-langref is currently hardcoded because building the langref takes too damn long
910# -Dno-autodocs is currently hardcoded because the C backend generates a miscompilation
911# that prevents it from working.
912# To obtain these two forms of documentation, run zig build against stage3 rather than stage2.910# To obtain these two forms of documentation, run zig build against stage3 rather than stage2.
913set(ZIG_BUILD_ARGS911set(ZIG_BUILD_ARGS
914 --zig-lib-dir "${CMAKE_SOURCE_DIR}/lib"912 --zig-lib-dir "${CMAKE_SOURCE_DIR}/lib"
...@@ -918,7 +916,6 @@ set(ZIG_BUILD_ARGS...@@ -918,7 +916,6 @@ set(ZIG_BUILD_ARGS
918 ${ZIG_STATIC_ARG}916 ${ZIG_STATIC_ARG}
919 ${ZIG_NO_LIB_ARG}917 ${ZIG_NO_LIB_ARG}
920 "-Dno-langref"918 "-Dno-langref"
921 "-Dno-autodocs"
922 ${ZIG_SINGLE_THREADED_ARG}919 ${ZIG_SINGLE_THREADED_ARG}
923 ${ZIG_PIE_ARG}920 ${ZIG_PIE_ARG}
924 "-Dtarget=${ZIG_TARGET_TRIPLE}"921 "-Dtarget=${ZIG_TARGET_TRIPLE}"