Changeset View
Changeset View
Standalone View
Standalone View
src/test/CMakeLists.txt
# Copyright (c) 2018 The Bitcoin developers | # Copyright (c) 2018 The Bitcoin developers | ||||
project(bitcoin-test) | project(bitcoin-test) | ||||
option(TEST_WITH_UPGRADE_ACTIVATED "Run unit tests with the next upgrade activated in addition to regular tests" OFF) | |||||
# Process json files. | # Process json files. | ||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/data") | file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/data") | ||||
function(gen_json_header NAME) | function(gen_json_header NAME) | ||||
set(HEADERS "") | set(HEADERS "") | ||||
foreach(f ${ARGN}) | foreach(f ${ARGN}) | ||||
set(h "${CMAKE_CURRENT_BINARY_DIR}/${f}.h") | set(h "${CMAKE_CURRENT_BINARY_DIR}/${f}.h") | ||||
▲ Show 20 Lines • Show All 168 Lines • Show Last 20 Lines |