Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Jan 6, 2025
1 parent 039add7 commit e8919d6
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions cmake/DaemonGame.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ function(buildExe)
COMPILE_OPTIONS "${GAMEMODULE_FLAGS}"
FOLDER ${GAMEMODULE_NAME}
)

ADD_PRECOMPILED_HEADER(${GAMEMODULE_NAME}-native-exe)
endfunction()

Expand Down Expand Up @@ -80,11 +81,11 @@ function(gameSubProject)
-DFORK=2
-DDAEMON_DIR=${Daemon_SOURCE_DIR}
-DDEPS_DIR=${DEPS_DIR}
${ARGV}
-DBUILD_CLIENT=OFF
-DBUILD_TTY_CLIENT=OFF
-DBUILD_SERVER=OFF
${inherited_option_args}
${ARGV}
${INHERITED_OPTION_ARGS}
INSTALL_COMMAND ""
)

Expand Down Expand Up @@ -130,10 +131,10 @@ function(GAMEMODULE)
endif()

include(ExternalProject)
set(inherited_option_args)
set(INHERITED_OPTION_ARGS)

foreach(inherited_option ${NACL_VM_INHERITED_OPTIONS})
set(inherited_option_args ${inherited_option_args}
set(INHERITED_OPTION_ARGS ${INHERITED_OPTION_ARGS}
"-D${inherited_option}=${${inherited_option}}")
endforeach(inherited_option)

Expand Down Expand Up @@ -171,11 +172,11 @@ function(GAMEMODULE)
gameSubProject(
-DCMAKE_TOOLCHAIN_FILE=${Daemon_SOURCE_DIR}/cmake/toolchain-saigo.cmake
-DBUILD_GAME_NACL=ON
-DUSE_NACL_SAIGO=ON
-DNACL_TARGET=${NACL_TARGET}
-DSAIGO_ARCH=${SAIGO_ARCH}
-DBUILD_GAME_NATIVE_DLL=OFF
-DBUILD_GAME_NATIVE_EXE=OFF
-DUSE_NACL_SAIGO=ON
-DSAIGO_ARCH=${SAIGO_ARCH}
-DNACL_TARGET=${NACL_TARGET}
)
endforeach()
else()
Expand All @@ -188,9 +189,9 @@ function(GAMEMODULE)
gameSubProject(
-DCMAKE_TOOLCHAIN_FILE=${Daemon_SOURCE_DIR}/cmake/toolchain-pnacl.cmake
-DBUILD_GAME_NACL=ON
-DNACL_TARGETS_STRING=${NACL_TARGETS_STRING}
-DBUILD_GAME_NATIVE_DLL=OFF
-DBUILD_GAME_NATIVE_EXE=OFF
-DNACL_TARGETS_STRING=${NACL_TARGETS_STRING}
)
endif()
endif()
Expand Down

0 comments on commit e8919d6

Please sign in to comment.