fnc12 / sqlite_orm

❤️ SQLite ORM light header only library for modern C++
GNU Affero General Public License v3.0
2.19k stars 305 forks source link

Explicitly set the entry point of the unit test executable for Windows Unicode builds #1295

Closed trueqbit closed 1 month ago

trueqbit commented 1 month ago

... otherwise for some reason the msvc linker will not pick up wmain, which is provided by the static Catch2 library. This is important for Windows Unicode builds, e.g. those performed by build environments for the Windows Store such as vcpkg's "x64-uwp" triplet.