mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
feat(app): add windows app
This commit is contained in:
parent
6bebfe5e2f
commit
655d795a9d
20 changed files with 176 additions and 66 deletions
|
|
@ -1,3 +1,18 @@
|
|||
if(WHOA_SYSTEM_WIN)
|
||||
file(GLOB PRIVATE_SOURCES "win/*.cpp")
|
||||
|
||||
add_executable(Whoa ${PRIVATE_SOURCES})
|
||||
|
||||
target_link_libraries(Whoa
|
||||
PRIVATE
|
||||
client
|
||||
event
|
||||
gx
|
||||
net
|
||||
util
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WHOA_SYSTEM_MAC)
|
||||
file(GLOB PRIVATE_SOURCES "mac/*.cpp" "mac/*.mm")
|
||||
|
||||
|
|
@ -42,7 +57,4 @@ target_include_directories(Whoa
|
|||
${CMAKE_SOURCE_DIR}/src
|
||||
)
|
||||
|
||||
# Windows executables yet to be done
|
||||
if(WHOA_SYSTEM_MAC OR WHOA_SYSTEM_LINUX)
|
||||
install(TARGETS Whoa DESTINATION "bin")
|
||||
endif()
|
||||
install(TARGETS Whoa DESTINATION "bin")
|
||||
|
|
|
|||
11
src/app/win/Whoa.cpp
Normal file
11
src/app/win/Whoa.cpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "client/Client.hpp"
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
// TODO
|
||||
|
||||
CommonMain();
|
||||
|
||||
// TODO
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue