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 \
|
2017-02-04 16:36:37 +00:00
|
|
|
-L$$EXTERNALS_DIR/boost_1_63_0/lib64-msvc-14.0 -llibboost_filesystem-vc140-mt-gd-1_63 \
|
|
|
|
-L$$EXTERNALS_DIR/lzo-2.09/lib -llzo2d \
|
|
|
|
-L$$EXTERNALS_DIR/tinyxml2/lib -ltinyxml2d \
|
|
|
|
-L$$EXTERNALS_DIR/zlib/lib -lzlibd
|
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 \
|
2017-03-30 07:25:50 +00:00
|
|
|
-L$$EXTERNALS_DIR/boost_1_63_0/lib64-msvc-14.0 -llibboost_filesystem-vc140-mt-1_63 \
|
2017-02-04 16:36:37 +00:00
|
|
|
-L$$EXTERNALS_DIR/lzo-2.09/lib -llzo2 \
|
|
|
|
-L$$EXTERNALS_DIR/tinyxml2/lib -ltinyxml2 \
|
|
|
|
-L$$EXTERNALS_DIR/zlib/lib -lzlib
|
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
|
|
|
}
|
|
|
|
|
|
|
|
# Include Paths
|
2016-05-19 02:59:01 +00:00
|
|
|
INCLUDEPATH += $$PWE_MAIN_INCLUDE \
|
2017-02-04 16:36:37 +00:00
|
|
|
$$EXTERNALS_DIR/boost_1_63_0 \
|
|
|
|
$$EXTERNALS_DIR/lzo-2.09/include \
|
2016-08-10 03:58:27 +00:00
|
|
|
$$EXTERNALS_DIR/tinyxml2/include \
|
2016-05-19 02:59:01 +00:00
|
|
|
$$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 \
|
|
|
|
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 \
|
2016-08-10 03:58:27 +00:00
|
|
|
CAssetID.h \
|
|
|
|
Serialization/IArchive.h \
|
|
|
|
Serialization/CXMLWriter.h \
|
2016-08-13 07:43:55 +00:00
|
|
|
Serialization/CXMLReader.h \
|
2016-08-24 02:42:05 +00:00
|
|
|
EGame.h \
|
|
|
|
Serialization/CBasicBinaryWriter.h \
|
|
|
|
Serialization/CBasicBinaryReader.h \
|
|
|
|
Serialization/CBinaryWriter.h \
|
2016-08-27 01:33:33 +00:00
|
|
|
Serialization/CBinaryReader.h \
|
|
|
|
Serialization/CSerialVersion.h \
|
|
|
|
Serialization/XML.h \
|
|
|
|
Serialization/Binary.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 \
|
|
|
|
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 \
|
2016-08-14 10:56:51 +00:00
|
|
|
CAssetID.cpp \
|
2016-08-27 01:33:33 +00:00
|
|
|
EGame.cpp \
|
|
|
|
Serialization/CSerialVersion.cpp
|