diff options
| author | 2022-04-29 11:38:59 +0200 | |
|---|---|---|
| committer | 2022-04-29 11:38:59 +0200 | |
| commit | cdbb6104b1351471e6792cc96f82eae92539c5bf (patch) | |
| tree | 5509b5412a9a1803c98618ed82aa6968963e30a2 | |
| parent | 97fa9183c28f63dd37572a266a9c56e556c3660b (diff) | |
| download | OneRoll-cdbb6104b1351471e6792cc96f82eae92539c5bf.tar.gz OneRoll-cdbb6104b1351471e6792cc96f82eae92539c5bf.zip | |
dice is compiled by default.
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/bin/CMakeLists.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7198d92..13998a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(diceparser VERSION 1.9.0 DESCRIPTION "Parser of dice command") include(CTest) -option(BUILD_CLI ON) +option(NO_BUILD_CLI OFF) option(NO_PAINTER_OPERATOR OFF) IF(BUILD_TESTING) diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt index 5e1ebd3..31037cd 100644 --- a/src/bin/CMakeLists.txt +++ b/src/bin/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.16) -if(BUILD_CLI) +if(NOT NO_BUILD_CLI) add_subdirectory(cli) -endif()
\ No newline at end of file +endif() |