Changeset View
Changeset View
Standalone View
Standalone View
src/mobile/CMakeLists.txt
1 | cmake_minimum_required(VERSION 2.8.0) | 1 | cmake_minimum_required(VERSION 2.8.0) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | find_package(Qt4 REQUIRED) | 3 | find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED COMPONENTS Core Gui) | ||
4 | 4 | | |||
5 | include_directories( ${CMAKE_CURRENT_BINARY_DIR} | 5 | include_directories( ${CMAKE_CURRENT_BINARY_DIR} | ||
6 | ${CMAKE_SOURCE_DIR}/src/core | 6 | ${CMAKE_SOURCE_DIR}/src/core | ||
7 | ${CMAKE_SOURCE_DIR}/src/widget | 7 | ${CMAKE_SOURCE_DIR}/src/widget | ||
8 | ) | 8 | ) | ||
9 | 9 | | |||
10 | set(KexiMobile_SRCS main.cpp | 10 | set(KexiMobile_SRCS main.cpp | ||
11 | KexiMobileMainWindow.cpp | 11 | KexiMobileMainWindow.cpp | ||
12 | KexiMobileWidget.cpp | 12 | KexiMobileWidget.cpp | ||
13 | KexiMobileNavigator.cpp | 13 | KexiMobileNavigator.cpp | ||
14 | KexiMobileToolbar.cpp | 14 | KexiMobileToolbar.cpp | ||
15 | ) | 15 | ) | ||
16 | 16 | | |||
17 | qt4_automoc(${KexiMobile_SRCS}) | | |||
18 | | ||||
19 | kexi_add_executable(keximobile ${KexiMobile_SRCS}) | 17 | kexi_add_executable(keximobile ${KexiMobile_SRCS}) | ||
20 | 18 | | |||
21 | target_link_libraries(keximobile Qt5::Core Qt5::Gui | 19 | target_link_libraries(keximobile Qt5::Core Qt5::Gui | ||
22 | kexiextendedwidgets | 20 | kexiextendedwidgets | ||
23 | kexicore | 21 | kexicore | ||
24 | kdeui | | |||
25 | 22 | | |||
26 | KDb | 23 | KDb | ||
27 | ) | 24 | ) | ||
28 | 25 | | |||
29 | install(TARGETS keximobile ${INSTALL_TARGETS_DEFAULT_ARGS}) | 26 | install(TARGETS keximobile ${INSTALL_TARGETS_DEFAULT_ARGS}) |