Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cumbia-copy-source-context-menu-actions
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs
lib
cumbia
cumbia-copy-source-context-menu-actions
Commits
deab6169
Commit
deab6169
authored
3 months ago
by
Giacomo Strangolino
Browse files
Options
Downloads
Patches
Plain Diff
added cmake support (CMakeLists.txt)
parent
b77ce1b3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+32
-0
32 additions, 0 deletions
CMakeLists.txt
cumbia-copy-source-context-menu-actions.json
+0
-3
0 additions, 3 deletions
cumbia-copy-source-context-menu-actions.json
with
32 additions
and
3 deletions
CMakeLists.txt
0 → 100644
+
32
−
0
View file @
deab6169
cmake_minimum_required
(
VERSION 3.16
)
project
(
cumbia-copy-source-context-menu-actions VERSION 1.0 LANGUAGES C CXX
)
find_package
(
QT NAMES Qt6 REQUIRED COMPONENTS Core
)
find_package
(
Qt
${
QT_VERSION_MAJOR
}
REQUIRED COMPONENTS Gui DBus
)
find_package
(
Qt
${
QT_VERSION_MAJOR
}
OPTIONAL_COMPONENTS UiPlugin
)
qt_standard_project_setup
()
# in order to find quapps-pre-target and quapps-post-target (below)
# make sure you specify -DCMAKE_MODULE_PATH=/usr/local/cumbia-libs/lib/cmake
# alongside the cmake command
#
# find available cumbia modules and enable them
include
(
quapps-pre-target
)
file
(
GLOB_RECURSE SOURCES src/*.cpp
)
file
(
GLOB_RECURSE HEADERS src/*.h
)
qt_add_plugin
(
${
PROJECT_NAME
}
SHARED
${
SOURCES
}
${
HEADERS
}
src/
${
PROJECT_NAME
}
.json
)
target_include_directories
(
${
PROJECT_NAME
}
PRIVATE
src
)
# finalize inclusion of available cumbia modules
include
(
quapps-post-target
)
# needs -DCMAKE_MODULE_PATH=
install
(
TARGETS
${
PROJECT_NAME
}
LIBRARY DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
/qumbia-plugins
)
This diff is collapsed.
Click to expand it.
cumbia-copy-source-context-menu-actions.json
deleted
100644 → 0
+
0
−
3
View file @
b77ce1b3
{
"Keys"
:
[
]
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment