mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-16 10:04:42 +03:00
chore(app): set Windows app entry point to WinMain
This commit is contained in:
parent
4cc5b4b038
commit
6cdeb0c35b
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user