Merge lp:~mzanetti/reminders-app/switch-to-cmake into lp:reminders-app
- switch-to-cmake
- Merge into trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Alan Pope πΊπ§π± π¦ | ||||
Approved revision: | 46 | ||||
Merged at revision: | 27 | ||||
Proposed branch: | lp:~mzanetti/reminders-app/switch-to-cmake | ||||
Merge into: | lp:reminders-app | ||||
Prerequisite: | lp:~mzanetti/reminders-app/use-webview | ||||
Diff against target: |
455 lines (+153/-194) 18 files modified
3rdParty/3rdParty.pro (+0/-4) 3rdParty/CMakeLists.txt (+2/-0) 3rdParty/evernote-sdk-cpp/CMakeLists.txt (+21/-0) 3rdParty/evernote-sdk-cpp/evernote-sdk-cpp.pro (+0/-35) 3rdParty/libthrift/CMakeLists.txt (+40/-0) 3rdParty/libthrift/libthrift.pro (+0/-43) CMakeLists.txt (+10/-0) debian/control (+2/-1) reminders-app.pro (+0/-8) run_on_ubuntu_touch.sh (+2/-3) src/CMakeLists.txt (+2/-0) src/app/CMakeLists.txt (+15/-0) src/app/app.pro (+0/-25) src/plugin/CMakeLists.txt (+6/-0) src/plugin/Evernote/CMakeLists.txt (+53/-0) src/plugin/Evernote/Evernote.pro (+0/-71) src/plugin/plugin.pro (+0/-2) src/src.pro (+0/-2) |
||||
To merge this branch: | bzr merge lp:~mzanetti/reminders-app/switch-to-cmake | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Alan Pope πΊπ§π± π¦ (community) | Needs Fixing | ||
Review via email: mp+199377@code.launchpad.net |
Commit message
switch from qmake to cmake
Description of the change
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
- 41. By Michael Zanetti
-
merge trunk
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
FAILED: Continuous integration, rev:41
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 42. By Michael Zanetti
-
install plugin files as expected by .install file
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:42
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 43. By Michael Zanetti
-
merge prerequisite branch
- 44. By Michael Zanetti
-
use absolute include path
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:43
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:44
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Alan Pope πΊπ§π± π¦ (popey) wrote : | # |
This fails to deploy/build for me because cmake isn't pre-installed by "run_on_
alan@deep-
adbd is already running as root
ssh start/running, process 3020
Transferring code..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
sending incremental file list
sent 11638 bytes received 77 bytes 23430.00 bytes/sec
total size is 3231629 speedup is 275.85
Setting up environment for building reminders-app...
/home/alan/
Original contents retained as /home/alan/
9 KB/s (399 bytes in 0.041s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
libboost-dev is already the newest version.
libssl-dev is already the newest version.
qt5-default is already the newest version.
qtbase5-dev is already the newest version.
qtdeclarative5-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
sending incremental file list
sent 11638 bytes received 77 bytes 23430.00 bytes/sec
total size is 3231629 speedup is 275.85
alan@deep-
adbd is already running as root
start: Job is already running: ssh
Transferring code..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
sending incremental file list
sent 11638 bytes received 77 bytes 23430.00 bytes/sec
total size is 3231629 speedup is 275.85
Building..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
Connection to 127.0.0.1 closed.
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
bash: cmake: command not found
Connection to 127.0.0.1 closed.
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
make: *** No targets specified and no makefile found. Stop.
Connection to 127.0.0.1 closed.
Running..
Warning: Permanently added '[127.0.0.1]:2222' (RSA) to the list of known hosts.
bash: cd: reminders-
Connection to 127.0.0.1 closed.
alan@deep-
root@ubuntu-
root@ubuntu-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
cmake-data
Suggested packages:
codeblocks eclipse
The following NEW packages will be installed:
cmake cmake-data
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 3002 kB of archives.
After this operation, 12.5 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Alan Pope πΊπ§π± π¦ (popey) wrote : | # |
Other than that, it works okay once cmake is installed on device.
- 45. By Michael Zanetti
-
added cmake to run_on_ubuntu_touch -s
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
FAILED: Continuous integration, rev:45
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 46. By Michael Zanetti
-
merge prerequisite
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : | # |
PASSED: Continuous integration, rev:46
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Preview Diff
1 | === removed file '3rdParty/3rdParty.pro' |
2 | --- 3rdParty/3rdParty.pro 2013-11-21 23:30:15 +0000 |
3 | +++ 3rdParty/3rdParty.pro 1970-01-01 00:00:00 +0000 |
4 | @@ -1,4 +0,0 @@ |
5 | -TEMPLATE = subdirs |
6 | -SUBDIRS = libthrift evernote-sdk-cpp |
7 | - |
8 | -evernote-sdk-cpp.depends = libthrift |
9 | |
10 | === added file '3rdParty/CMakeLists.txt' |
11 | --- 3rdParty/CMakeLists.txt 1970-01-01 00:00:00 +0000 |
12 | +++ 3rdParty/CMakeLists.txt 2014-01-10 12:07:36 +0000 |
13 | @@ -0,0 +1,2 @@ |
14 | +add_subdirectory(libthrift) |
15 | +add_subdirectory(evernote-sdk-cpp) |
16 | |
17 | === added file '3rdParty/evernote-sdk-cpp/CMakeLists.txt' |
18 | --- 3rdParty/evernote-sdk-cpp/CMakeLists.txt 1970-01-01 00:00:00 +0000 |
19 | +++ 3rdParty/evernote-sdk-cpp/CMakeLists.txt 2014-01-10 12:07:36 +0000 |
20 | @@ -0,0 +1,21 @@ |
21 | +include_directories( |
22 | + ${CMAKE_CURRENT_SOURCE_DIR} |
23 | + ${CMAKE_SOURCE_DIR}/3rdParty/libthrift |
24 | +) |
25 | + |
26 | +SET(evernote-sdk-cpp_SRCS |
27 | + src/Errors_constants.cpp |
28 | + src/Errors_types.cpp |
29 | + src/Limits_constants.cpp |
30 | + src/Limits_types.cpp |
31 | + src/NoteStore_constants.cpp |
32 | + src/NoteStore.cpp |
33 | + src/NoteStore_types.cpp |
34 | + src/Types_constants.cpp |
35 | + src/Types_types.cpp |
36 | + src/UserStore_constants.cpp |
37 | + src/UserStore.cpp |
38 | + src/UserStore_types.cpp |
39 | +) |
40 | + |
41 | +add_library(evernote-sdk-cpp ${evernote-sdk-cpp_SRCS}) |
42 | |
43 | === removed file '3rdParty/evernote-sdk-cpp/evernote-sdk-cpp.pro' |
44 | --- 3rdParty/evernote-sdk-cpp/evernote-sdk-cpp.pro 2013-11-21 23:30:15 +0000 |
45 | +++ 3rdParty/evernote-sdk-cpp/evernote-sdk-cpp.pro 1970-01-01 00:00:00 +0000 |
46 | @@ -1,35 +0,0 @@ |
47 | -TEMPLATE = lib |
48 | - |
49 | -CONFIG = staticlib |
50 | - |
51 | -QMAKE_CXXFLAGS += -std=c++0x -fPIC |
52 | - |
53 | -INCLUDEPATH += ../libthrift |
54 | - |
55 | -LIBS += -L../libthrift -llibthrift |
56 | - |
57 | -SOURCES += src/Errors_constants.cpp \ |
58 | - src/Errors_types.cpp \ |
59 | - src/Limits_constants.cpp \ |
60 | - src/Limits_types.cpp \ |
61 | - src/NoteStore_constants.cpp \ |
62 | - src/NoteStore.cpp \ |
63 | - src/NoteStore_types.cpp \ |
64 | - src/Types_constants.cpp \ |
65 | - src/Types_types.cpp \ |
66 | - src/UserStore_constants.cpp \ |
67 | - src/UserStore.cpp \ |
68 | - src/UserStore_types.cpp |
69 | - |
70 | -HEADERS += src/Errors_constants.h \ |
71 | - src/Errors_types.h \ |
72 | - src/Limits_constants.h \ |
73 | - src/Limits_types.h \ |
74 | - src/NoteStore_constants.h \ |
75 | - src/NoteStore.h \ |
76 | - src/NoteStore_types.h \ |
77 | - src/Types_constants.h \ |
78 | - src/Types_types.h \ |
79 | - src/UserStore_constants.h \ |
80 | - src/UserStore.h \ |
81 | - src/UserStore_types.h |
82 | |
83 | === added file '3rdParty/libthrift/CMakeLists.txt' |
84 | --- 3rdParty/libthrift/CMakeLists.txt 1970-01-01 00:00:00 +0000 |
85 | +++ 3rdParty/libthrift/CMakeLists.txt 2014-01-10 12:07:36 +0000 |
86 | @@ -0,0 +1,40 @@ |
87 | +include_directories( |
88 | + ${CMAKE_CURRENT_SOURCE_DIR} |
89 | +) |
90 | + |
91 | +add_definitions( -DHAVE_CONFIG_H ) |
92 | + |
93 | +SET(libthrift_SRCS |
94 | + Thrift.cpp |
95 | + TApplicationException.cpp |
96 | + async/TAsyncChannel.cpp |
97 | + async/TAsyncProtocolProcessor.cpp |
98 | + #async/TEvhttpClientChannel.cpp |
99 | + #async/TEvhttpServer.cpp |
100 | + transport/TBufferTransports.cpp |
101 | + transport/TFDTransport.cpp |
102 | + transport/TFileTransport.cpp |
103 | + transport/THttpClient.cpp |
104 | + transport/THttpServer.cpp |
105 | + transport/THttpTransport.cpp |
106 | + transport/TServerSocket.cpp |
107 | + transport/TSimpleFileTransport.cpp |
108 | + transport/TSocket.cpp |
109 | + transport/TSocketPool.cpp |
110 | + transport/TSSLServerSocket.cpp |
111 | + transport/TSSLSocket.cpp |
112 | + transport/TTransportException.cpp |
113 | + transport/TTransportUtils.cpp |
114 | + transport/TZlibTransport.cpp |
115 | + #concurrency/BoostMonitor.cpp |
116 | + #concurrency/BoostMutex.cpp |
117 | + #concurrency/BoostThreadFactory.cpp |
118 | + concurrency/Monitor.cpp |
119 | + concurrency/Mutex.cpp |
120 | + concurrency/PosixThreadFactory.cpp |
121 | + concurrency/ThreadManager.cpp |
122 | + concurrency/TimerManager.cpp |
123 | + concurrency/Util.cpp |
124 | +) |
125 | + |
126 | +add_library(libthrift ${libthrift_SRCS}) |
127 | |
128 | === removed file '3rdParty/libthrift/libthrift.pro' |
129 | --- 3rdParty/libthrift/libthrift.pro 2013-11-21 23:30:15 +0000 |
130 | +++ 3rdParty/libthrift/libthrift.pro 1970-01-01 00:00:00 +0000 |
131 | @@ -1,43 +0,0 @@ |
132 | -TEMPLATE = lib |
133 | - |
134 | -CONFIG = staticlib |
135 | - |
136 | -QMAKE_CXXFLAGS += -std=c++0x -fPIC |
137 | - |
138 | -LIBS += -lssl -lcrypto |
139 | - |
140 | -DEFINES += HAVE_CONFIG_H |
141 | - |
142 | -SOURCES += Thrift.cpp \ |
143 | - TApplicationException.cpp \ |
144 | - async/TAsyncChannel.cpp \ |
145 | - async/TAsyncProtocolProcessor.cpp \ |
146 | - #async/TEvhttpClientChannel.cpp \ |
147 | - #async/TEvhttpServer.cpp \ |
148 | - transport/TBufferTransports.cpp \ |
149 | - transport/TFDTransport.cpp \ |
150 | - transport/TFileTransport.cpp \ |
151 | - transport/THttpClient.cpp \ |
152 | - transport/THttpServer.cpp \ |
153 | - transport/THttpTransport.cpp \ |
154 | - transport/TServerSocket.cpp \ |
155 | - transport/TSimpleFileTransport.cpp \ |
156 | - transport/TSocket.cpp \ |
157 | - transport/TSocketPool.cpp \ |
158 | - transport/TSSLServerSocket.cpp \ |
159 | - transport/TSSLSocket.cpp \ |
160 | - transport/TTransportException.cpp \ |
161 | - transport/TTransportUtils.cpp \ |
162 | - transport/TZlibTransport.cpp \ |
163 | - #concurrency/BoostMonitor.cpp \ |
164 | - #concurrency/BoostMutex.cpp \ |
165 | - #concurrency/BoostThreadFactory.cpp \ |
166 | - concurrency/Monitor.cpp \ |
167 | - concurrency/Mutex.cpp \ |
168 | - concurrency/PosixThreadFactory.cpp \ |
169 | - concurrency/ThreadManager.cpp \ |
170 | - concurrency/TimerManager.cpp \ |
171 | - concurrency/Util.cpp \ |
172 | - |
173 | -HEADERS += config.h |
174 | - |
175 | |
176 | === added file 'CMakeLists.txt' |
177 | --- CMakeLists.txt 1970-01-01 00:00:00 +0000 |
178 | +++ CMakeLists.txt 2014-01-10 12:07:36 +0000 |
179 | @@ -0,0 +1,10 @@ |
180 | +cmake_minimum_required(VERSION 2.8.9) |
181 | + |
182 | +project(reminders-app C CXX) |
183 | + |
184 | +set(CMAKE_AUTOMOC ON) |
185 | + |
186 | +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-permissive -pedantic -Wall -Wextra -fPIC") |
187 | + |
188 | +add_subdirectory(3rdParty) |
189 | +add_subdirectory(src) |
190 | |
191 | === modified file 'debian/control' |
192 | --- debian/control 2013-11-26 12:07:17 +0000 |
193 | +++ debian/control 2014-01-10 12:07:36 +0000 |
194 | @@ -1,7 +1,8 @@ |
195 | Source: reminders-app |
196 | Priority: extra |
197 | Maintainer: Ubuntu App Cats <ubuntu-touch-coreapps@lists.launchpad.net> |
198 | -Build-Depends: debhelper (>= 9), |
199 | +Build-Depends: cmake, |
200 | + debhelper (>= 9), |
201 | gettext, |
202 | libboost-dev, |
203 | libssl-dev, |
204 | |
205 | === removed file 'reminders-app.pro' |
206 | --- reminders-app.pro 2013-11-22 18:51:32 +0000 |
207 | +++ reminders-app.pro 1970-01-01 00:00:00 +0000 |
208 | @@ -1,8 +0,0 @@ |
209 | -TEMPLATE = subdirs |
210 | -SUBDIRS = 3rdParty src |
211 | - |
212 | -src.depends = 3rdParty |
213 | - |
214 | -check.target = check |
215 | -check.commands = "echo No tests yet" |
216 | -QMAKE_EXTRA_TARGETS = check |
217 | |
218 | === modified file 'run_on_ubuntu_touch.sh' |
219 | --- run_on_ubuntu_touch.sh 2013-11-22 22:35:37 +0000 |
220 | +++ run_on_ubuntu_touch.sh 2014-01-10 12:07:36 +0000 |
221 | @@ -16,7 +16,7 @@ |
222 | SUDO="echo $PASSWORD | sudo -S" |
223 | NUM_JOBS='$(( `grep -c ^processor /proc/cpuinfo` + 1 ))' |
224 | FLIPPED=false |
225 | -DEPS="qt5-default qtbase5-dev qtdeclarative5-dev libboost-dev libssl-dev" |
226 | +DEPS="qt5-default qtbase5-dev qtdeclarative5-dev libboost-dev libssl-dev cmake" |
227 | |
228 | exec_with_ssh() { |
229 | ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -t $USER@$TARGET_IP -p $TARGET_SSH_PORT sudo -u $USER -i bash -ic \"$@\" |
230 | @@ -61,8 +61,7 @@ |
231 | |
232 | build() { |
233 | exec_with_ssh mkdir -p $CODE_DIR/$BUILD_DIR |
234 | - exec_with_ssh PATH=/usr/lib/ccache:$PATH "cd $CODE_DIR/$BUILD_DIR && PATH=/usr/lib/ccache:$PATH qmake --version" |
235 | - exec_with_ssh PATH=/usr/lib/ccache:$PATH "cd $CODE_DIR/$BUILD_DIR && PATH=/usr/lib/ccache:$PATH QT_SELECT=qt5 qmake .." |
236 | + exec_with_ssh PATH=/usr/lib/ccache:$PATH "cd $CODE_DIR/$BUILD_DIR && PATH=/usr/lib/ccache:$PATH QT_SELECT=qt5 cmake .." |
237 | exec_with_ssh PATH=/usr/lib/ccache:$PATH "cd $CODE_DIR/$BUILD_DIR && PATH=/usr/lib/ccache:$PATH make -j2" |
238 | } |
239 | |
240 | |
241 | === added file 'src/CMakeLists.txt' |
242 | --- src/CMakeLists.txt 1970-01-01 00:00:00 +0000 |
243 | +++ src/CMakeLists.txt 2014-01-10 12:07:36 +0000 |
244 | @@ -0,0 +1,2 @@ |
245 | +add_subdirectory(plugin) |
246 | +add_subdirectory(app) |
247 | |
248 | === added file 'src/app/CMakeLists.txt' |
249 | --- src/app/CMakeLists.txt 1970-01-01 00:00:00 +0000 |
250 | +++ src/app/CMakeLists.txt 2014-01-10 12:07:36 +0000 |
251 | @@ -0,0 +1,15 @@ |
252 | +file(GLOB_RECURSE QML_SRCS *.qml *.js) |
253 | + |
254 | +set(reminders-app_SRCS |
255 | + main.cpp |
256 | + ${QML_SRCS} |
257 | +) |
258 | + |
259 | +add_executable(reminders-app ${reminders-app_SRCS}) |
260 | + |
261 | +qt5_use_modules(reminders-app Gui Qml Quick) |
262 | + |
263 | +add_custom_target(reminders-app-qmlfiles ALL |
264 | + COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/qml ${CMAKE_CURRENT_BINARY_DIR} |
265 | + DEPENDS ${QMLFILES} |
266 | +) |
267 | |
268 | === removed file 'src/app/app.pro' |
269 | --- src/app/app.pro 2013-12-15 01:57:25 +0000 |
270 | +++ src/app/app.pro 1970-01-01 00:00:00 +0000 |
271 | @@ -1,25 +0,0 @@ |
272 | -TARGET = reminders-app |
273 | -TEMPLATE = app |
274 | - |
275 | -QT+= core qml quick |
276 | - |
277 | -SOURCES += main.cpp \ |
278 | - |
279 | -OTHER_FILES = qml/reminders-app.qml \ |
280 | - qml/ui/NotebooksPage.qml \ |
281 | - qml/ui/RemindersPage.qml \ |
282 | - qml/ui/NotesPage.qml \ |
283 | - qml/ui/AccountSelectorPage.qml \ |
284 | - qml/ui/NotePage.qml \ |
285 | - qml/ui/SearchNotesPage.qml \ |
286 | - qml/components/ToolbarSpacer.qml \ |
287 | - qml/components/NotesDelegate.qml \ |
288 | - qml/components/NotebooksDelegate.qml \ |
289 | - qml/ui/EditNotePage.qml |
290 | - |
291 | -# Copy qml to build dir for running with qtcreator |
292 | -qmlfolder.source = src/app/qml |
293 | -qmlfolder.target = . |
294 | -DEPLOYMENTFOLDERS = qmlfolder |
295 | - |
296 | -include(../../deployment.pri) |
297 | |
298 | === added file 'src/plugin/CMakeLists.txt' |
299 | --- src/plugin/CMakeLists.txt 1970-01-01 00:00:00 +0000 |
300 | +++ src/plugin/CMakeLists.txt 2014-01-10 12:07:36 +0000 |
301 | @@ -0,0 +1,6 @@ |
302 | +include(FindPkgConfig) |
303 | +find_package(Qt5Core) |
304 | +find_package(Qt5Qml) |
305 | +find_package(Qt5Quick) |
306 | + |
307 | +add_subdirectory(Evernote) |
308 | |
309 | === added file 'src/plugin/Evernote/CMakeLists.txt' |
310 | --- src/plugin/Evernote/CMakeLists.txt 1970-01-01 00:00:00 +0000 |
311 | +++ src/plugin/Evernote/CMakeLists.txt 2014-01-10 12:07:36 +0000 |
312 | @@ -0,0 +1,53 @@ |
313 | +include_directories( |
314 | + ${CMAKE_CURRENT_SOURCE_DIR} |
315 | + ${CMAKE_SOURCE_DIR}/3rdParty/libthrift |
316 | + ${CMAKE_SOURCE_DIR}/3rdParty/evernote-sdk-cpp/src/ |
317 | +) |
318 | + |
319 | +set(evernoteplugin_SRCS |
320 | + evernoteplugin.cpp |
321 | + notesstore.cpp |
322 | + userstore.cpp |
323 | + notebooks.cpp |
324 | + notes.cpp |
325 | + note.cpp |
326 | + notebook.cpp |
327 | + jobs/fetchnotesjob.cpp |
328 | + jobs/fetchnotebooksjob.cpp |
329 | + jobs/fetchnotejob.cpp |
330 | + jobs/createnotejob.cpp |
331 | + jobs/evernotejob.cpp |
332 | + jobs/savenotejob.cpp |
333 | + jobs/deletenotejob.cpp |
334 | + evernoteconnection.cpp |
335 | + jobs/userstorejob.cpp |
336 | + jobs/notesstorejob.cpp |
337 | + jobs/fetchusernamejob.cpp |
338 | + jobs/createnotebookjob.cpp |
339 | + jobs/expungenotebookjob.cpp |
340 | + resourceimageprovider.cpp |
341 | + utils/enmldocument.cpp |
342 | +) |
343 | + |
344 | +add_library(evernoteplugin MODULE |
345 | + ${evernoteplugin_SRCS} |
346 | +) |
347 | + |
348 | +target_link_libraries(evernoteplugin |
349 | + -L${CMAKE_BINARY_DIR}/3rdParty/evernote-sdk-cpp/ -L${CMAKE_BINARY_DIR}/3rdParty/libthrift/ -levernote-sdk-cpp -llibthrift -lssl -lcrypto |
350 | +) |
351 | + |
352 | +qt5_use_modules(evernoteplugin Gui Qml Quick) |
353 | + |
354 | + |
355 | +# Copy qmldir file to build dir for running in QtCreator |
356 | +add_custom_target(evernoteplugin-qmldir ALL |
357 | + COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/qmldir ${CMAKE_CURRENT_BINARY_DIR} |
358 | + DEPENDS ${QMLFILES} |
359 | +) |
360 | + |
361 | +# Install plugin file |
362 | +exec_program(qmake ARGS "-query QT_INSTALL_QML" OUTPUT_VARIABLE QT_IMPORTS_DIR) |
363 | +install(TARGETS evernoteplugin DESTINATION ${QT_IMPORTS_DIR}/Evernote/) |
364 | +install(FILES qmldir DESTINATION ${QT_IMPORTS_DIR}/Evernote/) |
365 | + |
366 | |
367 | === removed file 'src/plugin/Evernote/Evernote.pro' |
368 | --- src/plugin/Evernote/Evernote.pro 2013-12-14 22:38:57 +0000 |
369 | +++ src/plugin/Evernote/Evernote.pro 1970-01-01 00:00:00 +0000 |
370 | @@ -1,71 +0,0 @@ |
371 | -TARGET=evernoteplugin |
372 | -TEMPLATE=lib |
373 | -CONFIG = qt plugin |
374 | -QT += qml gui xml quick |
375 | -QMAKE_CXXFLAGS += -std=c++0x -fPIC |
376 | - |
377 | -INCLUDEPATH += ../../../3rdParty/evernote-sdk-cpp/src/ ../../../3rdParty/libthrift |
378 | - |
379 | -TARGET = $$qtLibraryTarget($$TARGET) |
380 | -uri = Evernote |
381 | - |
382 | -SOURCES += evernoteplugin.cpp \ |
383 | - notesstore.cpp \ |
384 | - userstore.cpp \ |
385 | - notebooks.cpp \ |
386 | - notes.cpp \ |
387 | - note.cpp \ |
388 | - notebook.cpp \ |
389 | - jobs/fetchnotesjob.cpp \ |
390 | - jobs/fetchnotebooksjob.cpp \ |
391 | - jobs/fetchnotejob.cpp \ |
392 | - jobs/createnotejob.cpp \ |
393 | - jobs/evernotejob.cpp \ |
394 | - jobs/savenotejob.cpp \ |
395 | - jobs/deletenotejob.cpp \ |
396 | - evernoteconnection.cpp \ |
397 | - jobs/userstorejob.cpp \ |
398 | - jobs/notesstorejob.cpp \ |
399 | - jobs/fetchusernamejob.cpp \ |
400 | - jobs/createnotebookjob.cpp \ |
401 | - jobs/expungenotebookjob.cpp \ |
402 | - resourceimageprovider.cpp \ |
403 | - utils/enmldocument.cpp |
404 | - |
405 | -HEADERS += evernoteplugin.h \ |
406 | - notesstore.h \ |
407 | - userstore.h \ |
408 | - notebooks.h \ |
409 | - notes.h \ |
410 | - note.h \ |
411 | - notebook.h \ |
412 | - jobs/fetchnotesjob.h \ |
413 | - jobs/fetchnotebooksjob.h \ |
414 | - jobs/fetchnotejob.h \ |
415 | - jobs/createnotejob.h \ |
416 | - jobs/evernotejob.h \ |
417 | - jobs/savenotejob.h \ |
418 | - jobs/deletenotejob.h \ |
419 | - evernoteconnection.h \ |
420 | - jobs/userstorejob.h \ |
421 | - jobs/notesstorejob.h \ |
422 | - jobs/fetchusernamejob.h \ |
423 | - jobs/createnotebookjob.h \ |
424 | - jobs/expungenotebookjob.h \ |
425 | - resourceimageprovider.h \ |
426 | - utils/enmldocument.h |
427 | - |
428 | -message(building in $$OUT_PWD) |
429 | -LIBS += -L$$OUT_PWD/../../../3rdParty/evernote-sdk-cpp/ -L$$OUT_PWD/../../../3rdParty/libthrift/ -levernote-sdk-cpp -llibthrift -lssl -lcrypto |
430 | - |
431 | -installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /) |
432 | -qmldir.files = qmldir |
433 | -qmldir.path = $$installPath |
434 | -target.path = $$installPath |
435 | -INSTALLS += target qmldir |
436 | - |
437 | -# Copy qml to build dir |
438 | -qmldir.source = src/plugin/Evernote/qmldir |
439 | -qmldir.target = . |
440 | -DEPLOYMENTFOLDERS = qmldir |
441 | -include(../../../deployment.pri) |
442 | |
443 | === removed file 'src/plugin/plugin.pro' |
444 | --- src/plugin/plugin.pro 2013-11-21 23:30:15 +0000 |
445 | +++ src/plugin/plugin.pro 1970-01-01 00:00:00 +0000 |
446 | @@ -1,2 +0,0 @@ |
447 | -TEMPLATE = subdirs |
448 | -SUBDIRS = Evernote |
449 | |
450 | === removed file 'src/src.pro' |
451 | --- src/src.pro 2013-11-21 23:30:15 +0000 |
452 | +++ src/src.pro 1970-01-01 00:00:00 +0000 |
453 | @@ -1,2 +0,0 @@ |
454 | -TEMPLATE = subdirs |
455 | -SUBDIRS += plugin app |
FAILED: Continuous integration, rev:40 91.189. 93.70:8080/ job/reminders- app-ci/ 52/ 91.189. 93.70:8080/ job/generic- mediumtests- trusty/ 515/console 91.189. 93.70:8080/ job/reminders- app-saucy- amd64-ci/ 52/console 91.189. 93.70:8080/ job/reminders- app-trusty- amd64-ci/ 52/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/reminders- app-ci/ 52/rebuild
http://