-
Notifications
You must be signed in to change notification settings - Fork 0
Setup
MustafaHi edited this page Aug 16, 2021
·
2 revisions
First. Get Botan binary files
You can use vcpkg to install Botan
vcpkg install botan
or follow the setup guide provided by Botan https://botan.randombit.net/handbook/building.html
Second. Setup the library
Different methods
-
Include it into your cpp project
Add
sciter-botan.cpp
to your projectAdd to your main function
SciterSetGlobalAsset(new botan());
Done.
-
Build the library as DLL
Create project called
sciter-botan
Add
sciter-botan.cpp
to your projectCreate file called
sciter.def
with the following code, and link it your projectEXPORTS SciterLibraryInit = SciterLibraryInit
include all necessary headers
Build.
Third. Include Script files
JavaScript botan.mjs
Tiscript botan.tis
Make sure to have all binary files botan.dll
and if created sciter-botan.dll
, in the same folder as sciter.dll