Tue, 08 Apr 2014 11:03:44 +0300
- generate gitinfo.h in the build directory, not source directory. made ldforge depend on revision_check properly
###################################################################### # Automatically generated by qmake (2.01a) Sat Sep 22 17:29:49 2012 ###################################################################### TEMPLATE = app TARGET = ldforge RC_FILE = ldforge.rc RESOURCES = ldforge.qrc RCC_DIR = ./build_shared/ MOC_DIR = ./build_shared/ UI_DIR = ./build_shared/ SOURCES = src/*.cc src/actions/*.cc HEADERS = src/*.h src/misc/*.h FORMS = ui/*.ui QT += opengl network QMAKE_CXXFLAGS += -std=c++0x CONFIG += debug_and_release CONFIG (debug, debug|release) { DEFINES += DEBUG OBJECTS_DIR = ./build_debug/ } else { DEFINES += RELEASE OBJECTS_DIR = ./build_release/ } exists(.git): DEFINES += GIT_DESCRIBE="\"\\\"$$system(git describe --tags --long)\\\"\"" unix { LIBS += -lGLU DEFINES += COMPILE_DATE="\"\\\"$$system(LC_ALL=C date \"+%d %h %Y %H:%M:%S\")\\\"\"" }