Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | |||||
49 | include_directories( | 49 | include_directories( | ||
50 | ${CMAKE_CURRENT_SOURCE_DIR} | 50 | ${CMAKE_CURRENT_SOURCE_DIR} | ||
51 | ${CMAKE_CURRENT_BINARY_DIR} | 51 | ${CMAKE_CURRENT_BINARY_DIR} | ||
52 | ${CMAKE_CURRENT_BINARY_DIR}/core | 52 | ${CMAKE_CURRENT_BINARY_DIR}/core | ||
53 | ) | 53 | ) | ||
54 | 54 | | |||
55 | add_subdirectory( kexiutils ) | 55 | add_subdirectory( kexiutils ) | ||
56 | add_subdirectory( core ) | 56 | add_subdirectory( core ) | ||
57 | | ||||
58 | if(NOT KEXI_MOBILE) | ||||
57 | add_subdirectory( widget ) | 59 | add_subdirectory( widget ) | ||
60 | add_subdirectory( main ) | ||||
61 | add_subdirectory( formeditor ) | ||||
62 | add_subdirectory( migration ) | ||||
63 | endif() | ||||
64 | | ||||
58 | add_subdirectory( data ) | 65 | add_subdirectory( data ) | ||
59 | add_subdirectory( plugins ) | 66 | add_subdirectory( plugins ) | ||
67 | | ||||
60 | if (BUILD_TESTING) | 68 | if (BUILD_TESTING) | ||
61 | #TODO KEXI3 add_subdirectory( tests ) | 69 | #TODO KEXI3 add_subdirectory( tests ) | ||
62 | endif() | 70 | endif() | ||
63 | 71 | | |||
64 | if(KEXI_MOBILE) | | |||
65 | | ||||
66 | else() | | |||
67 | add_subdirectory( main ) | | |||
68 | add_subdirectory( formeditor ) | | |||
69 | add_subdirectory( migration ) | | |||
70 | endif() | | |||
71 | | ||||
72 | ########### next target ############### | 72 | ########### next target ############### | ||
73 | 73 | | |||
74 | if(KEXI_MOBILE) | 74 | if(KEXI_MOBILE) | ||
75 | add_subdirectory( mobile ) | 75 | # add_subdirectory( mobile ) | ||
76 | else() | 76 | else() | ||
77 | set(kexi_SRCS | 77 | set(kexi_SRCS | ||
78 | main.cpp | 78 | main.cpp | ||
79 | Messages.sh | 79 | Messages.sh | ||
80 | 80 | | |||
81 | # non-source: | 81 | # non-source: | ||
82 | ${CMAKE_SOURCE_DIR}/kundo2_aware_xgettext.sh | 82 | ${CMAKE_SOURCE_DIR}/kundo2_aware_xgettext.sh | ||
83 | Mainpage.dox | 83 | Mainpage.dox | ||
84 | Messages.sh | 84 | Messages.sh | ||
85 | ) | 85 | ) | ||
86 | kexi_add_app_icons(kexi_SRCS) | 86 | kexi_add_app_icons(kexi_SRCS) | ||
87 | kexi_add_app_metadata_files(kexi_SRCS) | 87 | kexi_add_app_metadata_files(kexi_SRCS) | ||
88 | kexi_add_executable(kexi ${kexi_SRCS}) | 88 | kexi_add_executable(kexi ${kexi_SRCS}) | ||
89 | target_link_libraries(kexi | 89 | target_link_libraries(kexi | ||
90 | PRIVATE | 90 | PRIVATE | ||
91 | keximain | 91 | keximain | ||
92 | ) | 92 | ) | ||
93 | install(TARGETS kexi ${INSTALL_TARGETS_DEFAULT_ARGS}) | 93 | install(TARGETS kexi ${INSTALL_TARGETS_DEFAULT_ARGS}) | ||
94 | endif() | | |||
95 | 94 | | |||
96 | add_subdirectory( pics ) | 95 | add_subdirectory( pics ) | ||
96 | endif() | ||||
97 | | ||||
98 | |