
add_library(
	JasperWorld
		world.cpp
		worlddoc.cpp
		worldobject.cpp
		worldstatic.cpp
)

target_include_directories(
	JasperWorld PUBLIC
		../include
)

target_link_libraries(
	JasperWorld PUBLIC
		NostalgiaGfx
		JasperCore
)

add_subdirectory(keel)
if(JASPER_BUILD_STUDIO)
	add_subdirectory(studio)
endif()

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