Skip to content

Commit

Permalink
update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
FayeSpica committed Jun 3, 2024
1 parent c21d2b6 commit 10c0338
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ macro(tri_option name desc default)
set_property(CACHE "${name}" PROPERTY STRINGS AUTO ON OFF)
endmacro()

option(CHIAKI_ENABLE_TESTS "Enable tests for Chiaki" ON)
option(CHIAKI_ENABLE_TESTS "Enable tests for Chiaki" OFF)
option(CHIAKI_ENABLE_CLI "Enable CLI for Chiaki" OFF)
option(CHIAKI_ENABLE_GUI "Enable Qt GUI" ON)
option(CHIAKI_ENABLE_ANDROID "Enable Android (Use only as part of the Gradle Project)" OFF)
option(CHIAKI_ENABLE_GUI2 "Enable Borealis GUI (For Nintendo Switch or PC)" OFF)
option(CHIAKI_ENABLE_GUI2 "Enable Borealis GUI (For Nintendo Switch or PC)" ON)
tri_option(CHIAKI_ENABLE_SETSU "Enable libsetsu for touchpad input from controller" AUTO)
option(CHIAKI_LIB_ENABLE_OPUS "Use Opus as part of Chiaki Lib" ON)
if(CHIAKI_ENABLE_GUI OR CHIAKI_ENABLE_GUI2)
if(CHIAKI_ENABLE_GUI2)
set(CHIAKI_FFMPEG_DEFAULT ON)
else()
set(CHIAKI_FFMPEG_DEFAULT AUTO)
Expand Down Expand Up @@ -124,12 +123,6 @@ else()
message(STATUS "FFMPEG Decoder disabled")
endif()

if(CHIAKI_ENABLE_PI_DECODER)
message(STATUS "Pi Decoder enabled")
else()
message(STATUS "Pi Decoder disabled")
endif()

add_subdirectory(lib)

if(CHIAKI_ENABLE_CLI)
Expand Down Expand Up @@ -169,19 +162,11 @@ else()
message(STATUS "Setsu disabled")
endif()

if(CHIAKI_ENABLE_GUI)
add_subdirectory(gui)
endif()

if(CHIAKI_ENABLE_TESTS)
enable_testing()
add_subdirectory(test)
endif()

if(CHIAKI_ENABLE_ANDROID)
add_subdirectory(android/app)
endif()

if(CHIAKI_ENABLE_GUI2)
add_subdirectory(gui2)
endif()

0 comments on commit 10c0338

Please sign in to comment.