Skip to content

Commit 81ffcb7

Browse files
authored
chore: add ADA_TOOLS option (#413)
1 parent beadd60 commit 81ffcb7

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/emscripten.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Checkout
3333
uses: actions/checkout@v3
3434
- name: Configure
35-
run: emcmake cmake -B buildwasm
35+
run: emcmake cmake -B buildwasm -D ADA_TOOLS=OFF
3636
- name: Build
3737
run: cmake --build buildwasm
3838
- name: Test

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ include(GNUInstallDirs)
6969

7070
if(NOT ADA_COVERAGE AND NOT EMSCRIPTEN)
7171
add_subdirectory(singleheader)
72+
endif()
73+
74+
if(ADA_TOOLS)
7275
add_subdirectory(tools)
7376
endif()
7477

cmake/ada-flags.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ if(ADA_SANITIZE_UNDEFINED)
1212
message(STATUS "Undefined sanitizer enabled.")
1313
endif()
1414
option(ADA_COVERAGE "Compute coverage" OFF)
15+
option(ADA_TOOLS "Build cli tools (adaparse)" ON)
1516

1617
if (ADA_COVERAGE)
1718
message(STATUS "You want to compute coverage. We assume that you have installed gcovr.")

0 commit comments

Comments
 (0)