PrimeWorldEditor/src/Common/Common.pro

88 lines
1.9 KiB
Prolog
Raw Normal View History

#-------------------------------------------------
#
# Project created by QtCreator 2015-12-13T15:27:18
#
#-------------------------------------------------
QT -= core gui
QMAKE_CXXFLAGS += /WX
DEFINES += PWE_COMMON
CONFIG += staticlib
TEMPLATE = lib
DESTDIR = $$BUILD_DIR/Common
unix {
target.path = /usr/lib
INSTALLS += target
}
CONFIG (debug, debug|release) {
# Debug Config
OBJECTS_DIR = $$BUILD_DIR/Common/debug
TARGET = Commond
# Debug Libs
LIBS += -L$$BUILD_DIR/FileIO/ -lFileIOd \
-L$$EXTERNALS_DIR/boost_1_56_0/lib32-msvc-12.0 -llibboost_filesystem-vc120-mt-gd-1_56
# Debug Target Dependencies
win32 {
PRE_TARGETDEPS += $$BUILD_DIR/FileIO/FileIOd.lib
}
}
CONFIG (release, debug|release) {
# Release Config
OBJECTS_DIR = $$BUILD_DIR/build/Common/release
TARGET = Common
# Release Libs
LIBS += -L$$BUILD_DIR/FileIO/ -lFileIO \
-L$$EXTERNALS_DIR/boost_1_56_0/lib32-msvc-12.0 -llibboost_filesystem-vc120-mt-1_56
# Release Target Dependencies
win32 {
PRE_TARGETDEPS += $$BUILD_DIR/FileIO/FileIO.lib
}
}
# Debug/Release Libs
LIBS += -L$$EXTERNALS_DIR/lzo-2.08/lib -llzo-2.08 \
-L$$EXTERNALS_DIR/zlib/lib -lzdll
# Include Paths
INCLUDEPATH += $$PWE_MAIN_INCLUDE \
$$EXTERNALS_DIR/boost_1_56_0 \
$$EXTERNALS_DIR/lzo-2.08/include \
$$EXTERNALS_DIR/zlib/include
# Header Files
HEADERS += \
CColor.h \
CFourCC.h \
CHashFNV1A.h \
CompressionUtil.h \
CTimer.h \
CUniqueID.h \
EKeyInputs.h \
EMouseInputs.h \
ETransformSpace.h \
Flags.h \
TString.h \
types.h \
2016-04-27 10:27:57 +00:00
Log.h \
FileUtil.h \
AssertMacro.h \
CScopedTimer.h
# Source Files
SOURCES += \
CColor.cpp \
CompressionUtil.cpp \
CTimer.cpp \
CUniqueID.cpp \
TString.cpp \
Log.cpp \
FileUtil.cpp