Skip to content

Commit

Permalink
feat: build system improvements (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpelliccioni committed Oct 18, 2024
1 parent 7df867d commit 6a9c6be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.

cmake_minimum_required(VERSION 3.15)
cmake_minimum_required(VERSION 3.20)

project(node-exe VERSION 0 LANGUAGES CXX C)

Expand Down Expand Up @@ -113,7 +113,7 @@ endif()
# Build
# ------------------------------------------------------------------------------
add_executable(${PROJECT_NAME} src/main.cpp)
set_target_properties(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX CXX_STANDARD 20 CXX_STANDARD_REQUIRED TRUE)
set_target_properties(${PROJECT_NAME} PROPERTIES LINKER_LANGUAGE CXX CXX_STANDARD 23 CXX_STANDARD_REQUIRED TRUE)

target_compile_definitions(${PROJECT_NAME} PUBLIC -DBCN_STATIC -DBCB_STATIC -DBCD_STATIC -DBCT_STATIC -DBC_STATIC)

Expand Down
1 change: 1 addition & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class KnuthNodeExeConan(KnuthConanFileV2):
url = "https://github.com/k-nuth/kth"
description = "Bitcoin full node executable"
settings = "os", "compiler", "build_type", "arch"
package_type = "application"

options = {
"currency": ['BCH', 'BTC', 'LTC'],
Expand Down

0 comments on commit 6a9c6be

Please sign in to comment.