-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathWkPlatform.c.config
47 lines (42 loc) · 1.34 KB
/
WkPlatform.c.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#include "WkPlatform_@PROJECT_NAME@.h"
/* Basic C function to display Wk Configuration on runtime */
#include <stdio.h>
/*WK_@PROJECT_NAME@_LOCAL*/ int WkDebug()
{
printf ( "\n%s has been built with WkCMake \n", WK_@PROJECT_NAME@_PROJECT_NAME );
printf ( "Build Platform : %s\n", WK_@PROJECT_NAME@_PLATFORM );
printf ( "Build System : %s %s %s\n", WK_@PROJECT_NAME@_SYSTEM_NAME, WK_@PROJECT_NAME@_SYSTEM_VERSION, WK_@PROJECT_NAME@_SYSTEM_PROCESSOR );
printf ( "Compiler used : %s\n", WK_@PROJECT_NAME@_COMPILER );
printf ( "The following external dependencies were detected :\n");
#ifdef WK_@PROJECT_NAME@_FOUND_SDLIMAGE
printf ( "- SDL_image\n" ) ;
#endif
#ifdef WK_@PROJECT_NAME@_FOUND_SDLMIXER
printf ( "- SDL_mixer\n" );
#endif
#ifdef WK_@PROJECT_NAME@_FOUND_SDLTTF
printf ( "- SDL_ttf\n" );
#endif
#ifdef WK_@PROJECT_NAME@_FOUND_SDLNET
printf ( "- SDL_net\n" );
#endif
#ifdef WK_@PROJECT_NAME@_FOUND_OPENGL
printf ( "- OpenGL\n" );
#endif
#ifdef WK_@PROJECT_NAME@_FOUND_GUICHAN
printf ( "- GUIchan\n");
#endif
#ifdef WK_@PROJECT_NAME@_FOUND_MySql
printf ( "- MySql\n");
#endif
#ifdef WK_@PROJECT_NAME@_FOUND_MySQLpp
printf ( "- MySQL++\n");
#endif
#ifdef WK_@PROJECT_NAME@_FOUND_Bullet
printf ( "- Bullet\n");
#endif
#ifdef WK_@PROJECT_NAME@_FOUND_LuaJIT
printf ( "- LuaJIT\n");
#endif
return 0;
}