TEMPLATE		= app
#CONFIG			+= debug
#CONFIG			+= silent
TARGET			= edb
DEPENDPATH		+= ./widgets 
INCLUDEPATH		+= ./widgets
RESOURCES		= debugger.qrc
DESTDIR			= ../
target.path		= /bin/
INSTALLS		+= target 

TRANSLATIONS += \
	edb_en.ts

HEADERS += \
	MemRegion.h \
	AnalyzerInterface.h \
	Expression.h \
	Util.h \
	MemoryRegions.h \
	ArchProcessorInterface.h \
	BinaryString.h \
	DebugEventHandlerInterface.h \
	Types.h \
	SymbolManager.h \
	Breakpoint.h \
	DebuggerCoreInterface.h \
	OSTypes.h \
	DebugEvent.h \
	Debugger.h \
	Configuration.h \
	version.h \
	DebuggerPluginInterface.h \
	ByteShiftArray.h \
	DebugEventServer.h \
	MD5.h \
	CommentServerInterface.h \
	DialogInputValue.h \
	CommentServer.h \
	RecentFileManager.h \
	ByteStreamRegion.h \
	FunctionInfo.h \
	RegisterViewDelegate.h \
	QHexView.h \
	QCategoryList.h \
	QDisassemblyView.h \
	DebuggerMain.h \
	DialogMemoryRegions.h \
	ByteStream.h \
	DialogAttach.h \
	DialogInputBinaryString.h \
	DialogOptions.h \
	QLongValidator.h \
	QULongValidator.h \
	ETabWidget.h \
	FunctionDB.h \
	DialogPlugins.h \
	ArchTypes.h \
	Operand.h \
	Instruction.h \
	ArchProcessor.h

FORMS += \
	debuggerui.ui \
	dialogattach.ui \
	dialogmemoryregions.ui \
	dialogoptions.ui \
	dialoginputvalue.ui \
	dialoginputbinarystring.ui \
	dialogplugins.ui
	
SOURCES += \
	DialogInputBinaryString.cpp \
	DialogOptions.cpp \
	DialogInputValue.cpp \
	Debugger.cpp \
	RegisterViewDelegate.cpp \
	QDisassemblyView.cpp \
	QCategoryList.cpp \
	QHexView.cpp \
	CommentServer.cpp \
	RecentFileManager.cpp \
	DialogAttach.cpp \
	DebuggerOS.cpp \
	DebugEventServer.cpp \
	main.cpp \
	DialogMemoryRegions.cpp \
	DebuggerMain.cpp \
	ByteStreamRegion.cpp \
	QLongValidator.cpp \
	QULongValidator.cpp \
	ETabWidget.cpp \
	DialogPlugins.cpp \
	ArchProcessor.cpp

include(../debugger.pri)

unix {		
	!isEmpty(DEFAULT_PLUGIN_PATH) {
		DEFINES += DEFAULT_PLUGIN_PATH=$$DEFAULT_PLUGIN_PATH
	}
	
	!isEmpty(DEFAULT_SYMBOL_PATH) {
		DEFINES += DEFAULT_SYMBOL_PATH=$$DEFAULT_SYMBOL_PATH
	}
}

win32:LIBS += ../core.lib
win64:LIBS += ../core.lib
unix:LIBS += -L../ -lcore
macx:LIBS += -L../ -lcore

