mirror of
https://github.com/stenzek/duckstation.git
synced 2026-04-05 21:50:48 +00:00
CMake: Report CFLAGS in summary
This commit is contained in:
@@ -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.")
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user