Skip to content

Commit

Permalink
static libs pro files change
Browse files Browse the repository at this point in the history
  • Loading branch information
K0R0L committed Jul 20, 2016
1 parent 43a9a0e commit eb4d10c
Show file tree
Hide file tree
Showing 11 changed files with 58 additions and 1,194 deletions.
3 changes: 3 additions & 0 deletions Common/base.pri
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,6 @@ core_debug {
plugin {
DESTDIR = $$CORE_BUILDS_LIBRARIES_PATH
}
staticlib {
DESTDIR = $$CORE_BUILDS_LIBRARIES_PATH
}
28 changes: 5 additions & 23 deletions DesktopEditor/Qt_build/graphics/project/graphics.pri
Original file line number Diff line number Diff line change
Expand Up @@ -9,41 +9,23 @@ DEFINES += \
MNG_STORE_CHUNKS\
MNG_ERROR_TELLTALE

linux-g++ | linux-g++-64 | linux-g++-32 {
core_linux {
DEFINES += \
HAVE_UNISTD_H \
LINUX \
_LINUX \
_LINUX_QT

CONFIG += c++11
QMAKE_CXXFLAGS += -Wno-narrowing

message(linux)
}

mac {
core_mac {
DEFINES += \
HAVE_UNISTD_H \
_LINUX \
_LINUX_QT \
_MAC \
QT_MAC

message(mac)
HAVE_UNISTD_H
}

win32 {
core_windows {
DEFINES += \
JAS_WIN_MSVC_BUILD \
WIN32 \
NOMINMAX

DEFINES -= UNICODE

QMAKE_CXXFLAGS_RELEASE -= -Zc:strictStrings

message(windows)
}

LIB_GRAPHICS_PRI_PATH = $$PWD/../../..
Expand All @@ -56,7 +38,7 @@ INCLUDEPATH += \
$$LIB_GRAPHICS_PRI_PATH/cximage/png \
$$LIB_GRAPHICS_PRI_PATH/cximage/zlib

SOURCES += $$LIB_GRAPHICS_PRI_PATH/Qt_build/graphics/project/graphics_pri.cpp
SOURCES += $$PWD/graphics_pri.cpp

SOURCES += $$LIB_GRAPHICS_PRI_PATH/freetype-2.5.2/src/base/ftbbox.c \
$$LIB_GRAPHICS_PRI_PATH/freetype-2.5.2/src/base/ftgxval.c \
Expand Down
Loading

0 comments on commit eb4d10c

Please sign in to comment.