set(BUILD_PC9801 ON CACHE BOOL "Build for NEC PC-9801.")
set(BUILD_PC9801E ON CACHE BOOL "Build for NEC PC-9801E.")
set(BUILD_PC9801RA ON CACHE BOOL "Build for NEC PC-9801RA.")
set(BUILD_PC9801U ON CACHE BOOL "Build for NEC PC-9801U.")
set(BUILD_PC9801VF ON CACHE BOOL "Build for NEC PC-9801VF.")
set(BUILD_PC9801VM ON CACHE BOOL "Build for NEC PC-9801VM.")
set(BUILD_PC9801VX ON CACHE BOOL "Build for NEC PC-9801VX.")

set(BUILD_PC98DO ON CACHE BOOL "Build for NEC PC-98DO.")

set(BUILD_PC98RL ON CACHE BOOL "Build for NEC PC-98RL.")
set(BUILD_PC98XL ON CACHE BOOL "Build for NEC PC-98XL.")

if(BUILD_PC9801)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc9801.qrc)
	ADD_VM(pc9801 emupc9801 _PC9801)
endif()
if(BUILD_PC9801E)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc9801e.qrc)
	ADD_VM(pc9801 emupc9801e _PC9801E)
endif()
if(BUILD_PC9801RA)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc9801ra.qrc)
	ADD_VM(pc9801 emupc9801ra _PC9801RA)
endif()
if(BUILD_PC9801U)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc9801u.qrc)
	ADD_VM(pc9801 emupc9801u _PC9801U)
endif()
if(BUILD_PC9801VF)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc9801vf.qrc)
	ADD_VM(pc9801 emupc9801vf _PC9801VF)
endif()
if(BUILD_PC9801VM)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc9801vm.qrc)
	ADD_VM(pc9801 emupc9801vm _PC9801VM)
endif()
if(BUILD_PC9801VX)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc9801vx.qrc)
	ADD_VM(pc9801 emupc9801vx _PC9801VX)
endif()

if(BUILD_PC98RL)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc98rl.qrc)
	ADD_VM(pc9801 emupc98rl _PC98RL)
endif()
if(BUILD_PC98XL)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc98xl.qrc)
	ADD_VM(pc9801 emupc98xl _PC98XL)
endif()

if(BUILD_PC98DO)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc98do.qrc)
	ADD_VM(pc9801 emupc98do _PC98DO)
endif()
if(BUILD_PC98DOPLUS)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc98do.qrc)
	ADD_VM(pc9801 emupc98doplus _PC98DOPLUS)
endif()
