summaryrefslogtreecommitdiff
path: root/Meta/CMake/lagom_compile_options.cmake
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2022-08-28 17:47:03 -0600
committerAndreas Kling <kling@serenityos.org>2022-09-09 11:23:42 +0200
commit5ab3fcf71020ad01d82c765d706cd253429305e8 (patch)
tree05a370714ac01dabb857a77c68fd4b523258de9d /Meta/CMake/lagom_compile_options.cmake
parent72ae082ca8447d5fddb1048175e8c96ad85ee95d (diff)
downloadserenity-5ab3fcf71020ad01d82c765d706cd253429305e8.zip
Meta: Update jakt build support for fully bootstrapped compiler
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.
Diffstat (limited to 'Meta/CMake/lagom_compile_options.cmake')
-rw-r--r--Meta/CMake/lagom_compile_options.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Meta/CMake/lagom_compile_options.cmake b/Meta/CMake/lagom_compile_options.cmake
index 79cc587ff1..140c1f51ca 100644
--- a/Meta/CMake/lagom_compile_options.cmake
+++ b/Meta/CMake/lagom_compile_options.cmake
@@ -4,6 +4,7 @@ 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)