vanilla/app/CMakeLists.txt

40 lines
807 B
Text
Raw Normal View History

2024-05-23 21:47:04 -04:00
find_package(Qt6 REQUIRED COMPONENTS Core Widgets Multimedia OpenGLWidgets)
2024-05-09 14:02:08 -04:00
find_package(SDL2 REQUIRED)
find_package(FFmpeg REQUIRED COMPONENTS avcodec avutil avfilter)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
2024-05-09 14:02:08 -04:00
2024-05-09 23:53:31 -04:00
add_executable(vanilla-gui
2024-05-15 18:19:57 -04:00
audiohandler.cpp
backend.cpp
gamepadhandler.cpp
2024-05-20 23:25:55 -04:00
keymap.cpp
inputconfigdialog.cpp
2024-05-09 14:02:08 -04:00
syncdialog.cpp
syncprogressdialog.cpp
main.cpp
mainwindow.cpp
2024-05-20 23:25:55 -04:00
resource.qrc
videodecoder.cpp
viewer.cpp
2024-05-09 14:02:08 -04:00
)
2024-05-09 23:53:31 -04:00
target_link_libraries(vanilla-gui PRIVATE
2024-05-09 14:02:08 -04:00
Qt6::Core
Qt6::Widgets
Qt6::Multimedia
Qt6::OpenGLWidgets
2024-05-09 14:02:08 -04:00
SDL2
2024-05-09 23:53:31 -04:00
vanilla
FFmpeg::avcodec
FFmpeg::avutil
FFmpeg::avfilter
2024-05-09 14:02:08 -04:00
)
2024-05-09 23:53:31 -04:00
target_include_directories(vanilla-gui PRIVATE
2024-05-23 21:47:04 -04:00
"${CMAKE_SOURCE_DIR}/lib"
)
install(TARGETS vanilla-gui)