mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +00:00
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
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
Add a link
Reference in a new issue