diff --git a/msvc/wallet.vcxproj b/msvc/wallet.vcxproj index c4f4483..a417628 100644 --- a/msvc/wallet.vcxproj +++ b/msvc/wallet.vcxproj @@ -145,7 +145,7 @@ - + @@ -194,4 +194,4 @@ - + \ No newline at end of file diff --git a/msvc/win.bat b/msvc/win.bat new file mode 100644 index 0000000..13a3401 --- /dev/null +++ b/msvc/win.bat @@ -0,0 +1,33 @@ +echo on +call C:\"Program Files (x86)"\"Microsoft Visual Studio"\2022\BuildTools\VC\Auxiliary\Build\vcvarsamd64_x86.bat +call C:\"Program Files"\"Microsoft Visual Studio"\2022\Community\VC\Auxiliary\Build\vcvars64.bat" +echo on +msbuild wallet.sln -p:Configuration=Debug;Platform=x64 -m +echo off +IF %ERRORLEVEL% NEQ 0 ( + PAUSE + GOTO:EOF +) +echo on +msbuild wallet.sln -p:Configuration=Release;Platform=x64 -m +echo off +IF %ERRORLEVEL% NEQ 0 ( + PAUSE + GOTO:EOF +) +echo on +.\build\Debug\wallet.exe --complete --test +echo off +IF %ERRORLEVEL% NEQ 0 ( + echo failed unit test on debug build +) ELSE ( + echo passed unit test on debug build +) +echo on +.\build\Release\wallet.exe --complete --test +echo off +IF %ERRORLEVEL% NEQ 0 ( + echo failed unit test on release build +) ELSE ( + echo passed unit test on release build +) diff --git a/src/sqlite3.h b/sqlite3/sqlite3.h similarity index 100% rename from src/sqlite3.h rename to sqlite3/sqlite3.h diff --git a/src/ISqlit3Impl.cpp b/src/ISqlit3Impl.cpp index a079b5c..64f044a 100644 --- a/src/ISqlit3Impl.cpp +++ b/src/ISqlit3Impl.cpp @@ -14,7 +14,7 @@ #include // for shared_ptr, unique_ptr #include #include "ISqlite3.h" -#include "sqlite3.h" +#include "../sqlite3/sqlite3.h" /*Because sqlite3.h is frigging enormous and does no end of strange, clever things that I do not understand, I do not include it my standard header files, only in this file, which does not include my standard header files.