
add_library(
	Keel
		asset.cpp
		media.cpp
		module.cpp
		pack.cpp
		typeconv.cpp
		typestore.cpp
)

if(NOT MSVC)
	target_compile_options(Keel PRIVATE -Wsign-conversion)
endif()

target_link_libraries(
	Keel PUBLIC
		OxClaw
		OxEvent
		OxFS
		OxModel
		OxPreloader
		OxStd
)

install(
	FILES
		asset.hpp
		assetmanager.hpp
		context.hpp
		keel.hpp
		media.hpp
		module.hpp
		pack.hpp
		typeconv.hpp
		typestore.hpp
	DESTINATION
		include/keel
)

install(
	TARGETS
		Keel
	DESTINATION
		LIBRARY DESTINATION lib
		ARCHIVE DESTINATION lib
)
