Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
a5056465
Commit
a5056465
authored
Oct 14, 2016
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(app): use cmake (in progress)
parent
58a4ccac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
0 deletions
+47
-0
CMakeLists.txt
tests/CMakeLists.txt
+47
-0
No files found.
tests/CMakeLists.txt
0 → 100644
View file @
a5056465
cmake_minimum_required
(
VERSION 3.0
)
project
(
linphone
)
set
(
LINPHONE_EXEC linphone
)
# Use automatically moc from Qt5.
set
(
CMAKE_AUTOMOC ON
)
set
(
CMAKE_INCLUDE_CURRENT_DIR ON
)
set
(
QT5_PACKAGES Core Gui Quick Widgets QuickControls2
)
set
(
LIBS
""
)
foreach
(
package
${
QT5_PACKAGES
}
)
list
(
APPEND LIBS
"Qt::
${
package
}
"
)
find_package
(
Qt5 COMPONENTS
${
QT5_PACKAGES
}
)
set
(
SOURCES
src/app.cpp
src/components/contacts/ContactModel.cpp
src/components/contacts/ContactsListModel.cpp
src/components/contacts/ContactsListProxyModel.cpp
src/components/notification/Notification.cpp
src/components/settings/AccountSettingsListModel.cpp
src/components/settings/AccountSettingsModel.cpp
src/components/settings/SettingsModel.cpp
src/main.cpp
)
set
(
HEADERS
src/app.hpp
src/components/contacts/ContactModel.hpp
src/components/contacts/ContactsListModel.hpp
src/components/contacts/ContactsListProxyModel.hpp
src/components/notification/Notification.hpp
src/components/presence/Presence.hpp
src/components/settings/AccountSettingsListModel.hpp
src/components/settings/AccountSettingsModel.hpp
src/components/settings/SettingsModel.hpp
)
# Include `qrc` files.
qt5_add_resources
(
RESOURCES resources.qrc
)
# Build.
add_executable
(
${
LINPHONE_EXEC
}
${
SOURCES
}
${
HEADERS
}
${
RESOURCES
}
)
target_link_libraries
(
${
LINPHONE_EXEC
}
${
LIBS
}
)
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