1 # Copyright 2010 Serge Ziryukin <ftrvxmtrx@gmail.com>
3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; version 2 of the License.
7 # This program is distributed in the hope that it will be useful,
8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 # GNU General Public License for more details.
26 fullscreenexitbutton.hpp
31 find_package(Qt4 4.6.2 COMPONENTS QtCore QtGui REQUIRED)
32 include(${QT_USE_FILE})
34 qt4_wrap_cpp(moc_src ${moc})
35 qt4_add_translation(colorflood.ts)
36 qt4_add_resources(resources colorflood.qrc)
38 add_definitions(-Wall -Wextra)
39 add_executable(colorflood ${moc_src} ${src} ${res})
40 target_link_libraries(colorflood ${QT_LIBRARIES})
42 install(TARGETS colorflood DESTINATION bin)
43 install(FILES images/icon_48x48.png DESTINATION share/icons/hicolor/48x48/apps RENAME colorflood.png)
44 install(FILES colorflood.desktop DESTINATION share/applications/hildon)