Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Unmaintained
KDE Pim
Commits
3b36b3d0
Commit
3b36b3d0
authored
Jul 07, 2014
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create a lib
parent
cc7aaa31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
agents/followupreminderagent/CMakeLists.txt
agents/followupreminderagent/CMakeLists.txt
+14
-1
agents/followupreminderagent/tests/CMakeLists.txt
agents/followupreminderagent/tests/CMakeLists.txt
+2
-2
No files found.
agents/followupreminderagent/CMakeLists.txt
View file @
3b36b3d0
...
...
@@ -6,11 +6,23 @@ include_directories(
${
CMAKE_SOURCE_DIR
}
/messagecomposer/
)
set
(
followupreminderlib_SRCS
followupreminderinfo.cpp
)
kde4_add_library
(
followupreminder
${
LIBRARY_TYPE
}
${
followupreminderlib_SRCS
}
)
target_link_libraries
(
followupreminder
${
KDE4_KDEUI_LIBS
}
)
set_target_properties
(
followupreminder PROPERTIES VERSION
${
GENERIC_LIB_VERSION
}
SOVERSION
${
GENERIC_LIB_SOVERSION
}
)
install
(
TARGETS followupreminder
${
INSTALL_TARGETS_DEFAULT_ARGS
}
)
set
(
followupreminderagent_SRCS
followupreminderagent.cpp
followupremindermanager.cpp
followupreminderinfodialog.cpp
followupreminderinfo.cpp
followupreminderjob.cpp
followupremindernoanswerdialog.cpp
followupreminderinfowidget.cpp
...
...
@@ -29,6 +41,7 @@ target_link_libraries(akonadi_followupreminder_agent
${
KDEPIMLIBS_AKONADI_LIBS
}
${
KDEPIMLIBS_AKONADI_KMIME_LIBS
}
${
KDEPIMLIBS_KMIME_LIBS
}
followupreminder
)
if
(
Q_WS_MAC
)
...
...
agents/followupreminderagent/tests/CMakeLists.txt
View file @
3b36b3d0
...
...
@@ -6,10 +6,10 @@ include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/
# Convenience macro to add unit tests.
macro
(
followupreminder_agent _source
)
set
(
_test
${
_source
}
../followupreminderinfo.cpp
)
set
(
_test
${
_source
}
)
get_filename_component
(
_name
${
_source
}
NAME_WE
)
kde4_add_unit_test
(
${
_name
}
TESTNAME followupreminder-
${
_name
}
${
_test
}
)
target_link_libraries
(
${
_name
}
${
QT_QTTEST_LIBRARY
}
${
QT_QTCORE_LIBRARY
}
${
KDE4_KDEUI_LIBS
}
)
target_link_libraries
(
${
_name
}
${
QT_QTTEST_LIBRARY
}
${
QT_QTCORE_LIBRARY
}
${
KDE4_KDEUI_LIBS
}
followupreminder
)
endmacro
()
followupreminder_agent
(
followupreminderinfotest.cpp
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment