<commit_before><xml>
   <!-- Require Android 2.3+ -->
   <set name="PLATFORM" value="android-9" if="android" />
   <set name="PLATFORM" value="android-14" if="HXCPP_X86" />
   <set name="HXCPP_CPP11" value="1" />
   <set name="debug" value="debug" if="lime fulldebug" />


   <include name="${HXCPP}/build-tool/BuildCommon.xml"/>
   <!-- 
      Build with:
         -Diphonesim              -> build i386 version
         -Diphoneos               -> build armv6
         -Diphoneos -DHXCPP_ARMV7 -> build armv7
         -Dandroid                -> build android armv5
         -Dandroid  -DHXCPP_ARMV7 -> build android armv7
         -Dandroid  -DHXCPP_X86   -> build android x86
         - no defines             -> build current OS
         -DHXCPP_M64              -> build current OS, 64 but version
         -Ddebug                  -> Used in combination with above for debug
   -->

   <!-- Where to find static libraries/includes -->
   <set name="NME_DEV" value="${haxelib:nme-dev}" unless="NME_DEV" />
   

   <!--
      What SDL to use?
      For desktop, use version 2.
      For ios/android, not needed. 
      For rpi, and other systems, use installed 1.0
   -->
   <set name="NME_SDL_SYSTEM" value="1" if="rpi" />
   <set name="NME_SDL_SYSTEM" value="1" if="blackberry" />
   <set name="NME_SDL_SYSTEM" value="1" if="webos" />
   <set name="NME_SDL2" value="1" if="windows" />
   <set name="NME_SDL2" value="1" if="linux" unless="NME_SDL_SYSTEM" />
   <set name="NME_SDL2" value="1" if="macos" />

   <set name="NME_SDL_ANY" value="1" if="NME_SDL_SYSTEM" />
   <set name="NME_SDL_ANY" value="1" if="NME_SDL2" />

   <!-- Use opengl backend ? -->
   <set name="NME_OGL" value="1" />
   <unset name="NME_OGL" if="winrt" />

   <!-- For systems that do not create the egl context for us -->
   <set name="NME_EGL" value="1" if="rpi"/>
   <set name="NME_EGL" value="1" if="tizen"/>

   <!-- Do we need to implement curl in NME -->
   <set name="NME_CURL" value="1" />
   <unset name="NME_CURL" if="winrt" />

   <!-- And allow https ? -->
   <set name="NME_SSL" value="1" />
   <set name="NME_SSL_EXTRA" value="_ssl" if="NME_SSL"/>
 
 
   <!--
      What audio backend it use?
      For windows, linux, use SDL_mixer
      For ios/mac  use core audio + openal
      For android use java (todo - opensl?)
   -->

   <!-- Built relative to "bin" -->
   <set name="NME_ROOT" value="" unless="lime" />
   <set name="NME_ROOT" value="${haxelib:nme}/project/" if="lime" />
   
   <set name="SRC_DIR" value="${NME_ROOT}src" />
   <set name="INC_DIR" value="${NME_ROOT}include" />
   <set name="NME_INC_DIR" value="${NME_ROOT}../include" />
   <set name="SUP_DIR" value="${NME_ROOT}support" />
   <set name="OUT_DIR" value="../${NDLLDIR}" />
   
   <files id="main">
      <compilerflag value="-I${INC_DIR}"/>
      <file name="Test.cpp"/>
   </files>
   
   
   <files id="nme">
      <compilerflag value="-I${NME_INC_DIR}"/>
      <compilerflag value="-I${INC_DIR}"/>


      <section if="windows">
         <file name="${SRC_DIR}/windows/GDIFont.cpp"/>
         <file name="${SRC_DIR}/windows/System.cpp" />
      </section>

      <section if="linux">
         <compilerflag value="-Wno-conversion" if="linux"/>
         <file name="${SRC_DIR}/linux/NativeFont.cpp"/>
         <file name="${SRC_DIR}/linux/System.cpp"/>
      </section>

      <section if="macos">
         <compilerflag value="-I${SRC_DIR}/openal"/>
         <file name="${SRC_DIR}/mac/NSFont.cpp"/>
         <file name="${SRC_DIR}/mac/MacBoot.m" />
         <file name="${SRC_DIR}/mac/System.mm"/>
         <file name="${SRC_DIR}/cocoa/FileManager.mm"/>
         <!-- <file name="${SRC_DIR}/openal/OpenALSound.cpp" /> -->
      </section>

      <section if="iphone">
         <file name="${SRC_DIR}/iPhone/UIStageView.mm"/>
         <file name="${SRC_DIR}/iPhone/UIDeviceHardware.mm"/>
         <!-- <file name="${SRC_DIR}/iPhone/SurfaceIO.mm"/> -->
         <file name="${SRC_DIR}/openal/OpenALSound.cpp" />
         <file name="${SRC_DIR}/common/Audio.cpp" />
         <file name="${SRC_DIR}/iPhone/Sound.mm"/>
         <file name="${SRC_DIR}/iPhone/NativeFont.mm"/>
         <file name="${SRC_DIR}/iPhone/System.mm"/>
         <file name="${SRC_DIR}/cocoa/FileManager.mm"/>
      </section>

      <section if="android">
         <file name="${SRC_DIR}/android/AndroidCommon.cpp" />
         <file name="${SRC_DIR}/android/AndroidSound.cpp"/>
         <file name="${SRC_DIR}/android/AndroidFont.cpp"/>
         <file name="${SRC_DIR}/android/AndroidFrame.cpp"/>
         <file name="${SRC_DIR}/android/JNI.cpp"/>
         <file name="${SRC_DIR}/android/System.cpp"/>
         <!-- <file name="${SRC_DIR}/android/AndroidS3D.cpp" if="lime" /> -->
      </section>

      <section if="tizen">
         <compilerflag value="-I${TIZEN_PLATFORM}/usr/include/osp"/>
         <compilerflag value="-D_APP_LOG" />
         <file name="${SRC_DIR}/linux/NativeFont.cpp"/>
         <file name="${SRC_DIR}/tizen/TizenApplication.cpp"/>
         <file name="${SRC_DIR}/tizen/TizenStage.cpp"/>
         <file name="${SRC_DIR}/tizen/TizenFrame.cpp"/>
         <file name="${SRC_DIR}/tizen/System.cpp" />
      </section>

      <section if="blackberry">
         <compilerflag value="-I${QNX_TARGET}/usr/include" />
         <file name="${SRC_DIR}/linux/NativeFont.cpp"/>
         <file name="${SRC_DIR}/blackberry/System.cpp"/>
      </section>

      <section if="rpi">
         <compilerflag value="-I/opt/vc/include" />
         <compilerflag value="-I/opt/vc/include/interface/vcos/pthreads/" />
      </section>


      <section if="NME_SDL_SYSTEM">
        <compilerflag value="-I/opt/local/include" if="macos" /><commit_msg>Remove redundant include<commit_after><xml>
   <!-- Require Android 2.3+ -->
   <set name="PLATFORM" value="android-9" if="android" />
   <set name="PLATFORM" value="android-14" if="HXCPP_X86" />
   <set name="HXCPP_CPP11" value="1" />
   <set name="debug" value="debug" if="lime fulldebug" />


   <include name="${HXCPP}/build-tool/BuildCommon.xml"/>
   <!-- 
      Build with:
         -Diphonesim              -> build i386 version
         -Diphoneos               -> build armv6
         -Diphoneos -DHXCPP_ARMV7 -> build armv7
         -Dandroid                -> build android armv5
         -Dandroid  -DHXCPP_ARMV7 -> build android armv7
         -Dandroid  -DHXCPP_X86   -> build android x86
         - no defines             -> build current OS
         -DHXCPP_M64              -> build current OS, 64 but version
         -Ddebug                  -> Used in combination with above for debug
   -->

   <!-- Where to find static libraries/includes -->
   <set name="NME_DEV" value="${haxelib:nme-dev}" unless="NME_DEV" />
   

   <!--
      What SDL to use?
      For desktop, use version 2.
      For ios/android, not needed. 
      For rpi, and other systems, use installed 1.0
   -->
   <set name="NME_SDL_SYSTEM" value="1" if="rpi" />
   <set name="NME_SDL_SYSTEM" value="1" if="blackberry" />
   <set name="NME_SDL_SYSTEM" value="1" if="webos" />
   <set name="NME_SDL2" value="1" if="windows" />
   <set name="NME_SDL2" value="1" if="linux" unless="NME_SDL_SYSTEM" />
   <set name="NME_SDL2" value="1" if="macos" />

   <set name="NME_SDL_ANY" value="1" if="NME_SDL_SYSTEM" />
   <set name="NME_SDL_ANY" value="1" if="NME_SDL2" />

   <!-- Use opengl backend ? -->
   <set name="NME_OGL" value="1" />
   <unset name="NME_OGL" if="winrt" />

   <!-- For systems that do not create the egl context for us -->
   <set name="NME_EGL" value="1" if="rpi"/>
   <set name="NME_EGL" value="1" if="tizen"/>

   <!-- Do we need to implement curl in NME -->
   <set name="NME_CURL" value="1" />
   <unset name="NME_CURL" if="winrt" />

   <!-- And allow https ? -->
   <set name="NME_SSL" value="1" />
   <set name="NME_SSL_EXTRA" value="_ssl" if="NME_SSL"/>
 
 
   <!--
      What audio backend it use?
      For windows, linux, use SDL_mixer
      For ios/mac  use core audio + openal
      For android use java (todo - opensl?)
   -->

   <!-- Built relative to "bin" -->
   <set name="NME_ROOT" value="" unless="lime" />
   <set name="NME_ROOT" value="${haxelib:nme}/project/" if="lime" />
   
   <set name="SRC_DIR" value="${NME_ROOT}src" />
   <set name="INC_DIR" value="${NME_ROOT}include" />
   <set name="NME_INC_DIR" value="${NME_ROOT}../include" />
   <set name="SUP_DIR" value="${NME_ROOT}support" />
   <set name="OUT_DIR" value="../${NDLLDIR}" />
   
   <files id="main">
      <compilerflag value="-I${INC_DIR}"/>
      <file name="Test.cpp"/>
   </files>
   
   
   <files id="nme">
      <compilerflag value="-I${NME_INC_DIR}"/>
      <compilerflag value="-I${INC_DIR}"/>


      <section if="windows">
         <file name="${SRC_DIR}/windows/GDIFont.cpp"/>
         <file name="${SRC_DIR}/windows/System.cpp" />
      </section>

      <section if="linux">
         <compilerflag value="-Wno-conversion" if="linux"/>
         <file name="${SRC_DIR}/linux/NativeFont.cpp"/>
         <file name="${SRC_DIR}/linux/System.cpp"/>
      </section>

      <section if="macos">
         <compilerflag value="-I${SRC_DIR}/openal"/>
         <file name="${SRC_DIR}/mac/NSFont.cpp"/>
         <file name="${SRC_DIR}/mac/MacBoot.m" />
         <file name="${SRC_DIR}/mac/System.mm"/>
         <file name="${SRC_DIR}/cocoa/FileManager.mm"/>
         <!-- <file name="${SRC_DIR}/openal/OpenALSound.cpp" /> -->
      </section>

      <section if="iphone">
         <file name="${SRC_DIR}/iPhone/UIStageView.mm"/>
         <file name="${SRC_DIR}/iPhone/UIDeviceHardware.mm"/>
         <!-- <file name="${SRC_DIR}/iPhone/SurfaceIO.mm"/> -->
         <file name="${SRC_DIR}/openal/OpenALSound.cpp" />
         <file name="${SRC_DIR}/common/Audio.cpp" />
         <file name="${SRC_DIR}/iPhone/Sound.mm"/>
         <file name="${SRC_DIR}/iPhone/NativeFont.mm"/>
         <file name="${SRC_DIR}/iPhone/System.mm"/>
         <file name="${SRC_DIR}/cocoa/FileManager.mm"/>
      </section>

      <section if="android">
         <file name="${SRC_DIR}/android/AndroidCommon.cpp" />
         <file name="${SRC_DIR}/android/AndroidSound.cpp"/>
         <file name="${SRC_DIR}/android/AndroidFont.cpp"/>
         <file name="${SRC_DIR}/android/AndroidFrame.cpp"/>
         <file name="${SRC_DIR}/android/JNI.cpp"/>
         <file name="${SRC_DIR}/android/System.cpp"/>
         <!-- <file name="${SRC_DIR}/android/AndroidS3D.cpp" if="lime" /> -->
      </section>

      <section if="tizen">
         <compilerflag value="-I${TIZEN_PLATFORM}/usr/include/osp"/>
         <compilerflag value="-D_APP_LOG" />
         <file name="${SRC_DIR}/linux/NativeFont.cpp"/>
         <file name="${SRC_DIR}/tizen/TizenApplication.cpp"/>
         <file name="${SRC_DIR}/tizen/TizenStage.cpp"/>
         <file name="${SRC_DIR}/tizen/TizenFrame.cpp"/>
         <file name="${SRC_DIR}/tizen/System.cpp" />
      </section>

      <section if="blackberry">
         <file name="${SRC_DIR}/linux/NativeFont.cpp"/>
         <file name="${SRC_DIR}/blackberry/System.cpp"/>
      </section>

      <section if="rpi">
         <compilerflag value="-I/opt/vc/include" />
         <compilerflag value="-I/opt/vc/include/interface/vcos/pthreads/" />
      </section>


      <section if="NME_SDL_SYSTEM">
        <compilerflag value="-I/opt/local/include" if="macos" />
{'fraction_non_alphanumeric': 0.19349148954934298, 'fraction_numerical': 0.008466355057765235, 'mean_word_length': 2.494607087827427, 'pattern_counts': {'":': 0, '<': 216, '<?xml version=': 0, '>': 234, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7511938', 'n_tokens_mistral': 3953, 'n_tokens_neox': 3801, 'n_words': 710}