From 68d7a679e4de871840c11e4ea24e6c054da8049c Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 16 May 2019 20:47:42 +0200 Subject: [PATCH] Replace CR-LF line endings by LF Signed-off-by: Stefan Weil --- sw.cpp | 100 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/sw.cpp b/sw.cpp index db2894496b..650cbfb201 100644 --- a/sw.cpp +++ b/sw.cpp @@ -91,39 +91,39 @@ void build(Solution &s) // auto &tesseract = tess.addExecutable("tesseract"); tesseract += "src/api/tesseractmain.cpp"; - tesseract += libtesseract; - - // - auto &tessopt = tess.addStaticLibrary("tessopt"); - tessopt += "src/training/tessopt.*"_rr; - tessopt.Public += "training"_id; - tessopt.Public += libtesseract; - - // - auto &common_training = tess.addStaticLibrary("common_training"); - common_training += - "src/training/commandlineflags.cpp", - "src/training/commandlineflags.h", - "src/training/commontraining.cpp", - "src/training/commontraining.h"; - common_training.Public += "training"_id; - common_training.Public += tessopt; - - // - auto &unicharset_training = tess.addStaticLibrary("unicharset_training"); - unicharset_training += - "src/training/fileio.*"_rr, - "src/training/icuerrorcode.*"_rr, - "src/training/icuerrorcode.h", - "src/training/lang_model_helpers.*"_rr, - "src/training/lstmtester.*"_rr, - "src/training/normstrngs.*"_rr, - "src/training/unicharset_training_utils.*"_rr, - "src/training/validat.*"_rr; - unicharset_training.Public += "training"_id; + tesseract += libtesseract; + + // + auto &tessopt = tess.addStaticLibrary("tessopt"); + tessopt += "src/training/tessopt.*"_rr; + tessopt.Public += "training"_id; + tessopt.Public += libtesseract; + + // + auto &common_training = tess.addStaticLibrary("common_training"); + common_training += + "src/training/commandlineflags.cpp", + "src/training/commandlineflags.h", + "src/training/commontraining.cpp", + "src/training/commontraining.h"; + common_training.Public += "training"_id; + common_training.Public += tessopt; + + // + auto &unicharset_training = tess.addStaticLibrary("unicharset_training"); + unicharset_training += + "src/training/fileio.*"_rr, + "src/training/icuerrorcode.*"_rr, + "src/training/icuerrorcode.h", + "src/training/lang_model_helpers.*"_rr, + "src/training/lstmtester.*"_rr, + "src/training/normstrngs.*"_rr, + "src/training/unicharset_training_utils.*"_rr, + "src/training/validat.*"_rr; + unicharset_training.Public += "training"_id; 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, ...) \ auto &n = tess.addExecutable(#n); \ @@ -145,24 +145,24 @@ void build(Solution &s) ADD_EXE(lstmtraining, unicharset_training); ADD_EXE(set_unicharset_properties, unicharset_training); - ADD_EXE(text2image, unicharset_training); - text2image += - "src/training/boxchar.cpp", - "src/training/boxchar.h", - "src/training/degradeimage.cpp", - "src/training/degradeimage.h", - "src/training/icuerrorcode.h", - "src/training/ligature_table.cpp", - "src/training/ligature_table.h", - "src/training/normstrngs.cpp", - "src/training/normstrngs.h", - "src/training/pango_font_info.cpp", - "src/training/pango_font_info.h", - "src/training/stringrenderer.cpp", - "src/training/stringrenderer.h", - "src/training/text2image.cpp", - "src/training/tlog.cpp", - "src/training/tlog.h", + ADD_EXE(text2image, unicharset_training); + text2image += + "src/training/boxchar.cpp", + "src/training/boxchar.h", + "src/training/degradeimage.cpp", + "src/training/degradeimage.h", + "src/training/icuerrorcode.h", + "src/training/ligature_table.cpp", + "src/training/ligature_table.h", + "src/training/normstrngs.cpp", + "src/training/normstrngs.h", + "src/training/pango_font_info.cpp", + "src/training/pango_font_info.h", + "src/training/stringrenderer.cpp", + "src/training/stringrenderer.h", + "src/training/text2image.cpp", + "src/training/tlog.cpp", + "src/training/tlog.h", "src/training/util.h"; text2image.Public += "org.sw.demo.gnome.pango.pangocairo-1"_dep; }