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
|
2016-05-19 02:59:01 +00:00
|
|
|
DESTDIR = $$BUILD_DIR/Common
|
2015-12-15 01:33:16 +00:00
|
|
|
|
|
|
|
unix {
|
|
|
|
target.path = /usr/lib
|
|
|
|
INSTALLS += target
|
|
|
|
}
|
|
|
|
|
|
|
|
CONFIG (debug, debug|release) {
|
|
|
|
# Debug Config
|
2016-05-19 02:59:01 +00:00
|
|
|
OBJECTS_DIR = $$BUILD_DIR/Common/debug
|
2015-12-15 01:33:16 +00:00
|
|
|
TARGET = Commond
|
|
|
|
|
|
|
|
# Debug Libs
|
2016-05-19 02:59:01 +00:00
|
|
|
LIBS += -L$$BUILD_DIR/FileIO/ -lFileIOd \
|
|
|
|
-L$$EXTERNALS_DIR/boost_1_56_0/lib32-msvc-12.0 -llibboost_filesystem-vc120-mt-gd-1_56
|
2015-12-16 21:39:51 +00:00
|
|
|
|
|
|
|
# Debug Target Dependencies
|
|
|
|
win32 {
|
2016-05-19 02:59:01 +00:00
|
|
|
PRE_TARGETDEPS += $$BUILD_DIR/FileIO/FileIOd.lib
|
2015-12-16 21:39:51 +00:00
|
|
|
}
|
2015-12-15 01:33:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
CONFIG (release, debug|release) {
|
|
|
|
# Release Config
|
2016-05-19 02:59:01 +00:00
|
|
|
OBJECTS_DIR = $$BUILD_DIR/build/Common/release
|
2015-12-15 01:33:16 +00:00
|
|
|
TARGET = Common
|
|
|
|
|
|
|
|
# Release Libs
|
2016-05-19 02:59:01 +00:00
|
|
|
LIBS += -L$$BUILD_DIR/FileIO/ -lFileIO \
|
|
|
|
-L$$EXTERNALS_DIR/boost_1_56_0/lib32-msvc-12.0 -llibboost_filesystem-vc120-mt-1_56
|
2015-12-16 21:39:51 +00:00
|
|
|
|
|
|
|
# Release Target Dependencies
|
|
|
|
win32 {
|
2016-05-19 02:59:01 +00:00
|
|
|
PRE_TARGETDEPS += $$BUILD_DIR/FileIO/FileIO.lib
|
2015-12-16 21:39:51 +00:00
|
|
|
}
|
2015-12-15 01:33:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# Debug/Release Libs
|
2016-05-19 02:59:01 +00:00
|
|
|
LIBS += -L$$EXTERNALS_DIR/lzo-2.08/lib -llzo-2.08 \
|
|
|
|
-L$$EXTERNALS_DIR/zlib/lib -lzdll
|
2015-12-15 01:33:16 +00:00
|
|
|
|
|
|
|
# Include Paths
|
2016-05-19 02:59:01 +00:00
|
|
|
INCLUDEPATH += $$PWE_MAIN_INCLUDE \
|
|
|
|
$$EXTERNALS_DIR/boost_1_56_0 \
|
|
|
|
$$EXTERNALS_DIR/lzo-2.08/include \
|
|
|
|
$$EXTERNALS_DIR/zlib/include
|
2015-12-15 01:33:16 +00:00
|
|
|
|
2015-12-16 21:39:51 +00:00
|
|
|
# Header Files
|
2015-12-15 01:33:16 +00:00
|
|
|
HEADERS += \
|
|
|
|
CColor.h \
|
|
|
|
CFourCC.h \
|
|
|
|
CHashFNV1A.h \
|
|
|
|
CompressionUtil.h \
|
|
|
|
CTimer.h \
|
|
|
|
EKeyInputs.h \
|
|
|
|
EMouseInputs.h \
|
|
|
|
ETransformSpace.h \
|
2016-01-05 18:50:10 +00:00
|
|
|
Flags.h \
|
2015-12-15 01:33:16 +00:00
|
|
|
TString.h \
|
2016-02-15 12:28:20 +00:00
|
|
|
types.h \
|
2016-04-27 10:27:57 +00:00
|
|
|
Log.h \
|
2016-05-19 02:59:01 +00:00
|
|
|
FileUtil.h \
|
2016-05-31 06:45:30 +00:00
|
|
|
AssertMacro.h \
|
2016-07-25 09:25:22 +00:00
|
|
|
CScopedTimer.h \
|
|
|
|
CAssetID.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 += \
|
|
|
|
CColor.cpp \
|
|
|
|
CompressionUtil.cpp \
|
|
|
|
CTimer.cpp \
|
2016-02-15 12:28:20 +00:00
|
|
|
TString.cpp \
|
2016-05-19 02:59:01 +00:00
|
|
|
Log.cpp \
|
2016-07-25 09:25:22 +00:00
|
|
|
FileUtil.cpp \
|
|
|
|
CAssetID.cpp
|