changed the structure of the project
This commit is contained in:
		
							parent
							
								
									a9caac5674
								
							
						
					
					
						commit
						2cf3ef8675
					
				@ -1,34 +1,31 @@
 | 
			
		||||
#-------------------------------------------------
 | 
			
		||||
#
 | 
			
		||||
# Project created by QtCreator 2015-05-13T11:07:00
 | 
			
		||||
#
 | 
			
		||||
#-------------------------------------------------
 | 
			
		||||
 | 
			
		||||
QT       += core gui network widgets
 | 
			
		||||
 | 
			
		||||
TARGET = SparrowBot
 | 
			
		||||
TEMPLATE = app
 | 
			
		||||
CONFIG += c++11
 | 
			
		||||
TEMPLATE = subdirs
 | 
			
		||||
CONFIG += ordered c++11
 | 
			
		||||
SUBDIRS = ircbot \
 | 
			
		||||
	app
 | 
			
		||||
 | 
			
		||||
app.depends = ircbot
 | 
			
		||||
 | 
			
		||||
SOURCES += mainwindow.cpp \
 | 
			
		||||
    socketirc.cpp \
 | 
			
		||||
    message.cpp \
 | 
			
		||||
    user.cpp \
 | 
			
		||||
    prompt.cpp \
 | 
			
		||||
    ircbot.cpp \
 | 
			
		||||
    botapp.cpp \
 | 
			
		||||
    module.cpp \
 | 
			
		||||
    basemodule.cpp \
 | 
			
		||||
    main.cpp
 | 
			
		||||
	socketirc.cpp \
 | 
			
		||||
	message.cpp \
 | 
			
		||||
	user.cpp \
 | 
			
		||||
	prompt.cpp \
 | 
			
		||||
	ircbot.cpp \
 | 
			
		||||
	botapp.cpp \
 | 
			
		||||
	module.cpp \
 | 
			
		||||
	basemodule.cpp \
 | 
			
		||||
	main.cpp
 | 
			
		||||
 | 
			
		||||
HEADERS += mainwindow.h \
 | 
			
		||||
    socketirc.h \
 | 
			
		||||
    message.h \
 | 
			
		||||
    user.h \
 | 
			
		||||
    prompt.h \
 | 
			
		||||
    ircbot.h \
 | 
			
		||||
    botapp.h \
 | 
			
		||||
    module.h \
 | 
			
		||||
    basemodule.h
 | 
			
		||||
	socketirc.h \
 | 
			
		||||
	message.h \
 | 
			
		||||
	user.h \
 | 
			
		||||
	prompt.h \
 | 
			
		||||
	ircbot.h \
 | 
			
		||||
	botapp.h \
 | 
			
		||||
	module.h \
 | 
			
		||||
	basemodule.h
 | 
			
		||||
 | 
			
		||||
FORMS    += mainwindow.ui
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										12
									
								
								app/app.pro
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								app/app.pro
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
			
		||||
QT       += core gui network widgets
 | 
			
		||||
 | 
			
		||||
TARGET = ../../SparrowBot
 | 
			
		||||
TEMPLATE = app
 | 
			
		||||
CONFIG += c++11
 | 
			
		||||
 | 
			
		||||
debug:LIBS += ../ircbot/debug/libircbot.a
 | 
			
		||||
release:LIBS += ../ircbot/release/libircbot.a
 | 
			
		||||
 | 
			
		||||
INCLUDEPATH += ../ircbot
 | 
			
		||||
 | 
			
		||||
SOURCES = main.cpp
 | 
			
		||||
							
								
								
									
										26
									
								
								ircbot/ircbot.pro
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								ircbot/ircbot.pro
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,26 @@
 | 
			
		||||
QT       += core gui network widgets
 | 
			
		||||
 | 
			
		||||
TEMPLATE = lib
 | 
			
		||||
CONFIG += staticlib c++11
 | 
			
		||||
 | 
			
		||||
SOURCES += mainwindow.cpp \
 | 
			
		||||
    socketirc.cpp \
 | 
			
		||||
    message.cpp \
 | 
			
		||||
    user.cpp \
 | 
			
		||||
    prompt.cpp \
 | 
			
		||||
    ircbot.cpp \
 | 
			
		||||
    botapp.cpp \
 | 
			
		||||
    module.cpp \
 | 
			
		||||
    basemodule.cpp
 | 
			
		||||
 | 
			
		||||
HEADERS += mainwindow.h \
 | 
			
		||||
    socketirc.h \
 | 
			
		||||
    message.h \
 | 
			
		||||
    user.h \
 | 
			
		||||
    prompt.h \
 | 
			
		||||
    ircbot.h \
 | 
			
		||||
    botapp.h \
 | 
			
		||||
    module.h \
 | 
			
		||||
    basemodule.h
 | 
			
		||||
 | 
			
		||||
FORMS    += mainwindow.ui
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user