###########################################################################################
##      Created using $editor_version_string$
##
##  Author    : $Authors$
##  Project   : $Project Name$
##  FileName  : $Project Name$.pro
##  Date      : $date$
##  License   : $License$
##  Comment   : $Comment$
##  Home Page : $Home Page$
##
##  This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
##  WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
##
###########################################################################################

TEMPLATE = lib
LANGUAGE    = C++/Qt4
TARGET  = $$quote($Project Name$)
CONFIG  -= qt
CONFIG  *= debug_and_release static
BUILD_PATH   =  $Build Path$

QMAKE_CFLAGS_RELEASE -= -O2
QMAKE_CXXFLAGS_RELEASE -= -O2
QMAKE_CFLAGS_RELEASE *= -O3
QMAKE_CXXFLAGS_RELEASE *= -O3

CONFIG(debug, debug|release) {
    #Debug
    CONFIG  *= console
    unix:TARGET = $$join(TARGET,,,_debug)
    else:TARGET = $$join(TARGET,,,d)
    unix:OBJECTS_DIR    = $${BUILD_PATH}/debug/.obj/unix
    win32:OBJECTS_DIR   = $${BUILD_PATH}/debug/.obj/win32
    mac:OBJECTS_DIR = $${BUILD_PATH}/debug/.obj/mac
    UI_DIR  = $${BUILD_PATH}/debug/.ui
    MOC_DIR = $${BUILD_PATH}/debug/.moc
    RCC_DIR = $${BUILD_PATH}/debug/.rcc
} else {
    #Release
    unix:OBJECTS_DIR    = $${BUILD_PATH}/release/.obj/unix
    win32:OBJECTS_DIR   = $${BUILD_PATH}/release/.obj/win32
    mac:OBJECTS_DIR = $${BUILD_PATH}/release/.obj/mac
    UI_DIR  = $${BUILD_PATH}/release/.ui
    MOC_DIR = $${BUILD_PATH}/release/.moc
    RCC_DIR = $${BUILD_PATH}/release/.rcc
}
