ldforge.pro

Fri, 10 Jan 2014 11:09:38 +0200

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Fri, 10 Jan 2014 11:09:38 +0200
changeset 613
2d01590da286
parent 611
6679e47b019f
child 614
aac6f0021070
permissions
-rw-r--r--

- use QCoreApplication::applicationDirPath instead of a custom hack to get the application path
- write the build date in the application title
- other misc tweaks

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 RC_FILE = ldforge.rc
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
8 RESOURCES = ldforge.qrc
539
72ad83a67165 - upgraded the PROPERTY macro, resulting in a major code refactor
Santeri Piippo <crimsondusk64@gmail.com>
parents: 515
diff changeset
9 RCC_DIR = ./build_shared/
72ad83a67165 - upgraded the PROPERTY macro, resulting in a major code refactor
Santeri Piippo <crimsondusk64@gmail.com>
parents: 515
diff changeset
10 MOC_DIR = ./build_shared/
72ad83a67165 - upgraded the PROPERTY macro, resulting in a major code refactor
Santeri Piippo <crimsondusk64@gmail.com>
parents: 515
diff changeset
11 UI_DIR = ./build_shared/
557
04e140bdeb0b - changed source file extension from .cpp to .cc
Santeri Piippo <crimsondusk64@gmail.com>
parents: 539
diff changeset
12 SOURCES = src/*.cc
583
4906c5c1670f - documents are now refcounted. This should seriously stabilize (and speed up!) the pruning of unused files
Santeri Piippo <crimsondusk64@gmail.com>
parents: 573
diff changeset
13 HEADERS = src/*.h src/misc/*.h
491
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
14 FORMS = ui/*.ui
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
15 QT += opengl network
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
16 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
17 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
18
dcacfd2cd81b - added debug/release build configuration. Debug builds are really useful things!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 491
diff changeset
19 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
20 DEFINES += DEBUG
515
a0ad72800b96 now displays build type in the window title (unless a release build of a release), fixed some macro shenanigans
Santeri Piippo <crimsondusk64@gmail.com>
parents: 513
diff changeset
21 OBJECTS_DIR = ./build_debug/
509
dcacfd2cd81b - added debug/release build configuration. Debug builds are really useful things!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 491
diff changeset
22 } else {
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
23 DEFINES += RELEASE
515
a0ad72800b96 now displays build type in the window title (unless a release build of a release), fixed some macro shenanigans
Santeri Piippo <crimsondusk64@gmail.com>
parents: 513
diff changeset
24 OBJECTS_DIR = ./build_release/
509
dcacfd2cd81b - added debug/release build configuration. Debug builds are really useful things!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 491
diff changeset
25 }
491
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
26
613
2d01590da286 - use QCoreApplication::applicationDirPath instead of a custom hack to get the application path
Santeri Piippo <crimsondusk64@gmail.com>
parents: 611
diff changeset
27 exists(.git): DEFINES += GIT_DESCRIBE="\"\\\"$$system(git describe --tags --long)\\\"\""
2d01590da286 - use QCoreApplication::applicationDirPath instead of a custom hack to get the application path
Santeri Piippo <crimsondusk64@gmail.com>
parents: 611
diff changeset
28 DEFINES += COMPILE_DATE="\"\\\"$$system(LC_ALL=C date \"+%d %h %Y %H:%M:%S\")\\\"\""
573
74d71c6fdc20 - non-release builds now display git revision info if available. This turned out to be much simpler to implement than I expected..
Santeri Piippo <crimsondusk64@gmail.com>
parents: 557
diff changeset
29
491
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
30 unix {
7d1b5ecd76c0 it's LDForge's 1st birthday!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 485
diff changeset
31 LIBS += -lGLU
509
dcacfd2cd81b - added debug/release build configuration. Debug builds are really useful things!
Santeri Piippo <crimsondusk64@gmail.com>
parents: 491
diff changeset
32 }

mercurial