core_mod = shared_library('mod',
	'src/main.cc',
	'src/DefaultWorldGen.cc',
	'src/entities/PlayerEntity.cc',
	'src/entities/ItemStackEntity.cc',
	'src/world/tree.cc',
	name_prefix: '',
	name_suffix: 'so',
	install: true,
	install_dir: 'core.mod',
	dependencies: [libswan, libperlinnoise])

install_subdir('assets', install_dir: 'core.mod')
