mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-01 04:35:59 +00:00
20 lines
449 B
CMake
20 lines
449 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/)
|
||
|
|
||
|
add_subdirectory("third-party")
|
||
|
|
||
|
#=================== EXAMPLE ===================
|
||
|
|
||
|
add_executable(shadps4
|
||
|
src/main.cpp
|
||
|
)
|
||
|
|
||
|
find_package(OpenGL REQUIRED)
|
||
|
|
||
|
target_link_libraries(shadps4 PUBLIC IMGUI SDL3-shared ${OPENGL_LIBRARY})
|