forked from mia/Aegisub
47c36c9033
Do proper unicode case-folding for case-insensitive searching rather than converting only ascii characters to lowercase. The Turkish 'i' is still not handled correctly (since it's the only place where case-folding is locale-dependent), but that's probably not worth caring about as long as we don't have a Turkish UI translation. This affects both the find/replace dialog and the select lines dialog. Closes #1342.
43 lines
1 KiB
Makefile
43 lines
1 KiB
Makefile
# $Id$
|
|
include ../Makefile.inc
|
|
|
|
PROGRAM = run
|
|
|
|
LIBS += -L../libaegisub -laegisub -L../universalchardet -luniversalchardet
|
|
LDFLAGS += -Wl,-rpath $(CURDIR)/../libaegisub $(LDFLAGS_ICONV)
|
|
|
|
CPPFLAGS += -I../src/include -I../libaegisub/include $(CFLAGS_ICONV) -I${GTEST_ROOT} -I${GTEST_ROOT}/include -I./support
|
|
CXXFLAGS += -Wno-unused-value
|
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
|
LDFLAGS += -framework ApplicationServices -framework Foundation
|
|
endif
|
|
|
|
SRC = \
|
|
support/main.cpp \
|
|
support/util.cpp \
|
|
support/util_unix.cpp \
|
|
tests/access.cpp \
|
|
tests/cajun.cpp \
|
|
tests/color.cpp \
|
|
tests/dialogue_lexer.cpp \
|
|
tests/hotkey.cpp \
|
|
tests/iconv.cpp \
|
|
tests/ifind.cpp \
|
|
tests/keyframe.cpp \
|
|
tests/line_iterator.cpp \
|
|
tests/line_wrap.cpp \
|
|
tests/mru.cpp \
|
|
tests/option.cpp \
|
|
tests/path.cpp \
|
|
tests/signals.cpp \
|
|
tests/syntax_highlight.cpp \
|
|
tests/thesaurus.cpp \
|
|
tests/util.cpp \
|
|
tests/vfr.cpp \
|
|
tests/word_split.cpp \
|
|
${GTEST_ROOT}/src/gtest-all.cc
|
|
|
|
HEADER = support/*.h tests/*.h
|
|
|
|
include ../Makefile.target
|