Added .pro file to compile linebreak
This commit is contained in:
parent
7565921037
commit
fc28d35e28
3 changed files with 28 additions and 0 deletions
8
common.pri
Normal file
8
common.pri
Normal 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
|
||||||
|
}
|
1
linebreak/include/linebreak.h
Symbolic link
1
linebreak/include/linebreak.h
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../linebreak/linebreak.h
|
19
linebreak/linebreak.pro
Normal file
19
linebreak/linebreak.pro
Normal 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
|
Loading…
Reference in a new issue