Update CMakeLists.txt (added more comments and other stuff)

This commit is contained in:
Lyelye150 2025-10-19 00:56:31 -04:00 committed by GitHub
parent 6370542b4f
commit de9802e89e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,10 +71,10 @@ option(ISLE_WERROR "Treat warnings as errors" OFF)
option(ISLE_DEBUG "Enable imgui debug" ON)
cmake_dependent_option(ISLE_USE_DX5 "Build with internal DirectX 5 SDK" "${NOT_MINGW}" "WIN32;CMAKE_SIZEOF_VOID_P EQUAL 4" OFF)
cmake_dependent_option(ISLE_MINIWIN "Use miniwin" ON "NOT ISLE_USE_DX5" OFF)
cmake_dependent_option(ISLE_EXTENSIONS "Use extensions" OFF "NOT ISLE_USE_DX5;NOT WINDOWS_STORE" OFF) # ALSO OFF FOR NOW
cmake_dependent_option(ISLE_EXTENSIONS "Use extensions" ON "NOT ISLE_USE_DX5;NOT WINDOWS_STORE" OFF)
cmake_dependent_option(ISLE_BUILD_CONFIG "Build CONFIG.EXE application" ON "MSVC OR ISLE_MINIWIN;NOT NINTENDO_3DS;NOT WINDOWS_STORE" OFF)
cmake_dependent_option(ISLE_COMPILE_SHADERS "Compile shaders" ON "SDL_SHADERCROSS_BIN;TARGET Python3::Interpreter" OFF)
option(CMAKE_POSITION_INDEPENDENT_CODE "Build with -fPIC" OFF) # WUT/WIIU DOES NOT LIKE -fPIC
option(CMAKE_POSITION_INDEPENDENT_CODE "Build with -fPIC" ON) # WUT/WIIU DOES NOT LIKE -fPIC (ITS OFF ON CI BUILDS)
option(ENABLE_CLANG_TIDY "Enable clang-tidy")
option(DOWNLOAD_DEPENDENCIES "Download dependencies" ON)
option(USE_SDL2 "Use SDL2 instead of SDL3 via a shim" OFF)