2023-04-27 18:13:19 +02:00
|
|
|
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/)
|
2023-04-28 11:46:29 +02:00
|
|
|
include_directories(third-party/fmt/include)
|
2023-04-27 18:13:19 +02:00
|
|
|
|
|
|
|
add_subdirectory("third-party")
|
|
|
|
|
|
|
|
#=================== EXAMPLE ===================
|
|
|
|
|
|
|
|
add_executable(shadps4
|
|
|
|
src/main.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
find_package(OpenGL REQUIRED)
|
|
|
|
|
2023-04-28 13:36:05 +02:00
|
|
|
target_link_libraries(shadps4 PUBLIC fmt spdlog IMGUI SDL3-shared ${OPENGL_LIBRARY})
|