forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #86: cmake: Re-add Windows host to Guix scripts
592abd1 fixup! cmake: Migrate Guix build scripts to CMake (Hennadii Stepanov) 7827bb4 fixup! cmake: Add `Maintenance` module (Hennadii Stepanov) a7955b5 cmake: Add `AddWindowsResources` module (Hennadii Stepanov) Pull request description: The Windows installer produced by the `deploy` target is named now `bitcoin-win64-setup.exe`, which differs from the master branch where it is `bitcoin-<VERSION>-win64-setup.exe`. I think, it is more consistent as other build artifacts do not have versioned names. Guix build: ``` x86_64 c8c04ef3b212650b6121231325353fa490a1a0660e2e9964acc5712f16a279ee guix-build-f56f5b914480/output/dist-archive/bitcoin-f56f5b914480.tar.gz 97d7b8b509576dc649d252b5b1f54148ed46bd7550acb7b2bf52c47acb9b2b16 guix-build-f56f5b914480/output/x86_64-w64-mingw32/SHA256SUMS.part 1df6445ebb26c973fdca643a3547bea2e1640791ef606354a2d0d06795eacbba guix-build-f56f5b914480/output/x86_64-w64-mingw32/bitcoin-f56f5b914480-win64-debug.zip 3b95cb0c55f946bdc0f5921651444b3b0dae724e39f8e4a8278cbe8ce02dfd62 guix-build-f56f5b914480/output/x86_64-w64-mingw32/bitcoin-f56f5b914480-win64-setup-unsigned.exe 24cf0efd5e0c83704c2485dfea0ab826158005706e4fd15d6aa19afa2bb8e622 guix-build-f56f5b914480/output/x86_64-w64-mingw32/bitcoin-f56f5b914480-win64-unsigned.tar.gz 13c488d8faea7c7eab198b34edb851219f39e0caa9fc15e8ae6168ba646ea23f guix-build-f56f5b914480/output/x86_64-w64-mingw32/bitcoin-f56f5b914480-win64.zip ``` Top commit has no ACKs. Tree-SHA512: 79ff7dcf110a897c7b7f85e10521aebd04e06bed9c1394a1e6ae3c85c4aeefd7b5c268ca1ec24d98df480bbc92f63269e07d84991454414b391f1b680a2f18bc
- Loading branch information
Showing
8 changed files
with
76 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Copyright (c) 2024-present The Bitcoin Core developers | ||
# Distributed under the MIT software license, see the accompanying | ||
# file COPYING or https://opensource.org/license/mit/. | ||
|
||
include_guard(GLOBAL) | ||
|
||
macro(add_windows_resources target rc_file) | ||
if(WIN32) | ||
target_sources(${target} PRIVATE ${rc_file}) | ||
set_property(SOURCE ${rc_file} | ||
APPEND PROPERTY COMPILE_DEFINITIONS WINDRES_PREPROC | ||
) | ||
endif() | ||
endmacro() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright (c) 2023-present The Bitcoin Core developers | ||
# Distributed under the MIT software license, see the accompanying | ||
# file COPYING or https://opensource.org/license/mit/. | ||
|
||
function(generate_setup_nsi) | ||
set(abs_top_srcdir ${PROJECT_SOURCE_DIR}) | ||
set(abs_top_builddir ${PROJECT_BINARY_DIR}) | ||
set(PACKAGE_VERSION ${PROJECT_VERSION}) | ||
set(CLIENT_VERSION_MAJOR ${PROJECT_VERSION_MAJOR}) | ||
set(CLIENT_VERSION_MINOR ${PROJECT_VERSION_MINOR}) | ||
set(CLIENT_VERSION_BUILD ${PROJECT_VERSION_PATCH}) | ||
set(PACKAGE_URL ${PROJECT_HOMEPAGE_URL}) | ||
set(PACKAGE_TARNAME "bitcoin") | ||
set(BITCOIN_GUI_NAME "bitcoin-qt") | ||
set(BITCOIN_DAEMON_NAME "bitcoind") | ||
set(BITCOIN_CLI_NAME "bitcoin-cli") | ||
set(BITCOIN_TX_NAME "bitcoin-tx") | ||
set(BITCOIN_WALLET_TOOL_NAME "bitcoin-wallet") | ||
set(BITCOIN_TEST_NAME "test_bitcoin") | ||
set(EXEEXT ${CMAKE_EXECUTABLE_SUFFIX}) | ||
configure_file(${PROJECT_SOURCE_DIR}/share/setup.nsi.in ${PROJECT_BINARY_DIR}/bitcoin-win64-setup.nsi @ONLY) | ||
endfunction() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters