Sha256: fd9e2d33a0271021695834a4b2da299942142e89ab699c26c31deb2e42e8c68f

Contents?: true

Size: 1.49 KB

Versions: 5

Compression:

Stored size: 1.49 KB

Contents

REM "c:\Program Files\Microsoft Visual Studio 8\vc\vcvarsall.bat"

set CFLAGS=/nologo /I. /O2 /DCLD_WINDOWS /DWIN32 /EHsc
set LDFLAGS=-L.
set CC=cl.exe
set AR=lib.exe

del *.obj
del libcld.lib

set SOURCES=encodings/compact_lang_det/cldutil.cc encodings/compact_lang_det/cldutil_dbg_empty.cc encodings/compact_lang_det/compact_lang_det.cc encodings/compact_lang_det/compact_lang_det_impl.cc encodings/compact_lang_det/ext_lang_enc.cc encodings/compact_lang_det/getonescriptspan.cc encodings/compact_lang_det/letterscript_enum.cc encodings/compact_lang_det/tote.cc encodings/compact_lang_det/generated/cld_generated_score_quadchrome_0406.cc encodings/compact_lang_det/generated/compact_lang_det_generated_cjkbis_0.cc encodings/compact_lang_det/generated/compact_lang_det_generated_ctjkvz.cc encodings/compact_lang_det/generated/compact_lang_det_generated_deltaoctachrome.cc encodings/compact_lang_det/generated/compact_lang_det_generated_quadschrome.cc encodings/compact_lang_det/win/cld_htmlutils_windows.cc encodings/compact_lang_det/win/cld_unilib_windows.cc encodings/compact_lang_det/win/cld_utf8statetable.cc encodings/compact_lang_det/win/cld_utf8utils_windows.cc encodings/internal/encodings.cc languages/internal/languages.cc

REM  encodings/compact_lang_det/win/cld_unicodetext.cc \

echo ""
echo "Compile..."
%CC% /c %CFLAGS% %SOURCES%

echo ""
echo "Make libcld"
%AR% *.obj -OUT:libcld.lib

echo ""
echo "Compile example.cc"
%CC% %CFLAGS% %LFLAGS% example.cc libcld.lib

echo
echo "Done!"

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
krukid-cld-0.4.0 build.win.cmd
cld-0.4.0 build.win.cmd
cld-0.3.0 build.win.cmd
cld-0.2.0 build.win.cmd
cld-0.1.0 build.win.cmd