aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-10-21 12:38:00 -0400
committerBen Boeckel <ben.boeckel@kitware.com>2014-10-23 16:42:34 -0400
commitf53f04724c714a40c10e8c0afdca465054fabca8 (patch)
tree954045d002843d5a7767b87be199adc9be2f31b6 /src/wallet
parentcmake: refactor common code with libraries (diff)
downloadmonero-f53f04724c714a40c10e8c0afdca465054fabca8.tar.xz
cmake: handle private vs. public headers
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/wallet/CMakeLists.txt b/src/wallet/CMakeLists.txt
index d7fae541d..e32d86a59 100644
--- a/src/wallet/CMakeLists.txt
+++ b/src/wallet/CMakeLists.txt
@@ -30,16 +30,21 @@ set(wallet_sources
wallet2.cpp
wallet_rpc_server.cpp)
-set(wallet_headers
+set(wallet_headers)
+
+set(wallet_private_headers
wallet2.h
wallet_errors.h
wallet_rpc_server.h
wallet_rpc_server_commands_defs.h
wallet_rpc_server_error_codes.h)
+bitmonero_private_headers(wallet
+ ${wallet_private_headers})
bitmonero_add_library(wallet
${wallet_sources}
- ${wallet_headers})
+ ${wallet_headers}
+ ${wallet_private_headers})
target_link_libraries(wallet
PUBLIC
cryptonote_core