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)
|
|
|
|
|
2021-01-11 20:39:17 +00:00
|
|
|
find_package(Qt5 REQUIRED
|
|
|
|
COMPONENTS Widgets Gamepad Multimedia
|
|
|
|
)
|
|
|
|
|
2019-12-01 14:29:13 +00:00
|
|
|
add_subdirectory(QHexView)
|
|
|
|
|
2021-01-12 12:52:26 +00:00
|
|
|
set(SOURCE_FILES
|
2017-10-10 09:26:08 +01:00
|
|
|
main.cpp
|
|
|
|
qapple.cpp
|
|
|
|
preferences.cpp
|
|
|
|
emulator.cpp
|
|
|
|
memorycontainer.cpp
|
|
|
|
gamepadpaddle.cpp
|
2020-12-28 20:00:16 +00:00
|
|
|
qvideo.cpp
|
2020-12-27 19:43:35 +00:00
|
|
|
configuration.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
|
2021-01-13 15:40:33 +00:00
|
|
|
qtframe.cpp
|
2021-01-12 12:52:26 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set(HEADER_FILES
|
|
|
|
applicationname.h
|
|
|
|
qapple.h
|
|
|
|
preferences.h
|
|
|
|
emulator.h
|
|
|
|
memorycontainer.h
|
|
|
|
gamepadpaddle.h
|
|
|
|
qvideo.h
|
|
|
|
configuration.h
|
|
|
|
options.h
|
|
|
|
loggingcategory.h
|
|
|
|
viewbuffer.h
|
|
|
|
qdirectsound.h
|
2021-01-13 15:40:33 +00:00
|
|
|
qtframe.h
|
2021-01-12 12:52:26 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(qapple
|
|
|
|
${SOURCE_FILES}
|
|
|
|
${HEADER_FILES}
|
|
|
|
qapple.qrc
|
|
|
|
)
|
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
|
2021-01-11 20:39:17 +00:00
|
|
|
qhexview-lib
|
2017-10-10 09:26:08 +01:00
|
|
|
)
|
2020-07-12 15:53:53 +01:00
|
|
|
|
2020-10-06 20:58:43 +01:00
|
|
|
install(TARGETS qapple
|
|
|
|
DESTINATION bin)
|