File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 <compilerflag value =" -DGL_GLEXT_PROTOTYPES" if =" android || rpi" />
1313 <compilerflag value =" -DHAVE_LIBC" />
1414
15- <compilerflag value =" -D__IPHONEOS__" if =" ios" />
15+ <compilerflag value =" -D__IPHONEOS__" if =" ios || tvos" />
16+ <compilerflag value =" -D__TVOS__" if =" tvos" />
1617
1718 <section if =" windows" >
1819
163164
164165 </section >
165166
166- <section if =" android || ios || windows || rpi" >
167+ <section if =" android || ios || windows || rpi || tvos " >
167168
168169 <file name =" ${NATIVE_TOOLKIT_PATH}/sdl/src/video/SDL_egl.c" />
169170 <file name =" ${NATIVE_TOOLKIT_PATH}/sdl/src/render/opengles/SDL_render_gles.c" />
357358
358359 </section >
359360
360- <section if =" ios" >
361+ <section if =" ios || tvos " >
361362
362363 <file name =" ${NATIVE_TOOLKIT_PATH}/sdl/src/audio/coreaudio/SDL_coreaudio.c" />
363364 <file name =" ${NATIVE_TOOLKIT_PATH}/sdl/src/file/cocoa/SDL_rwopsbundlesupport.m" />
Original file line number Diff line number Diff line change 22
33 <include name =" ${HXCPP}/build-tool/BuildCommon.xml" />
44 <set name =" ios" value =" 1" if =" iphone" />
5+ <set name =" tvos" value =" 1" if =" appletv" />
56 <set name =" mac" value =" 1" if =" macos" />
67 <set name =" native_toolkit_sdl_static" value =" 1" if =" static_link" />
78
1516 <set name =" SLIBEXT" value =" .a" unless =" windows" />
1617 <set name =" SHLIBEXT" value =" .dll" if =" windows" />
1718 <set name =" SHLIBEXT" value =" .so" unless =" windows" />
18- <set name =" SHLIBEXT" value =" .dylib" if =" mac || ios" />
19+ <set name =" SHLIBEXT" value =" .dylib" if =" mac || ios || tvos " />
1920 <!-- :todo: will use a define to control -debug appendage -->
2021 <set name =" DEBUGEXTRA" value =" " />
2122 <set name =" DEBUGEXTRA" value =" " if =" native_toolkit_sdl_static" />
You can’t perform that action at this time.
0 commit comments