mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
chore(app): set Windows app entry point to WinMain
This commit is contained in:
parent
4cc5b4b038
commit
6cdeb0c35b
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue