feat(app): add windows app

This commit is contained in:
fallenoak authored and GitHub committed 2023-01-03 00:45:25 -06:00
1 parent 6bebfe5e2f
commit 655d795a9d
20 files changed
+176 -66

No files matched your search

+16 -4
View File
@@ -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
View File
@@ -0,0 +1,11 @@
#include "client/Client.hpp"
int main(int argc, char* argv[]) {
// TODO
CommonMain();
// TODO
return 0;
}