mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2024-12-28 18:46:06 +00:00
21 lines
505 B
CMake
21 lines
505 B
CMake
cmake_minimum_required(VERSION 3.16.3)
|
|
|
|
project(shadps4)
|
|
|
|
include_directories(third-party/)
|
|
include_directories(third-party/imgui/)
|
|
include_directories(third-party/imgui/backends)
|
|
include_directories(third-party/sdl/)
|
|
include_directories(third-party/fmt/include)
|
|
|
|
add_subdirectory("third-party")
|
|
|
|
#=================== EXAMPLE ===================
|
|
|
|
add_executable(shadps4
|
|
src/main.cpp
|
|
)
|
|
|
|
find_package(OpenGL REQUIRED)
|
|
|
|
target_link_libraries(shadps4 PUBLIC fmt spdlog IMGUI SDL3-shared ${OPENGL_LIBRARY}) |