set(BUILD_N5200 ON CACHE BOOL "Build for NEC N5200.")
set(BUILD_PC100 ON CACHE BOOL "Build for NEC PC-100.")
set(BUILD_PC2001 ON CACHE BOOL "Build for NEC PC 2001.")
set(BUILD_PC8201 ON CACHE BOOL "Build for NEC PC-8201.")
set(BUILD_PC8201A ON CACHE BOOL "Build for NEC PC-8201A.")
set(BUILD_PC98LT ON CACHE BOOL "Build for NEC PC98LT.")
set(BUILD_PC98HA ON CACHE BOOL "Build for NEC PC98HA.")
set(BUILD_PCENGINE ON CACHE BOOL "Build NEC PC Engine.")

if(BUILD_N5200)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/n5200.qrc)
	ADD_VM(n5200 emun5200 _N5200)
endif()
if(BUILD_PC100)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc100.qrc)
	ADD_VM(pc100 emupc100 _PC100)
endif()

if(BUILD_PC2001)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc2001.qrc)
	ADD_VM(pc2001 emupc2001 _PC2001)
endif()
if(BUILD_PC8201)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc8201.qrc)
	ADD_VM(pc8201 emupc8201 _PC8201)
endif()
if(BUILD_PC8201A)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc8201a.qrc)
	ADD_VM(pc8201 emupc8201a _PC8201A)
endif()

if(BUILD_PC98LT)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc98lt.qrc)
	ADD_VM(pc98ha emupc98lt _PC98LT)
endif()
if(BUILD_PC98HA)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pc98ha.qrc)
	ADD_VM(pc98ha emupc98ha _PC98HA)
endif()
if(BUILD_PCENGINE)
	set(RESOURCE ${PROJECT_SOURCE_DIR}/src/qt/common/qrc/pcengine.qrc)
	ADD_VM(pcengine emupcengine _PCENGINE)
endif()
