Fix a method improperly returning akerr_ErrorContext * and add debug flags
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
cmake_minimum_required(VERSION 3.10)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
project(akgltest LANGUAGES C)
|
project(akgltest LANGUAGES C)
|
||||||
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pg")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -ggdb -pg")
|
||||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pg")
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -g -ggdb -pg")
|
||||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -pg")
|
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -g -ggdb -pg")
|
||||||
|
|
||||||
add_subdirectory(deps/jansson EXCLUDE_FROM_ALL)
|
add_subdirectory(deps/jansson EXCLUDE_FROM_ALL)
|
||||||
add_subdirectory(deps/libakerror EXCLUDE_FROM_ALL)
|
add_subdirectory(deps/libakerror EXCLUDE_FROM_ALL)
|
||||||
|
|||||||
2
deps/libakerror
vendored
2
deps/libakerror
vendored
Submodule deps/libakerror updated: 7700af06a1...b5435041f2
2
deps/libakgl
vendored
2
deps/libakgl
vendored
Submodule deps/libakgl updated: e03cec1c38...8f613397d6
2
deps/libakstdlib
vendored
2
deps/libakstdlib
vendored
Submodule deps/libakstdlib updated: a8108178ee...def4175d0a
@@ -319,6 +319,7 @@ akerr_ErrorContext AKERR_NOIGNORE *akgltest_controller_bind_universal(char *acto
|
|||||||
control.handler_on = &akgltest_set_gamemode_menu;
|
control.handler_on = &akgltest_set_gamemode_menu;
|
||||||
PASS(e, akgl_controller_pushmap(mapid, &control));
|
PASS(e, akgl_controller_pushmap(mapid, &control));
|
||||||
}
|
}
|
||||||
|
SUCCEED_RETURN(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user