Inside Bitcoin
Opening the selected file…
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1# Copyright (c) 2026-present The Bitcoin Core developers2# Distributed under the MIT software license, see the accompanying3# file COPYING or https://opensource.org/license/mit/.5find_program(MAKENSIS_EXECUTABLE makensis REQUIRED)7# Project variables.8set(CLIENT_NAME "@CLIENT_NAME@")9set(CLIENT_VERSION_MAJOR @CLIENT_VERSION_MAJOR@)10set(CLIENT_VERSION_MINOR @CLIENT_VERSION_MINOR@)11set(CLIENT_VERSION_BUILD @CLIENT_VERSION_BUILD@)12set(CLIENT_VERSION_STRING "@CLIENT_VERSION_STRING@")13set(CLIENT_URL "@PROJECT_HOMEPAGE_URL@")14set(COPYRIGHT_YEAR "@COPYRIGHT_YEAR@")15set(COPYRIGHT_HOLDERS_FINAL "@COPYRIGHT_HOLDERS_FINAL@")16set(abs_top_srcdir @PROJECT_SOURCE_DIR@)17set(EXEEXT @CMAKE_EXECUTABLE_SUFFIX@)19# Script variables.20cmake_path(ABSOLUTE_PATH BIN_DIR NORMALIZE)21cmake_path(ABSOLUTE_PATH LIBEXEC_DIR NORMALIZE)23# Other variables required by the `setup.nsi.in` template.24set(CLIENT_TARNAME "bitcoin")25set(BITCOIN_WRAPPER_NAME "bitcoin")26set(BITCOIN_GUI_NAME "bitcoin-qt")27set(BITCOIN_DAEMON_NAME "bitcoind")28set(BITCOIN_CLI_NAME "bitcoin-cli")29set(BITCOIN_TX_NAME "bitcoin-tx")30set(BITCOIN_WALLET_TOOL_NAME "bitcoin-wallet")31set(BITCOIN_TEST_NAME "test_bitcoin")32configure_file(@PROJECT_SOURCE_DIR@/share/setup.nsi.in ${CMAKE_CURRENT_LIST_DIR}/bitcoin-win64-setup.nsi33USE_SOURCE_PERMISSIONS @ONLY34)36execute_process(37WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}38COMMAND ${MAKENSIS_EXECUTABLE} -V2 bitcoin-win64-setup.nsi39COMMAND_ERROR_IS_FATAL ANY40)
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.