#########################################################
include_directories("${CMAKE_CURRENT_LIST_DIR}/../util")

set(LOGGING_SRCS
	${CMAKE_CURRENT_LIST_DIR}/FileLog.c
	${CMAKE_CURRENT_LIST_DIR}/FileLog.h
	)

add_library(logging STATIC ${LOGGING_SRCS})
target_link_libraries(logging PRIVATE SDL2 util)
target_include_directories(logging PRIVATE
	${SDL2_INCLUDE_DIRS}
	"${CMAKE_CURRENT_LIST_DIR}/../logging"
	"${CMAKE_CURRENT_LIST_DIR}/../util")