Merge lp:~kalikiana/u1db-qt/move-to-src into lp:u1db-qt

Proposed by Cris Dywan
Status: Merged
Approved by: Kevin Wright
Approved revision: 70
Merged at revision: 70
Proposed branch: lp:~kalikiana/u1db-qt/move-to-src
Merge into: lp:u1db-qt
Diff against target: 109 lines (+18/-20)
4 files modified
CMakeLists.txt (+9/-14)
documentation/u1db.qdocconf (+6/-6)
modules/U1db/CMakeLists.txt (+2/-0)
tests/CMakeLists.txt (+1/-0)
To merge this branch: bzr merge lp:~kalikiana/u1db-qt/move-to-src
Reviewer Review Type Date Requested Status
Kevin Wright Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+158598@code.launchpad.net

Commit message

Moves sources to src folder

Description of the change

Move sources to src folder

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Kevin Wright (kevin-wright-1) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2013-04-10 14:56:02 +0000
3+++ CMakeLists.txt 2013-04-12 12:45:31 +0000
4@@ -23,18 +23,18 @@
5
6 # Sources
7 set(U1DB_QT_SRCS
8- database.cpp
9- document.cpp
10- index.cpp
11- query.cpp
12+ src/database.cpp
13+ src/document.cpp
14+ src/index.cpp
15+ src/query.cpp
16 )
17
18 # Generated files
19 set(U1DB_QT_GENERATED
20- moc_database.cpp
21- moc_document.cpp
22- moc_index.cpp
23- moc_query.cpp
24+ src/moc_database.cpp
25+ src/moc_document.cpp
26+ src/moc_index.cpp
27+ src/moc_query.cpp
28 )
29
30 set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${U1DB_QT_GENERATED}")
31@@ -46,11 +46,6 @@
32
33 QT5_ADD_RESOURCES(U1DB_QT_RCC ${U1DB_QT_RESOURCES})
34
35-## QtU1DBQml
36-set(QtU1DBQml_SRCS
37- plugin.cpp
38- )
39-
40 # Build
41 add_definitions(-DQT_NO_KEYWORDS)
42
43@@ -92,7 +87,7 @@
44 LIBRARY DESTINATION lib${LIB_SUFFIX}
45 )
46
47-install(FILES global.h database.h document.h index.h query.h
48+install(FILES src/global.h src/database.h src/document.h src/index.h src/query.h
49 DESTINATION ${INCLUDE_INSTALL_DIR}
50 )
51
52
53=== modified file 'documentation/u1db.qdocconf'
54--- documentation/u1db.qdocconf 2013-04-08 10:32:14 +0000
55+++ documentation/u1db.qdocconf 2013-04-12 12:45:31 +0000
56@@ -1,12 +1,12 @@
57 project = U1Db-Qt
58 description = U1Db-Qt plugin documentation
59
60-sourcedirs = ..
61-headers = ../database.h \
62- ../document.h \
63- ../index.h \
64- ../query.h \
65- ../global.h
66+sourcedirs = ../src
67+headers = ../src/database.h \
68+ ../src/document.h \
69+ ../src/index.h \
70+ ../src/query.h \
71+ ../src/global.h
72 Cpp.ignoretokens = Q_DECL_EXPORT \
73 Q_PROPERTY \
74 QT_BEGIN_NAMESPACE_U1DB \
75
76=== modified file 'modules/U1db/CMakeLists.txt'
77--- modules/U1db/CMakeLists.txt 2013-04-10 11:07:06 +0000
78+++ modules/U1db/CMakeLists.txt 2013-04-12 12:45:31 +0000
79@@ -22,6 +22,8 @@
80 )
81
82 include_directories(
83+ ${CMAKE_SOURCE_DIR}/src
84+ ${U1DB_INCLUDE_DIRS}
85 ${CMAKE_CURRENT_BINARY_DIR}
86 ${OUR_QT_QUICK_INCLUDE}
87 )
88
89=== added directory 'src'
90=== renamed file 'database.cpp' => 'src/database.cpp'
91=== renamed file 'database.h' => 'src/database.h'
92=== renamed file 'document.cpp' => 'src/document.cpp'
93=== renamed file 'document.h' => 'src/document.h'
94=== renamed file 'global.h' => 'src/global.h'
95=== renamed file 'index.cpp' => 'src/index.cpp'
96=== renamed file 'index.h' => 'src/index.h'
97=== renamed file 'private.h' => 'src/private.h'
98=== renamed file 'query.cpp' => 'src/query.cpp'
99=== renamed file 'query.h' => 'src/query.h'
100=== modified file 'tests/CMakeLists.txt'
101--- tests/CMakeLists.txt 2013-04-09 11:32:11 +0000
102+++ tests/CMakeLists.txt 2013-04-12 12:45:31 +0000
103@@ -7,6 +7,7 @@
104 include_directories(
105 ${CMAKE_CURRENT_BINARY_DIR}
106 ${OUR_QT_TEST_INCLUDES}
107+ ${CMAKE_SOURCE_DIR}/src
108 ${OUR_QT_QUICK_INCLUDE}
109 )
110

Subscribers

People subscribed via source and target branches

to all changes: