CMake: Add ENABLE_GUI_TARGETS option to enable disabling GUI components

This is useful when, e.g. building the test262 runner on its own.
This commit is contained in:
Andrew Kaster
2024-07-07 09:24:34 -06:00
parent 22d7aa53fa
commit 62268cca9e
5 changed files with 39 additions and 21 deletions

View File

@@ -99,7 +99,7 @@ jobs:
-DCMAKE_CXX_COMPILER=g++-13 \
-DWASM_SPEC_TEST_SKIP_FORMATTING=ON \
-DINCLUDE_WASM_SPEC_TESTS=ON \
-DENABLE_QT=OFF
-DENABLE_GUI_TARGETS=OFF
ninja -C libjs-test262/Build test262-runner test-js test-wasm
- name: Run test262 and test262-parser-tests