mirror of
https://github.com/RGBCube/serenity
synced 2025-10-18 03:42:07 +00:00
![]() After running a build command, make by default stat()s the command's output, and if it wasn't touched, then it cancels all build steps that were scheduled only because this command was expected to change the output. Ninja has the same feature, but it's opt-in behind the per-command "restat = 1" setting. However, CMake enables it by default for all custom commands. Use Meta/write-only-on-difference.sh to write the output to a temporary file, and then copy the temporary file only to the final location if the contents of the output have changed since last time. write-only-on-difference.sh automatically creates the output's parent directory, so stop doing that in CMake. Reduces the number of build steps that run after touching a file in LibCore from 522 to 312. Since we now no longer trigger the CMake special case "If COMMAND specifies an executable target name (created by the add_executable() command), it will automatically be replaced by the location of the executable created at build time", we now need to use qualified paths to the generators. Somewhat related to #2877. |
||
---|---|---|
.. | ||
Bindings | ||
CodeGenerators | ||
CSS | ||
DOM | ||
HTML | ||
Layout | ||
Loader | ||
Page | ||
Painting | ||
Scripts | ||
SVG | ||
Tests | ||
UIEvents | ||
CMakeLists.txt | ||
DOMTreeModel.cpp | ||
DOMTreeModel.h | ||
Dump.cpp | ||
Dump.h | ||
FontCache.cpp | ||
FontCache.h | ||
Forward.h | ||
LayoutTreeModel.cpp | ||
LayoutTreeModel.h | ||
Origin.h | ||
PageView.cpp | ||
PageView.h | ||
StylePropertiesModel.cpp | ||
StylePropertiesModel.h | ||
TreeNode.h | ||
URLEncoder.cpp | ||
URLEncoder.h | ||
WebContentClient.cpp | ||
WebContentClient.h | ||
WebContentView.cpp | ||
WebContentView.h | ||
WebViewHooks.h |