LibJS: Precompile Heap.h and GlobalObject.h
This is somewhat noticable difference (~10s), as these two headers are basically included in every single JS file anyway.
This commit is contained in:
parent
468ac11f29
commit
f90a1f83ed
Notes:
sideshowbarker
2024-07-18 19:18:28 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/f90a1f83ed4 Pull-request: https://github.com/SerenityOS/serenity/pull/6529
1 changed files with 3 additions and 0 deletions
|
@ -93,3 +93,6 @@ set(SOURCES
|
|||
|
||||
serenity_lib(LibJS js)
|
||||
target_link_libraries(LibJS LibM LibCore LibCrypto LibRegex LibSyntax)
|
||||
|
||||
serenity_add_precompiled_header_to_target(LibJS ${CMAKE_CURRENT_SOURCE_DIR}/Heap/Heap.h)
|
||||
serenity_add_precompiled_header_to_target(LibJS ${CMAKE_CURRENT_SOURCE_DIR}/Runtime/GlobalObject.h)
|
||||
|
|
Loading…
Add table
Reference in a new issue