diff --git a/Icon.ico b/Icon.ico deleted file mode 100644 index 5d06b9f..0000000 Binary files a/Icon.ico and /dev/null differ diff --git a/msvc/wallet.rc b/msvc/wallet.rc index 6b72f9f..9e1a334 100644 --- a/msvc/wallet.rc +++ b/msvc/wallet.rc @@ -2,7 +2,7 @@ // The visual studio resource editor will screw it up. #pragma code_page(65001) // UTF-8 // this icon is used with wxFrame::SetIcon() -AAArho ICON "rho.ico" +AAArho ICON "../docs/rho.ico" // set this to 1 if you don't want to use manifest resource (manifest resource // is needed to enable visual styles on Windows XP - see docs/msw/winxp.txt diff --git a/msvc/wallet.vcxproj b/msvc/wallet.vcxproj index c8e4738..49c8256 100644 --- a/msvc/wallet.vcxproj +++ b/msvc/wallet.vcxproj @@ -43,15 +43,19 @@ true - GSL\include;wxWidgets\include\msvc;wxWidgets\include;libsodium\src\libsodium\include;mpir;$(IncludePath) - wxWidgets\lib\vc_x64_lib\;libsodium\Build\Debug\X64;mpir\lib\x64\Debug;$(LibraryPath) + $(SolutionDir)wxWidgets\include\msvc;$(SolutionDir)wxWidgets\include;$(SolutionDir)libsodium\src\libsodium\include;$(SolutionDir)mpir;$(IncludePath) + $(SolutionDir)wxWidgets\lib\vc_x64_lib\;$(SolutionDir)libsodium\Build\Debug\X64;$(SolutionDir)mpir\lib\x64\Debug;$(LibraryPath) + $(SolutionDir)build\$(Configuration)\ + $(SolutionDir)build\$(Configuration)\ false - GSL\include;wxWidgets\include\msvc;wxWidgets\include;libsodium\src\libsodium\include;mpir;$(IncludePath) - wxWidgets\lib\vc_x64_lib\;libsodium\Build\Release\X64;mpir\lib\x64\Release;$(LibraryPath) + $(SolutionDir)wxWidgets\include\msvc;$(SolutionDir)wxWidgets\include;$(SolutionDir)libsodium\src\libsodium\include;$(SolutionDir)mpir;$(IncludePath) + $(SolutionDir)wxWidgets\lib\vc_x64_lib\;$(SolutionDir)libsodium\Build\Release\X64;$(SolutionDir)mpir\lib\x64\Release;$(LibraryPath) + $(SolutionDir)build\$(Configuration)\ + $(SolutionDir)build\$(Configuration)\ @@ -119,60 +123,59 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - + + + + + NotUsing NotUsing - + NotUsing NotUsing - - - - - + + + + + NotUsing NotUsing - + NotUsing NotUsing - + Create Create - - - /utf-8 %(AdditionalOptions) + + - + - + diff --git a/msvc/winConfig.bat b/msvc/winConfig.bat index 2c905e2..fb3fff9 100644 --- a/msvc/winConfig.bat +++ b/msvc/winConfig.bat @@ -94,28 +94,28 @@ IF %ERRORLEVEL% NEQ 0 ( echo on cd ..\..\.. -msbuild wallet.vcxproj -p:Configuration=Debug;Platform=x64 -m +msbuild wallet.sln -p:Configuration=Debug;Platform=x64 -m echo off IF %ERRORLEVEL% NEQ 0 ( PAUSE GOTO:EOF ) echo on -msbuild wallet.vcxproj -p:Configuration=Release;Platform=x64 -m +msbuild wallet.sln -p:Configuration=Release;Platform=x64 -m echo off IF %ERRORLEVEL% NEQ 0 ( PAUSE GOTO:EOF ) echo on -.\x64\Debug\wallet.exe --complete --test +.\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 -.\x64\Release\wallet.exe --complete --test +.\build\Release\wallet.exe --complete --test echo off IF %ERRORLEVEL% NEQ 0 ( echo failed unit test on release build diff --git a/src/ISqlit3Impl.cpp b/src/ISqlit3Impl.cpp index 75716eb..cebd543 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/sqlite3.h" +#include "sqlite3.h" static auto error_message(int rc, sqlite3* pdb) { return std::string("Sqlite3 Error: ") + sqlite3_errmsg(pdb) + ". Sqlite3 error number=" + std::to_string(rc); diff --git a/sqlite3/sqlite3.h b/src/sqlite3.h similarity index 100% rename from sqlite3/sqlite3.h rename to src/sqlite3.h diff --git a/wallet.sln b/wallet.sln index 268ac46..45b6602 100644 --- a/wallet.sln +++ b/wallet.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.32014.148 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wallet", "wallet.vcxproj", "{B1EC18D5-FA70-4A59-8CAE-EDC65A358314}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wallet", "msvc/wallet.vcxproj", "{B1EC18D5-FA70-4A59-8CAE-EDC65A358314}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{2F7D488C-DC53-4ECE-87E2-4FEA32C153EF}" EndProject