mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Manually integrated @gtbass OSX changes.
This commit is contained in:
parent
f85b001272
commit
70fd65501e
3 changed files with 19 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
|||
.debug/
|
||||
.svn/
|
||||
tags
|
||||
.DS_Store
|
||||
|
|
17
examples/common/entry_osx.cpp
Normal file
17
examples/common/entry_osx.cpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright 2011-2012 Branimir Karadzic. All rights reserved.
|
||||
* License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <bx/bx.h>
|
||||
|
||||
#if BX_PLATFORM_OSX
|
||||
|
||||
extern int _main_(int _argc, char** _argv);
|
||||
|
||||
int main(int _argc, char** _argv)
|
||||
{
|
||||
return _main_(_argc, _argv);
|
||||
}
|
||||
|
||||
#endif // BX_PLATFORM_OSX
|
1
makefile
1
makefile
|
@ -11,6 +11,7 @@ all:
|
|||
premake --file=premake/premake4.lua --gcc=mingw gmake
|
||||
premake --file=premake/premake4.lua --gcc=linux gmake
|
||||
premake --file=premake/premake4.lua --gcc=emscripten gmake
|
||||
premake --file=premake/premake4.lua xcode4
|
||||
make -s --no-print-directory -C src
|
||||
|
||||
linux-debug32:
|
||||
|
|
Loading…
Reference in a new issue