don't install library dev files until there is an API/ABI policy
This commit is contained in:
parent
ede7dd0e84
commit
ce2bb1e433
3 changed files with 17 additions and 14 deletions
|
@ -12,11 +12,12 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
|
|||
add_custom_target(
|
||||
${output_xml_file}
|
||||
SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
|
||||
)
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
|
||||
DESTINATION ${DBUS_INTERFACES_INSTALL_DIR}
|
||||
)
|
||||
)
|
||||
# don't install until API is stable
|
||||
# install(
|
||||
# FILES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
|
||||
# DESTINATION ${DBUS_INTERFACES_INSTALL_DIR}
|
||||
# )
|
||||
add_dependencies(
|
||||
${main_project_target}
|
||||
${output_xml_file}
|
||||
|
|
|
@ -64,4 +64,4 @@ generate_and_install_dbus_interface(
|
|||
OPTIONS -a
|
||||
)
|
||||
|
||||
install(TARGETS kdeconnectcore EXPORT kdeconnectLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
install(TARGETS kdeconnectcore EXPORT kdeconnectLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
|
||||
|
|
|
@ -79,12 +79,14 @@ ecm_setup_version( "${KDECONNECT_VERSION_MAJOR}.${KDECONNECT_VERSION_MINOR}.${KD
|
|||
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kdeconnectinterfaces_version.h"
|
||||
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KDEConnectConfigVersion.cmake"
|
||||
SOVERSION ${KDECONNECT_VERSION_MAJOR})
|
||||
|
||||
install(TARGETS kdeconnectinterfaces EXPORT kdeconnectLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
|
||||
#Install header files
|
||||
install(FILES ${libkdeconnect_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kdeconnect COMPONENT Devel)
|
||||
install(FILES ${libkdeconnect_public_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/KDEConnect COMPONENT Devel)
|
||||
install(FILES ${CMAKE_BINARY_DIR}/interfaces/KDEConnectConfig.cmake
|
||||
${CMAKE_BINARY_DIR}/interfaces/KDEConnectConfigVersion.cmake
|
||||
DESTINATION ${LIB_INSTALL_DIR}/cmake/KDEConnect)
|
||||
install(TARGETS kdeconnectinterfaces EXPORT kdeconnectLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
|
||||
message ("INSTALL_TARGETS_DEFAULT_ARGS" ${INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
|
||||
## Don't install header files until API/ABI policy is defined
|
||||
#
|
||||
# install(FILES ${libkdeconnect_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/kdeconnect COMPONENT Devel)
|
||||
# install(FILES ${libkdeconnect_public_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/KDEConnect COMPONENT Devel)
|
||||
# install(FILES ${CMAKE_BINARY_DIR}/interfaces/KDEConnectConfig.cmake
|
||||
# ${CMAKE_BINARY_DIR}/interfaces/KDEConnectConfigVersion.cmake
|
||||
# DESTINATION ${LIB_INSTALL_DIR}/cmake/KDEConnect)
|
||||
|
|
Loading…
Reference in a new issue