Files
thunderpad/src/CMakeLists.txt
Maciej Latocha e633b10379 Add KeyDialog class
This will take care of reading user input.
TODO: Correct mouse buttons values, they do not match Xtest values.
2016-03-31 17:50:35 +02:00

50 lines
859 B
CMake

include(GenerateExportHeader)
configure_file(config.h.in "${CMAKE_CURRENT_BINARY_DIR}/config.h" @ONLY)
set(qjoypad_SOURCES
axis.cpp
axis_edit.cpp
axisw.cpp
button.cpp
button_edit.cpp
buttonw.cpp
event.cpp
flash.cpp
getkey.cpp
icon.cpp
joypad.cpp
joypadw.cpp
joyslider.cpp
keycode.cpp
keydialog.cpp
layout.cpp
layout_edit.cpp
main.cpp
quickset.cpp)
set(qjoypad_QOBJECT_HEADERS
axis_edit.h
axis.h
axisw.h
button_edit.h
button.h
buttonw.h
flash.h
getkey.h
icon.h
joypad.h
joypadw.h
joyslider.h
keycode.h
keydialog.hpp
layout_edit.h
layout.h
quickset.h)
qt5_wrap_cpp(qjoypad_HEADERS_MOC ${qjoypad_QOBJECT_HEADERS})
add_executable(qjoypad ${qjoypad_SOURCES} ${qjoypad_HEADERS_MOC})
target_link_libraries(qjoypad Qt5::Widgets Qt5::X11Extras Xtst X11 ${LIBUDEV_LIBRARIES})
install(TARGETS qjoypad RUNTIME DESTINATION "bin")