INCLUDE(source/VIEW/KERNEL/MODES/sources.cmake)

### list all filenames of the directory here ###
SET(SOURCES_LIST
	clippingPlane.C
	common.C
	compositeManager.C
	connectionObject.C
	editOperation.C
	geometricObject.C
	iconLoader.C
	mainControl.C
	message.C
	modelInformation.C
	modularWidget.C
	preferencesEntry.C
	representationManager.C
	representation.C
	shortcutRegistry.C
	snapshotManagerInterface.C
	stage.C
	stringStub.C
	threads.C
	UIOperationMode.C
)

### the list of all files requiring a moc run ###
SET(MOC_SOURCES_LIST
	mainControl.C
	shortcutRegistry.C
)

IF(BALL_HAS_ASIO)
	SET(SOURCES_LIST ${SOURCES_LIST} serverWidget.C)
	SET(MOC_SOURCES_LIST ${MOC_SOURCES_LIST} serverWidget.C)
ENDIF()

ADD_VIEW_SOURCES("VIEW/KERNEL" "${SOURCES_LIST}")

ADD_BALL_MOCFILES("VIEW/KERNEL" "include/BALL/VIEW/KERNEL" "${MOC_SOURCES_LIST}")
