Replace CR-LF line endings by LF

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2019-05-16 20:47:42 +02:00
parent cc754ed1e0
commit 68d7a679e4

100
sw.cpp
View File

@ -91,39 +91,39 @@ void build(Solution &s)
// //
auto &tesseract = tess.addExecutable("tesseract"); auto &tesseract = tess.addExecutable("tesseract");
tesseract += "src/api/tesseractmain.cpp"; tesseract += "src/api/tesseractmain.cpp";
tesseract += libtesseract; tesseract += libtesseract;
// //
auto &tessopt = tess.addStaticLibrary("tessopt"); auto &tessopt = tess.addStaticLibrary("tessopt");
tessopt += "src/training/tessopt.*"_rr; tessopt += "src/training/tessopt.*"_rr;
tessopt.Public += "training"_id; tessopt.Public += "training"_id;
tessopt.Public += libtesseract; tessopt.Public += libtesseract;
// //
auto &common_training = tess.addStaticLibrary("common_training"); auto &common_training = tess.addStaticLibrary("common_training");
common_training += common_training +=
"src/training/commandlineflags.cpp", "src/training/commandlineflags.cpp",
"src/training/commandlineflags.h", "src/training/commandlineflags.h",
"src/training/commontraining.cpp", "src/training/commontraining.cpp",
"src/training/commontraining.h"; "src/training/commontraining.h";
common_training.Public += "training"_id; common_training.Public += "training"_id;
common_training.Public += tessopt; common_training.Public += tessopt;
// //
auto &unicharset_training = tess.addStaticLibrary("unicharset_training"); auto &unicharset_training = tess.addStaticLibrary("unicharset_training");
unicharset_training += unicharset_training +=
"src/training/fileio.*"_rr, "src/training/fileio.*"_rr,
"src/training/icuerrorcode.*"_rr, "src/training/icuerrorcode.*"_rr,
"src/training/icuerrorcode.h", "src/training/icuerrorcode.h",
"src/training/lang_model_helpers.*"_rr, "src/training/lang_model_helpers.*"_rr,
"src/training/lstmtester.*"_rr, "src/training/lstmtester.*"_rr,
"src/training/normstrngs.*"_rr, "src/training/normstrngs.*"_rr,
"src/training/unicharset_training_utils.*"_rr, "src/training/unicharset_training_utils.*"_rr,
"src/training/validat.*"_rr; "src/training/validat.*"_rr;
unicharset_training.Public += "training"_id; unicharset_training.Public += "training"_id;
unicharset_training.Public += common_training; unicharset_training.Public += common_training;
unicharset_training.Public += "org.sw.demo.unicode.icu.i18n"_dep; unicharset_training.Public += "org.sw.demo.unicode.icu.i18n"_dep;
// //
#define ADD_EXE(n, ...) \ #define ADD_EXE(n, ...) \
auto &n = tess.addExecutable(#n); \ auto &n = tess.addExecutable(#n); \
@ -145,24 +145,24 @@ void build(Solution &s)
ADD_EXE(lstmtraining, unicharset_training); ADD_EXE(lstmtraining, unicharset_training);
ADD_EXE(set_unicharset_properties, unicharset_training); ADD_EXE(set_unicharset_properties, unicharset_training);
ADD_EXE(text2image, unicharset_training); ADD_EXE(text2image, unicharset_training);
text2image += text2image +=
"src/training/boxchar.cpp", "src/training/boxchar.cpp",
"src/training/boxchar.h", "src/training/boxchar.h",
"src/training/degradeimage.cpp", "src/training/degradeimage.cpp",
"src/training/degradeimage.h", "src/training/degradeimage.h",
"src/training/icuerrorcode.h", "src/training/icuerrorcode.h",
"src/training/ligature_table.cpp", "src/training/ligature_table.cpp",
"src/training/ligature_table.h", "src/training/ligature_table.h",
"src/training/normstrngs.cpp", "src/training/normstrngs.cpp",
"src/training/normstrngs.h", "src/training/normstrngs.h",
"src/training/pango_font_info.cpp", "src/training/pango_font_info.cpp",
"src/training/pango_font_info.h", "src/training/pango_font_info.h",
"src/training/stringrenderer.cpp", "src/training/stringrenderer.cpp",
"src/training/stringrenderer.h", "src/training/stringrenderer.h",
"src/training/text2image.cpp", "src/training/text2image.cpp",
"src/training/tlog.cpp", "src/training/tlog.cpp",
"src/training/tlog.h", "src/training/tlog.h",
"src/training/util.h"; "src/training/util.h";
text2image.Public += "org.sw.demo.gnome.pango.pangocairo-1"_dep; text2image.Public += "org.sw.demo.gnome.pango.pangocairo-1"_dep;
} }