2017-10-10 09:26:08 +01:00
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
set(CMAKE_AUTOUIC ON)
|
|
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
|
2019-12-01 14:29:13 +00:00
|
|
|
add_subdirectory(QHexView)
|
|
|
|
|
2017-10-10 09:26:08 +01:00
|
|
|
add_executable(qapple
|
|
|
|
main.cpp
|
|
|
|
qapple.qrc
|
|
|
|
qapple.cpp
|
|
|
|
qresources.cpp
|
|
|
|
preferences.cpp
|
|
|
|
emulator.cpp
|
|
|
|
memorycontainer.cpp
|
|
|
|
gamepadpaddle.cpp
|
|
|
|
video.cpp
|
2019-11-24 17:34:37 +00:00
|
|
|
registry.cpp
|
2019-12-01 18:40:28 +00:00
|
|
|
options.cpp
|
2019-11-09 21:43:35 +00:00
|
|
|
loggingcategory.cpp
|
2019-12-01 14:29:13 +00:00
|
|
|
viewbuffer.cpp
|
2020-07-02 11:02:57 +01:00
|
|
|
qdirectsound.cpp
|
2017-10-10 09:26:08 +01:00
|
|
|
|
2019-12-01 14:29:13 +00:00
|
|
|
${QHEXVIEW_SOURCES}
|
2017-10-10 09:26:08 +01:00
|
|
|
)
|
|
|
|
|
2019-11-02 19:19:18 +00:00
|
|
|
find_package(Qt5 REQUIRED
|
2019-11-09 21:43:35 +00:00
|
|
|
COMPONENTS Widgets Gamepad Multimedia
|
2019-11-02 19:19:18 +00:00
|
|
|
)
|
|
|
|
|
2019-12-01 15:22:17 +00:00
|
|
|
target_link_libraries(qapple PRIVATE
|
2017-10-10 09:26:08 +01:00
|
|
|
Qt5::Widgets
|
|
|
|
Qt5::Gamepad
|
2019-11-09 21:43:35 +00:00
|
|
|
Qt5::Multimedia
|
2017-10-10 09:26:08 +01:00
|
|
|
appleii
|
|
|
|
)
|
2020-07-12 15:53:53 +01:00
|
|
|
|
2020-10-06 20:58:43 +01:00
|
|
|
install(TARGETS qapple
|
|
|
|
DESTINATION bin)
|