Skip to content

Commit

Permalink
Disable debugger for iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed May 7, 2020
1 parent 99d07f7 commit 47e33bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions platforms/ios/Gearboy.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,10 @@
CLANG_CXX_LIBRARY = "libc++";
DEVELOPMENT_TEAM = V3F66RFMSJ;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
GEARBOY_DISABLE_DISASSEMBLER,
);
HEADER_SEARCH_PATHS = (
"$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
Expand All @@ -683,6 +687,7 @@
DEVELOPMENT_TEAM = V3F66RFMSJ;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_OPTIMIZATION_LEVEL = 2;
GCC_PREPROCESSOR_DEFINITIONS = GEARBOY_DISABLE_DISASSEMBLER;
HEADER_SEARCH_PATHS = (
"$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
Expand Down
1 change: 0 additions & 1 deletion platforms/ios/Gearboy/Emulator.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#endif
#endif

#define GEARBOY_DISABLE_DISASSEMBLER
#import "../../../src/gearboy.h"
#import "../../../platforms/audio-shared/Sound_Queue.h"
#import "EmulatorInput.h"
Expand Down
1 change: 0 additions & 1 deletion platforms/ios/Gearboy/texturemanager.mm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
*/

#include "texturemanager.h"
#define GEARBOY_DISABLE_DISASSEMBLER
#import "../../../src/gearboy.h"
#include <OpenGLES/ES1/glext.h>

Expand Down

0 comments on commit 47e33bd

Please sign in to comment.