Unreviewed. Do not run gtk-doc when building with GTK4
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Apr 2020 12:28:39 +0000 (12:28 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Apr 2020 12:28:39 +0000 (12:28 +0000)
It's not supported yet.

* Source/PlatformGTK.cmake:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@260122 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
Source/PlatformGTK.cmake

index cc959cb..996d226 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2020-04-15  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        Unreviewed. Do not run gtk-doc when building with GTK4
+
+        It's not supported yet.
+
+        * Source/PlatformGTK.cmake:
+
 2020-04-13  Adrian Perez de Castro  <aperez@igalia.com>
 
         [GTK][CMake] Introduce an USE_GTK4 build option
index 7942d57..1f33421 100644 (file)
@@ -35,7 +35,8 @@ elseif (NOT ENABLED_COMPILER_SANITIZERS AND NOT CMAKE_CROSSCOMPILING AND NOT APP
     # Add a default build step which check that documentation does not have any warnings
     # or errors. This is useful to prevent breaking documentation inadvertently during
     # the course of development.
-    if (DEVELOPER_MODE)
+    # FIXME: Add support for gtk-doc when building with GTK4.
+    if (DEVELOPER_MODE AND NOT USE_GTK4)
         ADD_GTKDOC_GENERATOR("docs-build-no-html.stamp" "--gtk;--skip-html")
         add_custom_target(gtkdoc-no-html ALL DEPENDS "${CMAKE_BINARY_DIR}/docs-build-no-html.stamp")
     endif ()