ldforge.pro

Fri, 18 Oct 2013 21:52:09 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Fri, 18 Oct 2013 21:52:09 +0300
changeset 513
29eb671b34f6
parent 509
dcacfd2cd81b
child 515
a0ad72800b96
permissions
-rw-r--r--

Added a crash catcher which trigger under Linux. It calls GDB and tries to get a backtrace. Also integrated assertion failure handling to this new system. Removed the print() function in the process (because the new bomb box uses a text edit and QTextDocuments's print method clashes with the macro and I figured it was a good idea to rid it anyway) and replaced all calls with log().

485
543a6696096f down with cmake!
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
1 ######################################################################
543a6696096f down with cmake!
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
2 # Automatically generated by qmake (2.01a) Sat Sep 22 17:29:49 2012
543a6696096f down with cmake!
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
3 ######################################################################
543a6696096f down with cmake!
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
4
491
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
5 TEMPLATE = app
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
6 TARGET = ldforge
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
7 SUBDIRS += ./src
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
8
485
543a6696096f down with cmake!
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
9 TARGET = ldforge
491
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
10 DEPENDPATH += .
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
11 INCLUDEPATH += . ./build/
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
12 RC_FILE = ldforge.rc
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
13 RESOURCES = ldforge.qrc
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
14 RCC_DIR = ./build/
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
15 OBJECTS_DIR = ./build/
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
16 MOC_DIR = ./build/
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
17 RCC_DIR = ./build/
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
18 UI_DIR = ./build/
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
19 SOURCES = src/*.cpp
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
20 HEADERS = src/*.h
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
21 FORMS = ui/*.ui
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
22 QT += opengl network
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
23 QMAKE_CXXFLAGS += -std=c++0x
509
dcacfd2cd81b - added debug/release build configuration. Debug builds are really useful things!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 491
diff changeset
24 CONFIG += debug_and_release
dcacfd2cd81b - added debug/release build configuration. Debug builds are really useful things!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 491
diff changeset
25
dcacfd2cd81b - added debug/release build configuration. Debug builds are really useful things!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 491
diff changeset
26 CONFIG (debug, debug|release) {
513
29eb671b34f6 Added a crash catcher which trigger under Linux. It calls GDB and tries to get a backtrace. Also integrated assertion failure handling to this new system. Removed the print() function in the process (because the new bomb box uses a text edit and QTextDocuments's print method clashes with the macro and I figured it was a good idea to rid it anyway) and replaced all calls with log().
Santeri Piippo <crimsondusk64@gmail.com>
parents: 509
diff changeset
27 TARGET = ldforge_debug
29eb671b34f6 Added a crash catcher which trigger under Linux. It calls GDB and tries to get a backtrace. Also integrated assertion failure handling to this new system. Removed the print() function in the process (because the new bomb box uses a text edit and QTextDocuments's print method clashes with the macro and I figured it was a good idea to rid it anyway) and replaced all calls with log().
Santeri Piippo <crimsondusk64@gmail.com>
parents: 509
diff changeset
28 DEFINES += DEBUG
509
dcacfd2cd81b - added debug/release build configuration. Debug builds are really useful things!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 491
diff changeset
29 } else {
dcacfd2cd81b - added debug/release build configuration. Debug builds are really useful things!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 491
diff changeset
30 TARGET = ldforge
513
29eb671b34f6 Added a crash catcher which trigger under Linux. It calls GDB and tries to get a backtrace. Also integrated assertion failure handling to this new system. Removed the print() function in the process (because the new bomb box uses a text edit and QTextDocuments's print method clashes with the macro and I figured it was a good idea to rid it anyway) and replaced all calls with log().
Santeri Piippo <crimsondusk64@gmail.com>
parents: 509
diff changeset
31 DEFINES += RELEASE
509
dcacfd2cd81b - added debug/release build configuration. Debug builds are really useful things!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 491
diff changeset
32 }
491
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
33
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
34 unix {
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
35 LIBS += -lGLU
509
dcacfd2cd81b - added debug/release build configuration. Debug builds are really useful things!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 491
diff changeset
36 }

mercurial