mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-09 13:19:00 +00:00
first try with cmake and imgui
This commit is contained in:
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})
|
||||
Reference in New Issue
Block a user