CMake: Report CFLAGS in summary

This commit is contained in:
Stenzek
2026-02-25 16:16:58 +10:00
parent 89bcb5146c
commit 0eadf1456d
3 changed files with 5 additions and 2 deletions

View File

@@ -1,4 +1,7 @@
message(STATUS "Build Type: ${CMAKE_BUILD_TYPE}")
string(TOUPPER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_UPPER)
message(STATUS "C Flags: ${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE_UPPER}}")
message(STATUS "CXX Flags: ${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE_UPPER}}")
if(ENABLE_OPENGL)
message(STATUS "Building with OpenGL support.")

View File

@@ -68,7 +68,7 @@ find_package(freetype 2.14.1 REQUIRED
find_package(harfbuzz REQUIRED
NO_DEFAULT_PATH PATHS "${DEPS_PATH}/lib/cmake/harfbuzz")
find_package(plutosvg 0.0.7 REQUIRED
PATHS "${DEPS_PATH}/lib/cmake/plutosvg")
NO_DEFAULT_PATH PATHS "${DEPS_PATH}/lib/cmake/plutosvg")
find_package(cpuinfo REQUIRED
NO_DEFAULT_PATH PATHS "${DEPS_PATH}/lib/cmake/cpuinfo")
find_package(DiscordRPC 3.4.0 REQUIRED

View File

@@ -184,7 +184,7 @@ Each release includes the latest version of the database, however you are free t
Requirements:
- Visual Studio 2026 or newer with the "Desktop development with C++" workload installed.
1. Clone the respository: `git clone https://github.com/stenzek/duckstation.git`.
1. Clone the repository: `git clone https://github.com/stenzek/duckstation.git`.
2. Download the dependencies pack from https://github.com/duckstation/dependencies. You'll need the `deps-windows-x64.7z` file, and `deps-windows-arm64.7z` if you want to cross-compile for ARM64. Extract these archives to `dep\prebuilt`.
3. Open the Visual Studio solution `duckstation.sln` in the root (recommended), or "Open Folder" for CMake build (not recommended/supported).
4. Build solution.