AppleWin/source/frontends/qt/CMakeLists.txt

41 lines
621 B
Text
Raw Normal View History

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
add_subdirectory(QHexView)
add_executable(qapple
main.cpp
qapple.qrc
qapple.cpp
qresources.cpp
preferences.cpp
emulator.cpp
memorycontainer.cpp
gamepadpaddle.cpp
video.cpp
registry.cpp
options.cpp
loggingcategory.cpp
viewbuffer.cpp
qdirectsound.cpp
${QHEXVIEW_SOURCES}
)
find_package(Qt5 REQUIRED
COMPONENTS Widgets Gamepad Multimedia
)
target_link_libraries(qapple PRIVATE
Qt5::Widgets
Qt5::Gamepad
Qt5::Multimedia
appleii
)
install(TARGETS qapple
DESTINATION bin)