Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
8ea7899
adapting to new secure tunnel api
sbSteveK Jan 31, 2023
2180949
new api integration wip
sbSteveK Feb 9, 2023
6f3d7a2
Secure tunnel expansion of api
sbSteveK Feb 10, 2023
ddea326
documentation
sbSteveK Feb 11, 2023
8d96699
sample
sbSteveK Feb 11, 2023
ed5f65a
Add onConnectionFailure callbacks
sbSteveK Feb 13, 2023
d17dbff
added stopped callback
sbSteveK Feb 14, 2023
05fe207
Added actual minimal securetunnelbuilder constructor
sbSteveK Feb 14, 2023
6039bfb
Secure Tunnel Sample
sbSteveK Feb 15, 2023
4a8ca9a
Clean up cmdUtils in sample
sbSteveK Feb 15, 2023
40fae03
pr fixes
sbSteveK Feb 21, 2023
33094c1
sample update
sbSteveK Feb 22, 2023
c8c3f50
fix memory leak in sample
sbSteveK Feb 22, 2023
8ae4a2b
pr fixes/changes
sbSteveK Feb 22, 2023
d491dac
Merge branch 'main' into secure-tunnel-multiplex
sbSteveK Feb 22, 2023
0fecccf
merge with main
sbSteveK Feb 22, 2023
794869f
don't zero optional members
sbSteveK Feb 22, 2023
87890ce
disable existing secure tunnel tests
sbSteveK Feb 22, 2023
d1d893e
actually remove old tests
sbSteveK Feb 23, 2023
4c0715d
fix CMakeLists.txt
sbSteveK Feb 23, 2023
3b35141
don't zero an optional
sbSteveK Feb 23, 2023
25ddd1b
typo
sbSteveK Feb 23, 2023
24f33c8
windows warnings as errors
sbSteveK Feb 23, 2023
c1e7602
expand stream stopped callback
sbSteveK Feb 23, 2023
cbe140a
finish implementing StreamStoppedData
sbSteveK Feb 23, 2023
da1c84a
fix warnings in sample
sbSteveK Feb 23, 2023
8ce6f03
doc fixes
sbSteveK Feb 23, 2023
c4ce894
update sample readme and add services to ci
sbSteveK Feb 23, 2023
8e878d9
User Guide
sbSteveK Feb 23, 2023
abff139
remove comments
sbSteveK Feb 23, 2023
21c3d4d
code review changes
sbSteveK Feb 23, 2023
8b14d0e
latest submodules
sbSteveK Feb 23, 2023
22f74d1
remove file
sbSteveK Feb 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions samples/secure_tunneling/secure_tunnel/build_sample.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
from asyncio import subprocess
import os
import os.path
import shutil
import subprocess

# Place in the sample folder to be built
# Change DCMAKE_PREFIX_PATH below to the <absolute path sdk-cpp-workspace dir>

root_dir = os.path.abspath(os.path.dirname(__file__))
build_dir = os.path.join(root_dir, 'build')

# Delete existing Sample build directory
shutil.rmtree(build_dir, ignore_errors=True)
os.mkdir(build_dir)

os.chdir(build_dir)


def check_call(args):
print('$', subprocess.list2cmdline(args))
subprocess.check_call(args)


# Build
check_call(['cmake', '-DCMAKE_PREFIX_PATH="/Users/sbstevek/workplace/secure-tunnel-multiplexing/installs"',
'-DCMAKE_BUILD_TYPE="Debug"', '..'])
check_call(['cmake', '--build', '.', '--config', 'Debug'])

cmake - DCMAKE_PREFIX_PATH = "/Users/sbstevek/workplace/secure-tunnel-multiplexing/installs" - DCMAKE_BUILD_TYPE = "Debug" ..
cmake - -build . --config Debug
Loading