Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.25.0)

project(TreelandProtocols VERSION 0.0.1)
project(TreelandProtocols VERSION 0.5.0)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

Expand Down
2 changes: 2 additions & 0 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
configure_file(TreelandProtocolsConfig.cmake.in TreelandProtocolsConfig.cmake @ONLY)
configure_file(TreelandProtocolsConfigVersion.cmake.in TreelandProtocolsConfigVersion.cmake @ONLY)
configure_file(treeland-protocols.pc.in treeland-protocols.pc @ONLY)

install(FILES ${CMAKE_CURRENT_BINARY_DIR}/TreelandProtocolsConfig.cmake
${CMAKE_CURRENT_BINARY_DIR}/TreelandProtocolsConfigVersion.cmake
DESTINATION ${CMAKE_INSTALL_DATADIR}/cmake/TreelandProtocols)

install(FILES ${CMAKE_CURRENT_BINARY_DIR}/treeland-protocols.pc
Expand Down
2 changes: 2 additions & 0 deletions cmake/TreelandProtocolsConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
set(TREELAND_PROTOCOLS_DATA_DIR @CMAKE_INSTALL_FULL_DATAROOTDIR@/treeland-protocols/)
set(TreelandProtocols_VERSION @PROJECT_VERSION@)
set(TREELAND_PROTOCOLS_VERSION @PROJECT_VERSION@)
11 changes: 11 additions & 0 deletions cmake/TreelandProtocolsConfigVersion.cmake.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
set(PACKAGE_VERSION "@PROJECT_VERSION@")

# Check whether the requested PACKAGE_FIND_VERSION is compatible
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
set(PACKAGE_VERSION_EXACT TRUE)
endif()
endif()
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
treeland-protocols (0.5.0) unstable; urgency=medium

* feat: add treeland-ddm communication protocol

-- rewine <luhongxu@uniontech.com> Thu, 21 Aug 2025 11:39:06 +0800

treeland-protocols (0.4.5) unstable; urgency=medium

* bump version to 0.4.5
Expand Down
Loading