set(BUILD_PC6001 ON CACHE BOOL "Build for NEC PC-6001")
# temporally disable to build from Upstream 2021-05-06; 20210516 K.O
set(BUILD_PC6001MK2 OFF CACHE BOOL "Build for NEC PC-6001mk2")
set(BUILD_PC6001MK2SR OFF CACHE BOOL "Build for NEC PC-6001mk2SR")
set(BUILD_PC6601 OFF CACHE BOOL "Build for NEC PC-6601")
set(BUILD_PC6601SR OFF CACHE BOOL "Build for NEC PC-6601SR")

if(BUILD_PC6001)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc6001.qrc)
	ADD_VM(pc6001 emupc6001 _PC6001)
endif()
if(BUILD_PC6001MK2)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc6001mk2.qrc)
	ADD_VM(pc6001 emupc6001mk2 _PC6001MK2)
endif()
if(BUILD_PC6001MK2SR)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc6001mk2sr.qrc)
	ADD_VM(pc6001 emupc6001mk2sr _PC6001MK2SR)
endif()
if(BUILD_PC6601)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc6601.qrc)
	ADD_VM(pc6001 emupc6601 _PC6601)
endif()
if(BUILD_PC6601SR)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc6601sr.qrc)
	ADD_VM(pc6001 emupc6601sr _PC6601SR)
endif()
