add_executable(nost-pack pack.cpp)

target_link_libraries(
	nost-pack
		OxClArgs
		OxLogConn
		Keel
		NostalgiaKeelModules
)

if(CMAKE_BUILD_TYPE STREQUAL "Release" AND NOT WIN32)
	# enable LTO
	set_property(TARGET nost-pack PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()

install(
	TARGETS
		nost-pack
	RUNTIME DESTINATION
		bin
)
