2015-12-15 01:33:16 +00:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2015-12-13T15:27:18
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
2015-12-16 10:27:27 +00:00
|
|
|
QT -= core gui
|
|
|
|
QMAKE_CXXFLAGS += /WX
|
2015-12-16 21:39:51 +00:00
|
|
|
DEFINES += PWE_COMMON
|
2015-12-15 01:33:16 +00:00
|
|
|
|
|
|
|
CONFIG += staticlib
|
|
|
|
TEMPLATE = lib
|
|
|
|
DESTDIR = $$PWD/../../build/Common
|
|
|
|
|
|
|
|
unix {
|
|
|
|
target.path = /usr/lib
|
|
|
|
INSTALLS += target
|
|
|
|
}
|
|
|
|
|
|
|
|
CONFIG (debug, debug|release) {
|
|
|
|
# Debug Config
|
|
|
|
OBJECTS_DIR = $$PWD/../../build/Common/debug
|
|
|
|
TARGET = Commond
|
|
|
|
|
|
|
|
# Debug Libs
|
2015-12-16 21:39:51 +00:00
|
|
|
LIBS += -L$$PWD/../../build/FileIO/ -lFileIOd
|
|
|
|
|
|
|
|
# Debug Target Dependencies
|
|
|
|
win32 {
|
|
|
|
PRE_TARGETDEPS += $$PWD/../../build/FileIO/FileIOd.lib
|
|
|
|
}
|
2015-12-15 01:33:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
CONFIG (release, debug|release) {
|
|
|
|
# Release Config
|
|
|
|
OBJECTS_DIR = $$PWD/../../build/Common/release
|
|
|
|
TARGET = Common
|
|
|
|
|
|
|
|
# Release Libs
|
2015-12-16 21:39:51 +00:00
|
|
|
LIBS += -L$$PWD/../../build/FileIO/ -lFileIO
|
|
|
|
|
|
|
|
# Release Target Dependencies
|
|
|
|
win32 {
|
|
|
|
PRE_TARGETDEPS += $$PWD/../../build/FileIO/FileIO.lib
|
|
|
|
}
|
2015-12-15 01:33:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Debug/Release Libs
|
|
|
|
LIBS += -L$$PWD/../../externals/lzo-2.08/lib -llzo-2.08 \
|
2015-12-16 21:39:51 +00:00
|
|
|
-L$$PWD/../../externals/zlib/lib -lzdll
|
2015-12-15 01:33:16 +00:00
|
|
|
|
|
|
|
# Include Paths
|
|
|
|
INCLUDEPATH += $$PWD/.. \
|
|
|
|
$$PWD/../../externals/lzo-2.08/include \
|
|
|
|
$$PWD/../../externals/zlib/include
|
|
|
|
|
2015-12-16 21:39:51 +00:00
|
|
|
# Header Files
|
2015-12-15 01:33:16 +00:00
|
|
|
HEADERS += \
|
|
|
|
AnimUtil.h \
|
|
|
|
CColor.h \
|
|
|
|
CFourCC.h \
|
|
|
|
CHashFNV1A.h \
|
|
|
|
CompressionUtil.h \
|
|
|
|
CTimer.h \
|
|
|
|
CUniqueID.h \
|
|
|
|
EKeyInputs.h \
|
|
|
|
EMouseInputs.h \
|
|
|
|
EnumUtil.h \
|
|
|
|
ETransformSpace.h \
|
|
|
|
TString.h \
|
2015-12-16 21:39:51 +00:00
|
|
|
types.h
|
2015-12-15 01:33:16 +00:00
|
|
|
|
2015-12-16 21:39:51 +00:00
|
|
|
# Source Files
|
2015-12-15 01:33:16 +00:00
|
|
|
SOURCES += \
|
|
|
|
AnimUtil.cpp \
|
|
|
|
CColor.cpp \
|
|
|
|
CFourCC.cpp \
|
|
|
|
CHashFNV1A.cpp \
|
|
|
|
CompressionUtil.cpp \
|
|
|
|
CTimer.cpp \
|
|
|
|
CUniqueID.cpp \
|
2015-12-16 21:39:51 +00:00
|
|
|
TString.cpp
|