Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ZSaberLv0 committed Nov 28, 2024
1 parent ea3aaa5 commit 8f0a31f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions ZFLoader/zfproj/cmake/ZFLoader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ add_compile_options("$<$<CONFIG:DEBUG>:-DDEBUG>")
include("${PROJECT_SOURCE_DIR}/zfprojConfig.cmake" OPTIONAL)

if(WIN32)
set(CMAKE_WIN32_EXECUTABLE TRUE)
execute_process(COMMAND "${ZF_ROOT_PATH}\\tools\\release\\release_cmake.bat" 1)
else()
execute_process(COMMAND sh "${ZF_ROOT_PATH}/tools/release/release_cmake.sh" 1)
Expand Down
2 changes: 2 additions & 0 deletions ZFLoader/zfproj/cmake/ZFLoader/cmake_main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#define SDL_MAIN_HANDLED

#include "ZFCore.h"
#include "ZFCore/protocol/ZFProtocolZFMainEntry.h"

Expand Down
1 change: 1 addition & 0 deletions ZFLoader/zfproj_with_src/cmake/ZFLoader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.4.1)
project(ZFLoader)

if(WIN32)
set(CMAKE_WIN32_EXECUTABLE TRUE)
execute_process(COMMAND "${PROJECT_SOURCE_DIR}\\..\\..\\..\\..\\zfsetup.bat")
else()
execute_process(COMMAND sh "${PROJECT_SOURCE_DIR}/../../../../zfsetup.sh")
Expand Down
2 changes: 2 additions & 0 deletions ZFLoader/zfproj_with_src/cmake/ZFLoader/cmake_main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#define SDL_MAIN_HANDLED

#include "ZFCore.h"
#include "ZFCore/protocol/ZFProtocolZFMainEntry.h"

Expand Down

0 comments on commit 8f0a31f

Please sign in to comment.