file(GLOB util_headers
	"${PROJECT_SOURCE_DIR}/include/sol/util/*.h"
	"${PROJECT_SOURCE_DIR}/include/sol/util/*.hpp"
	"${PROJECT_SOURCE_DIR}/external/json/*.h"
	)

file(GLOB util_src
	"${PROJECT_SOURCE_DIR}/src/sol/util/*.cc"
	"${PROJECT_SOURCE_DIR}/src/sol/util/*.cpp"
	"${PROJECT_SOURCE_DIR}/external/json/*.cpp"
	)

source_group("Header Files" FILES ${util_headers})
source_group("Source Files" FILES ${util_src})

file(GLOB math_headers
	"${PROJECT_SOURCE_DIR}/include/sol/math/*.h"
	"${PROJECT_SOURCE_DIR}/include/sol/math/*.hpp"
	)
source_group("Header Files\\math" FILES ${math_headers})

add_library(sol_util SHARED ${util_headers} ${util_src} ${math_headers})
list(APPEND TARGET_LIBS sol_util)
