Title: [222529] trunk
Revision
222529
Author
[email protected]
Date
2017-09-26 15:34:31 -0700 (Tue, 26 Sep 2017)

Log Message

CMake should reconfigure if the Sources.txt files are touched
https://bugs.webkit.org/show_bug.cgi?id=177508

Reviewed by JF Bastien.

* Source/cmake/WebKitMacros.cmake:

Modified Paths

Diff

Modified: trunk/ChangeLog (222528 => 222529)


--- trunk/ChangeLog	2017-09-26 22:28:43 UTC (rev 222528)
+++ trunk/ChangeLog	2017-09-26 22:34:31 UTC (rev 222529)
@@ -1,3 +1,12 @@
+2017-09-26  Keith Miller  <[email protected]>
+
+        CMake should reconfigure if the Sources.txt files are touched
+        https://bugs.webkit.org/show_bug.cgi?id=177508
+
+        Reviewed by JF Bastien.
+
+        * Source/cmake/WebKitMacros.cmake:
+
 2017-09-24  Keith Miller  <[email protected]>
 
         JSC build should use unified sources for derived sources

Modified: trunk/Source/cmake/WebKitMacros.cmake (222528 => 222529)


--- trunk/Source/cmake/WebKitMacros.cmake	2017-09-26 22:28:43 UTC (rev 222528)
+++ trunk/Source/cmake/WebKitMacros.cmake	2017-09-26 22:34:31 UTC (rev 222529)
@@ -3,9 +3,11 @@
 # WebCore), then put it there instead.
 
 macro(WEBKIT_COMPUTE_SOURCES _framework)
+    configure_file("${CMAKE_CURRENT_SOURCE_DIR}/Sources.txt" "${DERIVED_SOURCES_DIR}/${_framework}/Sources.txt" COPYONLY)
     set(_platformSourcesFile ${CMAKE_CURRENT_SOURCE_DIR}/Sources${PORT}.txt)
     if (EXISTS ${_platformSourcesFile})
         message(STATUS "Using platform specific source list file: ${_platformSourcesFile}")
+        configure_file("${_platformSourcesFile}" "${DERIVED_SOURCES_DIR}/${_framework}/${_platformSourcesFile}" COPYONLY)
     else ()
         unset(_platformSourcesFile)
     endif ()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to