mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-25 13:45:23 +02:00
Add some debug helpers around this area
This commit is contained in:
@@ -510,6 +510,9 @@ target_link_libraries(IrrlichtMt PRIVATE
|
||||
if(WIN32)
|
||||
target_compile_definitions(IrrlichtMt INTERFACE _IRR_WINDOWS_API_) # used in _IRR_DEBUG_BREAK_IF definition in a public header
|
||||
endif()
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
target_compile_definitions(IrrlichtMt INTERFACE _DEBUG) # same
|
||||
endif()
|
||||
if(APPLE OR ANDROID OR EMSCRIPTEN)
|
||||
target_compile_definitions(IrrlichtMt PUBLIC IRR_MOBILE_PATHS)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user