diff options
Diffstat (limited to '')
| -rw-r--r-- | src/citra_qt/CMakeLists.txt | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/src/citra_qt/CMakeLists.txt b/src/citra_qt/CMakeLists.txt index 7f880df8b..5ce4e3f16 100644 --- a/src/citra_qt/CMakeLists.txt +++ b/src/citra_qt/CMakeLists.txt | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | set(CMAKE_AUTOMOC ON) | ||
| 2 | set(CMAKE_INCLUDE_CURRENT_DIR ON) | ||
| 3 | |||
| 1 | set(SRCS | 4 | set(SRCS |
| 2 | bootmanager.cpp | 5 | bootmanager.cpp |
| 3 | debugger/callstack.cpp | 6 | debugger/callstack.cpp |
| @@ -10,6 +13,7 @@ set(SRCS | |||
| 10 | main.cpp | 13 | main.cpp |
| 11 | config/controller_config.cpp | 14 | config/controller_config.cpp |
| 12 | config/controller_config_util.cpp) | 15 | config/controller_config_util.cpp) |
| 16 | |||
| 13 | set (HEADERS | 17 | set (HEADERS |
| 14 | bootmanager.hxx | 18 | bootmanager.hxx |
| 15 | debugger/callstack.hxx | 19 | debugger/callstack.hxx |
| @@ -18,12 +22,6 @@ set (HEADERS | |||
| 18 | debugger/registers.hxx | 22 | debugger/registers.hxx |
| 19 | hotkeys.hxx | 23 | hotkeys.hxx |
| 20 | main.hxx | 24 | main.hxx |
| 21 | ui_callstack.h | ||
| 22 | ui_controller_config.h | ||
| 23 | ui_disassembler.h | ||
| 24 | ui_hotkeys.h | ||
| 25 | ui_main.h | ||
| 26 | ui_registers.h | ||
| 27 | version.h | 25 | version.h |
| 28 | config/controller_config.hxx | 26 | config/controller_config.hxx |
| 29 | config/controller_config_util.hxx) | 27 | config/controller_config_util.hxx) |
| @@ -36,28 +34,16 @@ qt4_wrap_ui(UI_HDRS | |||
| 36 | main.ui | 34 | main.ui |
| 37 | config/controller_config.ui) | 35 | config/controller_config.ui) |
| 38 | 36 | ||
| 39 | qt4_wrap_cpp(MOC_SRCS | ||
| 40 | bootmanager.hxx | ||
| 41 | debugger/callstack.hxx | ||
| 42 | debugger/disassembler.hxx | ||
| 43 | debugger/graphics.hxx | ||
| 44 | debugger/graphics_cmdlists.hxx | ||
| 45 | debugger/registers.hxx | ||
| 46 | debugger/ramview.hxx | ||
| 47 | hotkeys.hxx | ||
| 48 | main.hxx | ||
| 49 | config/controller_config.hxx | ||
| 50 | config/controller_config_util.hxx) | ||
| 51 | |||
| 52 | # add uic results to include directories | 37 | # add uic results to include directories |
| 53 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | 38 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) |
| 54 | include_directories(./) | ||
| 55 | 39 | ||
| 56 | add_executable(citra-qt ${SRCS} ${HEADERS} ${MOC_SRCS} ${UI_HDRS}) | 40 | add_executable(citra-qt ${SRCS} ${UI_HDRS}) |
| 57 | if (APPLE) | 41 | if (APPLE) |
| 58 | target_link_libraries(citra-qt core common video_core qhexedit iconv ${COREFOUNDATION_LIBRARY} ${QT_LIBRARIES} ${GLEW_LIBRARY} ${OPENGL_LIBRARIES}) | 42 | set(ICONV_LIBRARY iconv) |
| 59 | else() | 43 | else() |
| 60 | target_link_libraries(citra-qt core common video_core qhexedit ${QT_LIBRARIES} ${OPENGL_LIBRARIES} ${SDL2_LIBRARY} rt GLEW ${GLFW_LIBRARIES}) | 44 | set(RT_LIBRARY rt) |
| 61 | endif() | 45 | endif() |
| 62 | 46 | ||
| 47 | target_link_libraries(citra-qt core common video_core qhexedit ${ICONV_LIBRARY} ${COREFOUNDATION_LIBRARY} ${QT_LIBRARIES} ${OPENGL_LIBRARIES} ${RT_LIBRARY} ${GLEW_LIBRARY} ${GLFW_LIBRARIES}) | ||
| 48 | |||
| 63 | #install(TARGETS citra-qt RUNTIME DESTINATION ${bindir}) | 49 | #install(TARGETS citra-qt RUNTIME DESTINATION ${bindir}) |