Skip to content

Commit 1410fdc

Browse files
Reorganize code
1 parent df4cba6 commit 1410fdc

19 files changed

Lines changed: 1460 additions & 1501 deletions

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ set(SOURCES
2828
src/cpp/wallet/py_monero_wallet.cpp
2929
src/cpp/wallet/py_monero_wallet_full.cpp
3030
src/cpp/wallet/py_monero_wallet_rpc.cpp
31+
src/cpp/utils/py_monero_utils.cpp
3132
src/cpp/py_monero.cpp
3233
)
3334

@@ -43,6 +44,7 @@ include_directories(
4344
${CMAKE_CURRENT_SOURCE_DIR}/src/cpp/common
4445
${CMAKE_CURRENT_SOURCE_DIR}/src/cpp/daemon
4546
${CMAKE_CURRENT_SOURCE_DIR}/src/cpp/wallet
47+
${CMAKE_CURRENT_SOURCE_DIR}/src/cpp/utils
4648
)
4749

4850
link_directories(

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
coverage = os.environ.get("COVERAGE") == "1"
1010
this_dir = Path(__file__).parent.resolve()
11-
extra_compile_args = ['/std:c++17'] if sys.platform == "win32" else ['-std=c++17']
11+
extra_compile_args: list[str] = ['/std:c++17'] if sys.platform == "win32" else ['-std=c++17']
1212
extra_link_args: list[str] = []
1313

1414
if coverage:
@@ -27,6 +27,7 @@
2727
'src/cpp/wallet/py_monero_wallet.cpp',
2828
'src/cpp/wallet/py_monero_wallet_full.cpp',
2929
'src/cpp/wallet/py_monero_wallet_rpc.cpp',
30+
'src/cpp/utils/py_monero_utils.cpp',
3031
'src/cpp/py_monero.cpp'
3132
],
3233
include_dirs=[
@@ -40,7 +41,8 @@
4041
str(this_dir / 'src' / 'cpp'),
4142
str(this_dir / 'src' / 'cpp' / 'common'),
4243
str(this_dir / 'src' / 'cpp' / 'daemon'),
43-
str(this_dir / 'src' / 'cpp' / 'wallet')
44+
str(this_dir / 'src' / 'cpp' / 'wallet'),
45+
str(this_dir / 'src' / 'cpp' / 'utils')
4446
],
4547
library_dirs=[
4648
str(this_dir / 'external' / 'monero-cpp' / 'build')

src/cpp/common/py_boost_optional_caster.h

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)