2015-11-27 08:33:07 +00:00
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
|
|
|
|
add_definitions(-DQT_USE_QSTRINGBUILDER -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII)
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
|
|
|
|
set(SRCS
|
2015-12-20 05:24:48 +00:00
|
|
|
Host.cpp
|
2015-11-27 08:33:07 +00:00
|
|
|
Main.cpp
|
|
|
|
MainWindow.cpp
|
2015-12-20 05:24:48 +00:00
|
|
|
MenuBar.cpp
|
2015-11-27 08:33:07 +00:00
|
|
|
RenderWidget.cpp
|
|
|
|
Resources.cpp
|
2015-12-20 23:36:39 +00:00
|
|
|
Settings.cpp
|
2015-12-04 04:41:17 +00:00
|
|
|
ToolBar.cpp
|
2015-11-27 08:33:07 +00:00
|
|
|
GameList/GameFile.cpp
|
|
|
|
GameList/GameList.cpp
|
|
|
|
GameList/GameListModel.cpp
|
2015-12-20 05:24:48 +00:00
|
|
|
GameList/GameTracker.cpp
|
2015-12-04 04:41:17 +00:00
|
|
|
GameList/ListProxyModel.cpp
|
2015-12-20 05:24:48 +00:00
|
|
|
GameList/TableProxyModel.cpp
|
2015-11-27 08:33:07 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
list(APPEND LIBS core uicommon)
|
|
|
|
|
|
|
|
set(DOLPHINQT2_BINARY dolphin-emu-qt2)
|
|
|
|
|
|
|
|
add_executable(${DOLPHINQT2_BINARY} ${SRCS} ${UI_HEADERS})
|
|
|
|
target_link_libraries(${DOLPHINQT2_BINARY} ${LIBS} Qt5::Widgets)
|
|
|
|
|
|
|
|
install(TARGETS ${DOLPHINQT2_BINARY} RUNTIME DESTINATION ${bindir})
|