mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-10 00:18:23 +03:00
feat(app): add windows app
This commit is contained in:
1 parent
6bebfe5e2f
commit
655d795a9d
20 files changed
+176
-66
No files matched your search
+16
-4
@@ -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")
|
||||
@@ -0,0 +1,11 @@
|
||||
#include "client/Client.hpp"
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
// TODO
|
||||
|
||||
CommonMain();
|
||||
|
||||
// TODO
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user