chore(app): set Windows app entry point to WinMain

This commit is contained in:
Tristan Cormier 2023-01-03 09:17:36 -05:00 committed by fallenoak
parent 4cc5b4b038
commit 6cdeb0c35b
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
if(WHOA_SYSTEM_WIN)
file(GLOB PRIVATE_SOURCES "win/*.cpp")
add_executable(Whoa ${PRIVATE_SOURCES})
add_executable(Whoa WIN32 ${PRIVATE_SOURCES})
target_link_libraries(Whoa
PRIVATE

View File

@ -1,6 +1,6 @@
#include "client/Client.hpp"
int main(int argc, char* argv[]) {
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) {
// TODO
CommonMain();