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

This commit is contained in:
Tristan Cormier authored and fallenoak committed 2023-01-05 21:26:45 -06:00
1 parent 4cc5b4b038
commit 6cdeb0c35b
2 files changed
+2 -2

No files matched your search

+1 -1
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
+1 -1
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();