Revision: 8120 https://osdn.net/projects/ttssh2/scm/svn/commits/8120 Author: yutakapon Date: 2019-09-12 22:49:47 +0900 (Thu, 12 Sep 2019) Log Message: ----------- ・バージョン情報を記述するファイルは SVN の管理下に置かないようにした。 ・SFMTのビルド時、上記ファイルがなかった場合は Unknown と表記するファイルを作る。 Modified Paths: -------------- trunk/libs/buildSFMT.bat Removed Paths: ------------- trunk/libs/SFMT/SFMT_version_for_teraterm.h Property Changed: ---------------- trunk/libs/SFMT/ -------------- next part -------------- Index: trunk/libs/SFMT =================================================================== --- trunk/libs/SFMT 2019-09-12 11:37:14 UTC (rev 8119) +++ trunk/libs/SFMT 2019-09-12 13:49:47 UTC (rev 8120) Property changes on: trunk/libs/SFMT ___________________________________________________________________ Modified: svn:ignore ## -1 +1,2 ## * +SFMT_version_for_teraterm.h Deleted: trunk/libs/SFMT/SFMT_version_for_teraterm.h =================================================================== --- trunk/libs/SFMT/SFMT_version_for_teraterm.h 2019-09-12 11:37:14 UTC (rev 8119) +++ trunk/libs/SFMT/SFMT_version_for_teraterm.h 2019-09-12 13:49:47 UTC (rev 8120) @@ -1,40 +0,0 @@ -/* - * Copyright (C) 1994-1998 T. Teranishi - * (C) 2005-2019 TeraTerm Project - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The name of the author may not be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ -#pragma once - -#ifndef SFMT_VERSION_H -#define SFMT_VERSION_H - -/* - * SFMT\x82̃o\x81[\x83W\x83\x87\x83\x93\x82\xF0\x95ύX\x82\xB7\x82\xE9\x8Fꍇ\x82͎蓮\x82ŏC\x90\xB3\x82\xB5\x82Ă\xAD\x82\xBE\x82\xB3\x82\xA2\x81B - * Please modify below definition manually when the SFMT version is changed. - */ -#define SFMT_VERSION "1.5.1" - -#endif Modified: trunk/libs/buildSFMT.bat =================================================================== --- trunk/libs/buildSFMT.bat 2019-09-12 11:37:14 UTC (rev 8119) +++ trunk/libs/buildSFMT.bat 2019-09-12 13:49:47 UTC (rev 8120) @@ -1,3 +1,5 @@ +SET filename=SFMT_version_for_teraterm.h + cd SFMT if exist "Makefile.msc.release" goto end_mk_release @@ -25,4 +27,16 @@ nmake /f Makefile.msc.debug nmake /f Makefile.msc.release +rem \x83o\x81[\x83W\x83\x87\x83\x93\x83t\x83@\x83C\x83\x8B\x82\xAA\x82Ȃ\xAF\x82\xEA\x82\xEC\x82\xE9 +IF EXIST %filename% (GOTO FILE_TRUE) ELSE GOTO FILE_FALSE +:FILE_TRUE +ECHO "\x83o\x81[\x83W\x83\x87\x83\x93\x83t\x83@\x83C\x83\x8B\x82\xAA\x8C\xA9\x82\xA9\x82\xE8\x82܂\xB5\x82\xBD" +GOTO END + +:FILE_FALSE +ECHO "\x83o\x81[\x83W\x83\x87\x83\x93\x83t\x83@\x83C\x83\x8B\x82\xAA\x8C\xA9\x82\xA9\x82\xE8\x82Ȃ\xA2\x82̂ŐV\x8BK\x8D쐬\x82\xB5\x82܂\xB7" +echo #define SFMT_VERSION "Unknown" > %filename% +GOTO END + +:END cd ..