mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
Meta: Add flags for compilation and testing of js
This commit adds flags necessary for compilation and testing of js.exe. The stack size is increased to match linux.
This commit is contained in:
parent
96c197faf1
commit
550aace91c
Notes:
github-actions[bot]
2025-05-29 09:27:39 +00:00
Author: https://github.com/R-Goc
Commit: 550aace91c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4774
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/trflynn89
1 changed files with 3 additions and 0 deletions
|
@ -61,12 +61,15 @@ if (WIN32)
|
|||
add_compile_definitions(NAME_MAX=255)
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
add_compile_options(-Wno-deprecated-declarations)
|
||||
add_compile_definitions(_WIN32_WINNT=0x0A00)
|
||||
endif()
|
||||
|
||||
if (MSVC)
|
||||
add_cxx_compile_options(/W4)
|
||||
# disable exceptions
|
||||
add_cxx_compile_options(/EHs-)
|
||||
# increase stack size reserve to match linux
|
||||
add_link_options(/STACK:0x800000)
|
||||
# disable floating-point expression contraction
|
||||
add_cxx_compile_options(/fp:precise)
|
||||
else()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue