Added .pro file to compile linebreak

This commit is contained in:
Slava Monich 2015-05-27 00:11:18 +03:00
parent 7565921037
commit fc28d35e28
3 changed files with 28 additions and 0 deletions

8
common.pri Normal file
View file

@ -0,0 +1,8 @@
WARNINGS = -Wall -Wno-unused-parameter -Wno-deprecated-declarations
QMAKE_CXXFLAGS += $$WARNINGS -Wno-psabi
QMAKE_CFLAGS += $$WARNINGS
CONFIG(debug, debug|release) {
QMAKE_CXXFLAGS_DEBUG *= -O0
QMAKE_CFLAGS_DEBUG *= -O0
}

View file

@ -0,0 +1 @@
../linebreak/linebreak.h

19
linebreak/linebreak.pro Normal file
View file

@ -0,0 +1,19 @@
TEMPLATE = lib
TARGET = linebreak
CONFIG += staticlib
!include(../common.pri)
SRC_DIR = linebreak
SOURCES += \
$$SRC_DIR/linebreak.c \
$$SRC_DIR/linebreakdata.c \
$$SRC_DIR/linebreakdef.c \
$$SRC_DIR/wordbreak.c
HEADERS += \
$$SRC_DIR/linebreakdef.h \
$$SRC_DIR/linebreak.h \
$$SRC_DIR/wordbreakdef.h \
$$SRC_DIR/wordbreak.h