mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-29 14:53:18 +00:00
first try with cmake and imgui
This commit is contained in:
parent
71d14aca62
commit
222d0204db
7 changed files with 271 additions and 0 deletions
20
CMakeLists.txt
Normal file
20
CMakeLists.txt
Normal file
|
@ -0,0 +1,20 @@
|
|||
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})
|
Loading…
Add table
Add a link
Reference in a new issue