mirror of
https://github.com/cxong/cdogs-sdl.git
synced 2025-07-22 15:10:33 +02:00
Fix build errors
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# To create a debug build, run `cmake -D CMAKE_BUILD_TYPE=Debug .` instead
|
||||
|
||||
# For more info: http://github.com/cxong/cdogs-sdl/wiki/Developer-Getting-Started:-GCW-Zero
|
||||
rm CMakeCache.txt
|
||||
rm CMakeCache.txt -f
|
||||
rm gcw0build -rf
|
||||
mkdir gcw0build
|
||||
cd gcw0build
|
||||
|
@@ -391,7 +391,9 @@ static void CheckLANServers(menu_t *menu, void *data)
|
||||
}
|
||||
|
||||
static menu_t *MenuCreateOptionsGraphics(const char *name, MenuSystem *ms);
|
||||
#if !defined(__ANDROID__) && !defined(__GCWZERO__)
|
||||
static menu_t *MenuCreateOptionsControls(const char *name, MenuSystem *ms);
|
||||
#endif
|
||||
|
||||
static menu_t *MenuCreateOptions(const char *name, MenuSystem *ms)
|
||||
{
|
||||
@@ -451,6 +453,7 @@ menu_t *MenuCreateOptionsGraphics(const char *name, MenuSystem *ms)
|
||||
|
||||
menu_t *MenuCreateKeys(const char *name, MenuSystem *ms);
|
||||
|
||||
#if !defined(__ANDROID__) && !defined(__GCWZERO__)
|
||||
menu_t *MenuCreateOptionsControls(const char *name, MenuSystem *ms)
|
||||
{
|
||||
menu_t *menu = MenuCreateNormal(
|
||||
@@ -464,6 +467,7 @@ menu_t *MenuCreateOptionsControls(const char *name, MenuSystem *ms)
|
||||
MenuSetPostInputFunc(menu, PostInputConfigApply, ms);
|
||||
return menu;
|
||||
}
|
||||
#endif
|
||||
|
||||
menu_t *MenuCreateQuit(const char *name)
|
||||
{
|
||||
|
@@ -68,6 +68,8 @@ add_executable(config_test
|
||||
../cdogs/config_old.h
|
||||
../cdogs/json_utils.c
|
||||
../cdogs/json_utils.h
|
||||
../cdogs/log.c
|
||||
../cdogs/log.h
|
||||
../cdogs/utils.c
|
||||
../cdogs/utils.h)
|
||||
target_link_libraries(config_test
|
||||
|
Reference in New Issue
Block a user