mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
CMake: Add public cmake option to document BUILD_LAGOM
- Making this an option makes this option visible to users and tooling.
This commit is contained in:
parent
40f671ac67
commit
43908db594
Notes:
sideshowbarker
2024-07-19 00:16:43 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/43908db594f Pull-request: https://github.com/SerenityOS/serenity/pull/4710
2 changed files with 3 additions and 2 deletions
4
.github/workflows/cmake.yml
vendored
4
.github/workflows/cmake.yml
vendored
|
@ -66,7 +66,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
mkdir -p Build
|
mkdir -p Build
|
||||||
cd Build
|
cd Build
|
||||||
cmake .. -GNinja -DBUILD_LAGOM=1 -DENABLE_ALL_THE_DEBUG_MACROS=ON
|
cmake .. -GNinja -DBUILD_LAGOM=ON -DENABLE_ALL_THE_DEBUG_MACROS=ON
|
||||||
|
|
||||||
# === ACTUALLY BUILD AND TEST ===
|
# === ACTUALLY BUILD AND TEST ===
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
mkdir -p Build
|
mkdir -p Build
|
||||||
cd Build
|
cd Build
|
||||||
cmake .. -GNinja -DBUILD_LAGOM=1 -DENABLE_ALL_THE_DEBUG_MACROS=ON -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10
|
cmake .. -GNinja -DBUILD_LAGOM=ON -DENABLE_ALL_THE_DEBUG_MACROS=ON -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10
|
||||||
|
|
||||||
# === ACTUALLY BUILD AND TEST ===
|
# === ACTUALLY BUILD AND TEST ===
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@ option(ENABLE_MEMORY_SANITIZER "Enable memory sanitizer testing in gcc/clang" FA
|
||||||
option(ENABLE_UNDEFINED_SANITIZER "Enable undefined behavior sanitizer testing in gcc/clang" FALSE)
|
option(ENABLE_UNDEFINED_SANITIZER "Enable undefined behavior sanitizer testing in gcc/clang" FALSE)
|
||||||
option(ENABLE_FUZZER_SANITIZER "Enable fuzzer sanitizer testing in clang" FALSE)
|
option(ENABLE_FUZZER_SANITIZER "Enable fuzzer sanitizer testing in clang" FALSE)
|
||||||
option(ENABLE_ALL_THE_DEBUG_MACROS "Enable all debug macros to validate they still compile" FALSE)
|
option(ENABLE_ALL_THE_DEBUG_MACROS "Enable all debug macros to validate they still compile" FALSE)
|
||||||
|
option(BUILD_LAGOM "Build parts of the system targeting the host OS for fuzzing/testing" FALSE)
|
||||||
|
|
||||||
add_custom_target(run
|
add_custom_target(run
|
||||||
COMMAND ${CMAKE_SOURCE_DIR}/Meta/run.sh
|
COMMAND ${CMAKE_SOURCE_DIR}/Meta/run.sh
|
||||||
|
|
Loading…
Reference in a new issue