1e0f08c0ed
Use boost::filesystem::path for all paths, and std::string for all other strings, converting to/from wxString as close to the actual uses of wx as possible. Where possible, replace the uses of non-UI wxWidgets functionality with the additions to the standard library in C++11, or the equivalents in boost. Move the path token management logic to libaegisub (and rewrite it in the process). Add a basic thread pool based on asio and std::thread to libaegisub. This touches nearly every file in the project and a nontrivial amount of code had to be rewritten entirely, so there's probably a lot of broken stuff.
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
|
|
CXXFLAGS += -Wno-unused-value
|
|
|
|
ifeq (yes, $(BUILD_DARWIN))
|
|
LDFLAGS += -framework ApplicationServices -framework Foundation
|
|
endif
|
|
|
|
SRC = \
|
|
main.cpp \
|
|
util.cpp \
|
|
util_unix.cpp \
|
|
libaegisub_access.cpp \
|
|
libaegisub_cajun.cpp \
|
|
libaegisub_color.cpp \
|
|
libaegisub_dialogue_lexer.cpp \
|
|
libaegisub_hotkey.cpp \
|
|
libaegisub_iconv.cpp \
|
|
libaegisub_keyframe.cpp \
|
|
libaegisub_line_iterator.cpp \
|
|
libaegisub_line_wrap.cpp \
|
|
libaegisub_mru.cpp \
|
|
libaegisub_option.cpp \
|
|
libaegisub_path.cpp \
|
|
libaegisub_signals.cpp \
|
|
libaegisub_syntax_highlight.cpp \
|
|
libaegisub_thesaurus.cpp \
|
|
libaegisub_util.cpp \
|
|
libaegisub_vfr.cpp \
|
|
libaegisub_word_split.cpp \
|
|
${GTEST_ROOT}/src/gtest-all.cc
|
|
|
|
HEADER = \
|
|
*.h
|
|
|
|
include ../Makefile.target
|