mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
feat(windows): use cmake to configure windows integration DLL version
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
59f3e774ad
commit
92d5c473f5
@ -11,6 +11,8 @@ set(MIRALL_VERSION_PATCH 50)
|
||||
set(MIRALL_VERSION_YEAR 2025)
|
||||
set(MIRALL_SOVERSION 0)
|
||||
set(MIRALL_PREVERSION_HUMAN "3.17.0 alpha") # For preversions where PATCH>=50. Use version + alpha, rc1, rc2, etc.
|
||||
set(NCEXT_BUILD_NUM 47)
|
||||
set(NCEXT_VERSION 3,0,0,${NCEXT_BUILD_NUM})
|
||||
|
||||
# ------------------------------------
|
||||
# Minimum supported server versions
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
# SPDX-FileCopyrightText: 2018 ownCloud GmbH
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
configure_file(Version.h.in ${CMAKE_CURRENT_BINARY_DIR}/Version.h)
|
||||
|
||||
add_library(NCUtil STATIC
|
||||
CommunicationSocket.cpp
|
||||
RemotePathChecker.cpp
|
||||
@ -9,5 +11,6 @@ add_library(NCUtil STATIC
|
||||
|
||||
target_include_directories(NCUtil
|
||||
PUBLIC
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}"
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
|
||||
@ -5,10 +5,10 @@
|
||||
|
||||
// This is the number that will end up in the version window of the DLLs.
|
||||
// Increment this version before committing a new build if you are today's shell_integration build master.
|
||||
#define NCEXT_BUILD_NUM 47
|
||||
#cmakedefine NCEXT_BUILD_NUM @NCEXT_BUILD_NUM@
|
||||
|
||||
#define STRINGIZE2(s) #s
|
||||
#define STRINGIZE(s) STRINGIZE2(s)
|
||||
|
||||
#define NCEXT_VERSION 3,0,0,NCEXT_BUILD_NUM
|
||||
#cmakedefine NCEXT_VERSION @NCEXT_VERSION@
|
||||
#define NCEXT_VERSION_STRING STRINGIZE(NCEXT_VERSION)
|
||||
Loading…
Reference in New Issue
Block a user