Created
February 26, 2017 15:36
-
-
Save jingzhehu/70326feccc09ecec2b24d2b51bb82bcd to your computer and use it in GitHub Desktop.
Clion meets bitcoin.
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
cmake_minimum_required(VERSION 3.3) | |
project(bitcoin) | |
set(CMAKE_CXX_STANDARD 11) | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | |
add_custom_target(build-bitcoin ALL | |
COMMAND ./autogen.sh | |
COMMAND ./configure | |
COMMAND $(MAKE) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} | |
COMMAND $(MAKE) install) | |
add_custom_target(debug-bitcoind ALL) | |
add_custom_target(debug-bitcoin-qt ALL) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
very goood