Implement ActionList::Entry#clear.
[kaya.git] / CMakeLists.txt
blobd17e9de8275a48cee81223976864e45e11711d61
1 project(kaya)
2 cmake_minimum_required(VERSION 2.6)
4 find_package(KDE4 REQUIRED)
5 include(KDE4Defaults)
6 add_subdirectory(lib)
7 add_subdirectory(translations)
8 add_subdirectory(data)
10 configure_file(main.rb main.rb)
11 configure_file(main-qt.rb main-qt.rb)
13 install(DIRECTORY lib DESTINATION ${DATA_INSTALL_DIR}/kaya
14   FILES_MATCHING PATTERN "*.rb"
15   PATTERN "plugins" EXCLUDE)
16 install(DIRECTORY lib/plugins DESTINATION ${DATA_INSTALL_DIR}/kaya/lib)
18 install(FILES ${PROJECT_BINARY_DIR}/main.rb
19         DESTINATION ${BIN_INSTALL_DIR}
20         PERMISSIONS OWNER_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
21         RENAME kaya)
22 install(FILES ${PROJECT_BINARY_DIR}/main-qt.rb
23         DESTINATION ${BIN_INSTALL_DIR}
24         PERMISSIONS OWNER_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
25         RENAME kaya-qt)