first commit

Version 3.x.x
This commit is contained in:
VNGhostMans
2023-05-14 20:21:09 +07:00
parent a3037a8db3
commit 5ec92ee05e
1166 changed files with 1036539 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#include "precompiled.h"
#ifdef WIN
#include <crtdbg.h> /* Heap verifying */
#elif MACOSX
#define __ICONS__
#include <Cocoa/Cocoa.h>
#endif
int main(int argc, char **argv)
{
#ifdef WIN
/* Set up heap verifying. */
_CrtSetDbgFlag(_CrtSetDbgFlag( _CRTDBG_REPORT_FLAG ) | _CRTDBG_LEAK_CHECK_DF);
#elif MACOSX
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
#endif
testing::InitGoogleTest(&argc, argv);
int rc = RUN_ALL_TESTS();
#ifdef MACOSX
[pool release];
#endif
return rc;
}