Skip to content

Commit

Permalink
Build: Log build type when running cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Aug 22, 2022
1 parent 4c2906f commit ce5ff41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Expand Up @@ -3,6 +3,7 @@ project(duckstation C CXX)

message("CMake Version: ${CMAKE_VERSION}")
message("CMake System Name: ${CMAKE_SYSTEM_NAME}")
message("Build Type: ${CMAKE_BUILD_TYPE}")

# Pull in modules.
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeModules/")
Expand Down Expand Up @@ -56,6 +57,7 @@ if(USE_WAYLAND)
endif()

if(ANDROID)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)
set(BUILD_NOGUI_FRONTEND OFF)
set(BUILD_QT_FRONTEND OFF)
set(BUILD_REGTEST OFF)
Expand Down

0 comments on commit ce5ff41

Please sign in to comment.