- this needed more fixes...
- Miscellaneous CMakeLists.txt fixes.

- fixed a CMake warning about uninitialized use of the variable CROSS_EXPORTS in the tools subfolder when CMAKE_CROSSCOMPILING is off;
- fixed a variable typo: CMAKE_CURRENTY_BINARY_DIR instead of CMAKE_CURRENT_BINARY_DIR;
- in src/CMakeLists.txt, fixed a missing merge of a portion of code from maint branch to master.
- fixed compilation with VC++2005 solution.

hu_stuff.h defined some callbacks for qsort without STACK_ARGS which causes problems with this solution's Release setting which uses __fastcall calling convention.
Merge branch 'master' of https://github.com/rheit/zdoom
+ maximum optimization configuration in Xcode project

* link-time optimization a.k.a. link-time code generation or whole program optimization
* fastest optimization level (-O3)
* position-dependent code generation
* fix elimination of global symbols from special sections
Serialize FriendPlayer
- fixed: ACS's LineAttack function with a valid tid still used the activator as the attack's source.
- fixed: FraggleScript's SpawnedThings array must always be checked for owned inventory items. The 'mapthingnumexist' function forgot to do that.
Merge branch 'master' of https://github.com/rheit/zdoom
- Fixed: Player turned into a zombie if exiting telefragged in buddha mode.
- Fixed: Players could drop their inventory after dying.
- Disable cubic and spline resamplers on 64-bit with fmod 4.26 since they crash.
- Fixed some typos with chex quest obituaries and French translation error.
- Expand environment variables for autoload paths.
- Forgot to save the French translation file for the last commit, so a few more corrections there.
- Call C_DeinitConsole in I_Quit so that we can be sure that Printf will work for as long as possible.  Otherwise ZDoom will crash when ending a demo recording.
- Fixed: Legacy render style array was in the wrong order.
Changes to maketic/menu/console updates

- Console and Menu will now update cleanly during stalls.
- Moved net adaption so uncapped framerate will always use it.
- Fixed: wrong FString empty string check.

Even when '+logfile' argument was omitted, the console would print 'Could not start log', because 'logfile != NULL' was used as a check for the presence of '+logfile' argument, but the internal buffer of FString is never NULL, so the right check is 'logfile.isNotEmpty()'.
While I'm at it, I fixed another bad check for 'pagename'.
* bundle name is always GZDoom
Merge branch 'master' of https://github.com/coelckers/gzdoom into osx
Merge branch 'master' of https://github.com/rheit/zdoom into osx