• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision8120 (tree)
Time2019-09-12 22:49:47
Authoryutakapon

Log Message

・バージョン情報を記述するファイルは SVN の管理下に置かないようにした。
・SFMTのビルド時、上記ファイルがなかった場合は Unknown と表記するファイルを作る。

Change Summary

Incremental Difference

--- trunk/libs/SFMT/SFMT_version_for_teraterm.h (revision 8119)
+++ trunk/libs/SFMT/SFMT_version_for_teraterm.h (nonexistent)
@@ -1,40 +0,0 @@
1-/*
2- * Copyright (C) 1994-1998 T. Teranishi
3- * (C) 2005-2019 TeraTerm Project
4- * All rights reserved.
5- *
6- * Redistribution and use in source and binary forms, with or without
7- * modification, are permitted provided that the following conditions
8- * are met:
9- *
10- * 1. Redistributions of source code must retain the above copyright
11- * notice, this list of conditions and the following disclaimer.
12- * 2. Redistributions in binary form must reproduce the above copyright
13- * notice, this list of conditions and the following disclaimer in the
14- * documentation and/or other materials provided with the distribution.
15- * 3. The name of the author may not be used to endorse or promote products
16- * derived from this software without specific prior written permission.
17- *
18- * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
19- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
20- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
21- * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
22- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
23- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28- */
29-#pragma once
30-
31-#ifndef SFMT_VERSION_H
32-#define SFMT_VERSION_H
33-
34-/*
35- * SFMTのバージョンを変更する場合は手動で修正してください。
36- * Please modify below definition manually when the SFMT version is changed.
37- */
38-#define SFMT_VERSION "1.5.1"
39-
40-#endif
--- trunk/libs/buildSFMT.bat (revision 8119)
+++ trunk/libs/buildSFMT.bat (revision 8120)
@@ -1,3 +1,5 @@
1+SET filename=SFMT_version_for_teraterm.h
2+
13 cd SFMT
24
35 if exist "Makefile.msc.release" goto end_mk_release
@@ -25,4 +27,16 @@
2527 nmake /f Makefile.msc.debug
2628 nmake /f Makefile.msc.release
2729
30+rem バージョンファイルがなければ作る
31+IF EXIST %filename% (GOTO FILE_TRUE) ELSE GOTO FILE_FALSE
32+:FILE_TRUE
33+ECHO "バージョンファイルが見つかりました"
34+GOTO END
35+
36+:FILE_FALSE
37+ECHO "バージョンファイルが見つかりないので新規作成します"
38+echo #define SFMT_VERSION "Unknown" > %filename%
39+GOTO END
40+
41+:END
2842 cd ..
Show on old repository browser