set(CMAKE_AUTOMOC ON)

set(SRCS
	main.cpp
	main_menu.cpp
	render.cpp
	general_settings.cpp
	qt_common.cpp
	cgfx.cpp
	debug_dmg.cpp
	screens.cpp
	data_dialog.cpp
	)

set(HEADERS
	main_menu.h
	render.h
	general_settings.h
	qt_common.h
	cgfx.h
	debug_dmg.h
	screens.h
	data_dialog.cpp
	)

add_executable(gbe_plus_qt ${SRCS} ${HEADERS})
target_link_libraries(gbe_plus_qt common gba dmg)
target_link_libraries(gbe_plus_qt ${SDL_LIBRARY} ${OPENGL_gl_LIBRARY} ${GBE_QT_LIBS})

install(TARGETS gbe_plus_qt DESTINATION bin) 
