Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
defunctec
crown-core
Commits
10fb3a2c
Commit
10fb3a2c
authored
6 years ago
by
Volodymyr Shamray
Committed by
Artem B
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Add crown-cli executable
parent
e5c11bcc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+1
-1
CMakeLists.txt
src/CMakeLists.txt
+18
-3
src/CMakeLists.txt
src/qt/CMakeLists.txt
+2
-2
src/qt/CMakeLists.txt
src/test/CMakeLists.txt
+1
-1
src/test/CMakeLists.txt
with
22 additions
and
7 deletions
+22
-7
CMakeLists.txt
View file @
10fb3a2c
...
...
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0)
set
(
CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake_modules"
)
find_package
(
Boost COMPONENTS thread program_options unit_test_framework REQUIRED
)
find_package
(
Boost COMPONENTS thread program_options
filesystem
unit_test_framework REQUIRED
)
find_package
(
OpenSSL REQUIRED
)
find_package
(
BDB REQUIRED
)
find_package
(
CURL REQUIRED
)
...
...
This diff is collapsed.
Click to expand it.
src/CMakeLists.txt
View file @
10fb3a2c
...
...
@@ -290,9 +290,9 @@ add_library(crown_common
target_include_directories
(
crown_common PRIVATE
${
CMAKE_CURRENT_SOURCE_DIR
}
PRIVATE leveldb/helpers/memenv PRIVATE secp256k1/include
)
target_link_libraries
(
crown_common PUBLIC crown_core PUBLIC crown_crypto PRIVATE secp256k1 PRIVATE crown_util PRIVATE crown_univalue
)
# LIBCROWN-CLI
# LIBCROWN-CLI
ENT
add_library
(
crown_cli
add_library
(
crown_cli
ent
rpcclient.cpp
)
# LIBCROWN-UTIL
...
...
@@ -345,7 +345,7 @@ add_library(crown_wallet
updater.cpp
)
target_include_directories
(
crown_wallet
P
UBLIC
${
CMAKE_CURRENT_SOURCE_DIR
}
P
RIVATE
${
CMAKE_CURRENT_SOURCE_DIR
}
)
target_link_libraries
(
crown_wallet
...
...
@@ -385,3 +385,18 @@ target_link_libraries(crownd
curl
)
add_executable
(
crown-cli
crown-cli.cpp
)
target_include_directories
(
crown-cli
PRIVATE
${
CMAKE_CURRENT_SOURCE_DIR
}
)
target_link_libraries
(
crown-cli
crown_client
crown_util
Boost::thread
Boost::filesystem
OpenSSL::SSL
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/qt/CMakeLists.txt
View file @
10fb3a2c
...
...
@@ -160,7 +160,7 @@ target_include_directories(crownqtlib PUBLIC ${CMAKE_CURRENT_BINARY_DIR} PRIVATE
target_link_libraries
(
crownqtlib
crown_util
crown_cli
crown_cli
ent
leveldb
Qt5::Widgets
Qt5::Network
...
...
@@ -205,7 +205,7 @@ target_link_libraries(crown_qt
crown_util
crown_crypto
crown_univalue
crown_cli
crown_cli
ent
crownqtlib
Qt5::Widgets
protobuf::libprotobuf
...
...
This diff is collapsed.
Click to expand it.
src/test/CMakeLists.txt
View file @
10fb3a2c
...
...
@@ -49,7 +49,7 @@ target_compile_definitions(crown_test PRIVATE "BOOST_TEST_DYN_LINK=1")
target_link_libraries
(
crown_test
Boost::boost
Boost::unit_test_framework
crown_cli
crown_cli
ent
crown_core
crown_server
crown_common
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help