[Ttssh2-commit] [6378] 鬼車6用のバッチファイル ( 仮 )

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2016年 5月 21日 (土) 09:11:00 JST


Revision: 6378
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6378
Author:   maya
Date:     2016-05-21 09:11:00 +0900 (Sat, 21 May 2016)
Log Message:
-----------
鬼車6用のバッチファイル(仮)
  フォルダ構成が変更されている ... 参照する側で変更が必要と思われる
  6.0.0 は Visual Studio 2005 でビルドできない

Added Paths:
-----------
    trunk/libs/buildoniguruma6.bat

-------------- next part --------------
Added: trunk/libs/buildoniguruma6.bat
===================================================================
--- trunk/libs/buildoniguruma6.bat	                        (rev 0)
+++ trunk/libs/buildoniguruma6.bat	2016-05-21 00:11:00 UTC (rev 6378)
@@ -0,0 +1,23 @@
+cd onig-6.0.0\src
+
+if exist "Makefile" goto build
+del onig_sd.lib
+nmake clean
+copy config.h.win32 config.h
+perl -e "open(IN,'Makefile.windows');while(<IN>){s|CFLAGS =|CFLAGS = /MT|;print $_;}close(IN);" > Makefile
+perl -e "open(IN,'Makefile.windows');while(<IN>){s|CFLAGS = -O2|CFLAGS = /MTd -Od|;s|_s.lib|_sd.lib|;print $_;}close(IN);" > Makefile.debug
+
+:build
+if exist "onig_sd.lib" goto build_release
+nmake -f Makefile.debug clean
+nmake -f Makefile.debug
+move onig_sd.lib ..\sample\
+nmake clean
+move ..\sample\onig_sd.lib .\
+
+:build_release
+if exist "onig_s.lib" goto end
+nmake
+
+:end
+cd ..\..



Ttssh2-commit メーリングリストの案内
Back to archive index