AppleWin/source/frontends/qapple/CMakeLists.txt
Andrea Odetti 4d0af5d3ca Added a custom version of QPainter which seems to perform much better 20%->11% CPU.
It only works if all images involved have the same format.
Using some typedefs, one can revert to the old QPixmap behaviour.

Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
2019-11-16 17:00:35 +00:00

38 lines
614 B
CMake

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
add_executable(qapple
main.cpp
qapple.qrc
qapple.cpp
qresources.cpp
preferences.cpp
emulator.cpp
memorycontainer.cpp
gamepadpaddle.cpp
video.cpp
settings.cpp
configuration.cpp
audiogenerator.cpp
loggingcategory.cpp
graphics/graphicscache.cpp
qhexedit2/commands.cpp
qhexedit2/chunks.cpp
qhexedit2/qhexedit.cpp
)
find_package(Qt5 REQUIRED
COMPONENTS Widgets Gamepad Multimedia
)
target_link_libraries(qapple
Qt5::Widgets
Qt5::Gamepad
Qt5::Multimedia
appleii
)