Skip to content

Commit 0f4a84f

Browse files
committed
outerSpace: build HostedInternalServer only for windows (for now)
1 parent eb98d67 commit 0f4a84f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

outerSpace/prog/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
'-f', '../../prog/daNetGame-das-aot/jamfile'] + AOT_COMPILER_JAM_OPTIONS)
2929
run(['jam', '-sNeedDasAotCompile=yes'] + PROJ_JAM_OPTIONS)
3030
run(['jam', '-sNeedDasAotCompile=yes', '-sDedicated=yes'] + PROJ_JAM_OPTIONS)
31-
run(['jam', '-sNeedDasAotCompile=yes', '-sDedicated=yes', '-sTargetType=dll'] + PROJ_JAM_OPTIONS)
31+
if DAGOR_HOST == 'windows':
32+
run(['jam', '-sNeedDasAotCompile=yes', '-sDedicated=yes', '-sTargetType=dll'] + PROJ_JAM_OPTIONS)
3233

3334
run(['jam', '-sProjectPath=outerSpace', '-sRoot=../..', '-f', '../../prog/tools/relay/jamfile'])
3435

outerSpace/prog/jamfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ include $(Root)/prog/daNetGame/target_name_rules.jam ; # Note - $(Platform) is n
77

88
TargetType ?= exe ;
99
if $(Dedicated) != yes { TargetType = exe ; }
10-
UseHostedInternalServer = yes ;
1110
Target ?= [ CorrectTargetName ] ;
1211
TargetCodeName = $(Game) ; # this will hold target name unchanged even if non-default phys engine is used
1312
UseSystemOpenSSL = no ;
@@ -25,6 +24,7 @@ AotJamfile = $(Root)/prog/daNetGame-das-aot/jamfile ;
2524
AotCompilerBaseName = $(Root)/$(Location)/../tools/das-aot/outer_space-aot ;
2625
include $(Root)/prog/daNetGame/setup.jam ; # Note - $(Platform) is not defined before this line unless passed in command line
2726
DAS_AOT_COMPILER_OPT = -- --config outer_space_aot_config.blk -sConfig $(Config) ;
27+
if $(Platform) in windows { UseHostedInternalServer = yes ; }
2828

2929
if $(Dedicated) != yes && $(Platform) in windows && $(PlatformArch) != arm64 {
3030
VRDeviceSupport ?= yes ;

0 commit comments

Comments
 (0)