mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
5ab3fcf710
Remove the Corrosion dependency, and use the now-builtin add_jakt_executable function from the Jakt install rules to build our example application. By using find_package(Jakt), we now have to set ENABLE_JAKT manually on both serenity and Lagom at the same time, so the preferred method to do this for now is: cmake -B Build/superbuild<arch><toolchain> \ -S Meta/CMake/Superbuild \ -DENABLE_JAKT=ON \ -DJAKT_SOURCE_DIR=/path/to/jakt Where omitting JAKT_SOURCE_DIR will still pull from the main branch of SerenityOS/jakt. This can be done after runing Meta/serenity.sh run.
15 lines
593 B
CMake
15 lines
593 B
CMake
include(${CMAKE_CURRENT_LIST_DIR}/common_compile_options.cmake)
|
|
|
|
add_compile_options(-Wno-implicit-const-int-float-conversion)
|
|
add_compile_options(-Wno-literal-suffix)
|
|
add_compile_options(-Wno-maybe-uninitialized)
|
|
add_compile_options(-Wno-unknown-warning-option)
|
|
add_compile_options(-Wno-unused-command-line-argument)
|
|
add_compile_options(-fsigned-char)
|
|
add_compile_options(-fno-exceptions)
|
|
add_compile_options(-fdiagnostics-color=always)
|
|
add_compile_options(-fPIC -g1)
|
|
add_compile_options(-O2)
|
|
if (NOT ENABLE_FUZZERS AND NOT APPLE)
|
|
add_compile_options(-fno-semantic-interposition)
|
|
endif()
|