mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-08 15:39:55 +03:00
chore(app): set Windows app entry point to WinMain
This commit is contained in:
1 parent
4cc5b4b038
commit
6cdeb0c35b
2 files changed
+2
-2
No files matched your search
@@ -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,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();
|
||||
|
||||
Reference in new issue
Block a user