Remove bt logging
This commit is contained in:
parent
e5811b61a0
commit
6a8a896aba
3 changed files with 0 additions and 14 deletions
|
|
@ -45,8 +45,6 @@ option(PSEMEK_LEGACY_UI "Use legacy UI library" OFF)
|
|||
|
||||
message(STATUS "Using backend ${PSEMEK_BACKEND}")
|
||||
|
||||
option(PSEMEK_BT_LOG "Add logging for behavior tree actions" OFF)
|
||||
|
||||
if(PSEMEK_BACKEND STREQUAL "ANDROID")
|
||||
set(PSEMEK_GL_API gles32)
|
||||
set(PSEMEK_GL_LIBRARIES GLESv3 EGL)
|
||||
|
|
|
|||
|
|
@ -4,6 +4,3 @@ file(GLOB_RECURSE PSEMEK_BT_SOURCES RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "sour
|
|||
psemek_add_library(psemek-bt ${PSEMEK_BT_HEADERS} ${PSEMEK_BT_SOURCES})
|
||||
target_include_directories(psemek-bt PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||
target_link_libraries(psemek-bt PUBLIC psemek-util psemek-log)
|
||||
if(PSEMEK_BT_LOG)
|
||||
target_compile_definitions(psemek-bt PUBLIC -DPSEMEK_BT_LOG=1)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#ifdef PSEMEK_BT_LOG
|
||||
#include <psemek/log/log.hpp>
|
||||
#define bt_log ::psemek::log::debug
|
||||
#else
|
||||
#include <psemek/util/null_ostream.hpp>
|
||||
#define bt_log ::psemek::util::null_ostream
|
||||
#endif
|
||||
Loading…
Add table
Reference in a new issue