Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Libraries
KOSMIndoorMap
Commits
92ec76d9
Commit
92ec76d9
authored
Oct 19, 2020
by
Volker Krause
Browse files
Install KOSMIndoorMap as a shared library
Also install the public headers, for use by KDE Itinerary.
parent
a837c7f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/map/CMakeLists.txt
View file @
92ec76d9
...
...
@@ -19,7 +19,7 @@ ecm_qt_declare_logging_category(logging_srcs HEADER logging.h IDENTIFIER KOSMInd
ecm_qt_declare_logging_category
(
logging_srcs HEADER render-logging.h IDENTIFIER KOSMIndoorMap::RenderLog CATEGORY_NAME org.kde.kosmindoormap.renderer
)
ecm_qt_declare_logging_category
(
logging_srcs HEADER reassembly-logging.h IDENTIFIER KOSMIndoorMap::ReassemblyLog CATEGORY_NAME org.kde.kosmindoormap.reassembly
)
add_library
(
KOSMIndoorMap
STATIC
add_library
(
KOSMIndoorMap
${
logging_srcs
}
assets/assets.qrc
...
...
@@ -119,4 +119,22 @@ ecm_generate_headers(KOSMIndoorMap_Style_FORWARDING_HEADERS
RELATIVE style
)
install
(
TARGETS KOSMIndoorMap EXPORT KOSMIndoorMapTargets
${
INSTALL_TARGETS_DEFAULT_ARGS
}
)
install
(
FILES
${
KOSMIndoorMap_Content_FORWARDING_HEADERS
}
${
KOSMIndoorMap_Loader_FORWARDING_HEADERS
}
${
KOSMIndoorMap_Renderer_FORWARDING_HEADERS
}
${
KOSMIndoorMap_Scene_FORWARDING_HEADERS
}
${
KOSMIndoorMap_Style_FORWARDING_HEADERS
}
DESTINATION
${
KDE_INSTALL_INCLUDEDIR
}
/KOSMIndoorMap
)
install
(
FILES
${
KOSMIndoorMap_Content_HEADERS
}
${
KOSMIndoorMap_Loader_HEADERS
}
${
KOSMIndoorMap_Renderer_HEADERS
}
${
KOSMIndoorMap_Scene_HEADERS
}
${
KOSMIndoorMap_Style_HEADERS
}
${
CMAKE_CURRENT_BINARY_DIR
}
/kosmindoormap_export.h
DESTINATION
${
KDE_INSTALL_INCLUDEDIR
}
/kosmindoormap
)
install
(
FILES org_kde_kosmindoormap.categories DESTINATION
${
KDE_INSTALL_LOGGINGCATEGORIESDIR
}
)
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