• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision9508 (tree)
Time2021-10-30 00:19:40
Authorzmatsuo

Log Message

VS2022でライブラリがビルドできるようにした

- バッチ、ドキュメント調整
- r9419

Change Summary

Incremental Difference

--- trunk/doc/ja/html/reference/build_library_with_cmake.md (revision 9507)
+++ trunk/doc/ja/html/reference/build_library_with_cmake.md (revision 9508)
@@ -32,17 +32,19 @@
3232
3333 ### batファイルを使用する場合
3434
35-buildall_cmake.bat を実行して使用する Visual Studioを選ぶ
35+libs/buildall_cmake.bat を実行して使用する Visual Studioを選ぶ
3636
37- 1. Visual Studio 16 2019
38- 2. Visual Studio 16 2019 x64
39- 3. Visual Studio 15 2017
40- 4. Visual Studio 14 2015
41- 5. Visual Studio 12 2013
42- 6. Visual Studio 11 2012
43- 7. Visual Studio 10 2010
44- 8. Visual Studio 9 2008
45- 9. Visual Studio 8 2005
37+ 1. Visual Studio 17 2022
38+ 2. Visual Studio 17 2022 x64
39+ 3. Visual Studio 16 2019
40+ 4. Visual Studio 16 2019 x64
41+ 5. Visual Studio 15 2017
42+ 6. Visual Studio 14 2015
43+ 7. Visual Studio 12 2013
44+ 8. Visual Studio 11 2012
45+ 9. Visual Studio 10 2010
46+ a. Visual Studio 9 2008
47+ b. Visual Studio 8 2005
4648 select no
4749
4850 VS2005を選択した場合、
@@ -76,11 +78,11 @@
7678
7779 - 次のフォルダにライブラリの `*.h` , `*.lib` が生成される
7880 - `cJSON`
79- - `oniguruma_{compiler}`
80- - `openssl_{compiler}`
81- - `putty`
82- - `SFMT_{compiler}`
83- - `zlib_{compiler}`
81+ - `oniguruma_{compiler}`
82+ - `openssl_{compiler}`
83+ - `putty`
84+ - `SFMT_{compiler}`
85+ - `zlib_{compiler}`
8486
8587 ## download アーカイブダウンロードフォルダ
8688
--- trunk/doc/ja/html/reference/build_with_cmake.md (revision 9507)
+++ trunk/doc/ja/html/reference/build_with_cmake.md (revision 9508)
@@ -7,8 +7,7 @@
77
88 - Visual Studio 2005 をサポートしている cmake の最後のバージョンは 3.11.4 です
99 - Visual Studio 2005 (Expressも含む)以外を使用する場合は特に制限はありません
10-- Visual Studio 2017,2019 インストーラーで、オプションを選べば cmake をインストールできます
11-- cmake 3.14から Visual Studio 2019 をサポートしています
10+- Visual Studio 2017,2019,2022 インストーラーで、オプションを選べば cmake をインストールできます
1211
1312 ## MinGW (very experimental)
1413
--- trunk/libs/buildall_cmake.bat (revision 9507)
+++ trunk/libs/buildall_cmake.bat (revision 9508)
@@ -7,31 +7,35 @@
77 set OPT=
88
99 :retry_vs
10-echo 1. Visual Studio 16 2019 Win32
11-echo 2. Visual Studio 16 2019 x64
12-echo 3. Visual Studio 15 2017
13-echo 4. Visual Studio 14 2015
14-echo 5. Visual Studio 12 2013
15-echo 6. Visual Studio 11 2012
16-echo 7. Visual Studio 10 2010
17-echo 8. Visual Studio 9 2008
18-echo 9. Visual Studio 8 2005
19-rem echo a. Visual Studio NMake (experimental)
20-rem echo b. Cygwin MinGW Release + Unix Makefiles (experimental)
10+echo 1. Visual Studio 17 2022 Win32
11+echo 2. Visual Studio 17 2022 x64
12+echo 3. Visual Studio 16 2019 Win32
13+echo 4. Visual Studio 16 2019 x64
14+echo 5. Visual Studio 15 2017
15+echo 6. Visual Studio 14 2015
16+echo 7. Visual Studio 12 2013
17+echo 8. Visual Studio 11 2012
18+echo 9. Visual Studio 10 2010
19+echo a. Visual Studio 9 2008
20+echo b. Visual Studio 8 2005
21+rem echo c. Visual Studio NMake (experimental)
22+rem echo d. Cygwin MinGW Release + Unix Makefiles (experimental)
2123 set /p no="select no "
2224
2325 echo %no%
24-if "%no%" == "1" set GENERATOR="Visual Studio 16 2019" & set OPT=-DARCHITECTURE=Win32 & goto build_all
25-if "%no%" == "2" set GENERATOR="Visual Studio 16 2019" & set OPT=-DARCHITECTURE=x64 & goto build_all
26-if "%no%" == "3" set GENERATOR="Visual Studio 15 2017" & goto build_all
27-if "%no%" == "4" set GENERATOR="Visual Studio 14 2015" & goto build_all
28-if "%no%" == "5" set GENERATOR="Visual Studio 12 2013" & goto build_all
29-if "%no%" == "6" set GENERATOR="Visual Studio 11 2012" & goto build_all
30-if "%no%" == "7" set GENERATOR="Visual Studio 10 2010" & goto build_all
31-if "%no%" == "8" set GENERATOR="Visual Studio 9 2008" & goto build_all
32-if "%no%" == "9" set GENERATOR="Visual Studio 8 2005" & call :cmake_3_11_4 & goto build_all_2
33-if "%no%" == "a" set GENERATOR="NMake Makefiles" & set OPT=-DCMAKE_BUILD_TYPE=Release & goto build_all
34-if "%no%" == "z" set GENERATOR="Unix Makefiles" & set OPT=-DCMAKE_TOOLCHAIN_FILE=../mingw.toolchain.cmake & goto build_all
26+if "%no%" == "1" set GENERATOR="Visual Studio 17 2022" & set OPT=-DARCHITECTURE=Win32 & goto build_all
27+if "%no%" == "2" set GENERATOR="Visual Studio 17 2022" & set OPT=-DARCHITECTURE=x64 & goto build_all
28+if "%no%" == "3" set GENERATOR="Visual Studio 16 2019" & set OPT=-DARCHITECTURE=Win32 & goto build_all
29+if "%no%" == "4" set GENERATOR="Visual Studio 16 2019" & set OPT=-DARCHITECTURE=x64 & goto build_all
30+if "%no%" == "5" set GENERATOR="Visual Studio 15 2017" & goto build_all
31+if "%no%" == "6" set GENERATOR="Visual Studio 14 2015" & goto build_all
32+if "%no%" == "7" set GENERATOR="Visual Studio 12 2013" & goto build_all
33+if "%no%" == "8" set GENERATOR="Visual Studio 11 2012" & goto build_all
34+if "%no%" == "9" set GENERATOR="Visual Studio 10 2010" & goto build_all
35+if "%no%" == "a" set GENERATOR="Visual Studio 9 2008" & goto build_all
36+if "%no%" == "b" set GENERATOR="Visual Studio 8 2005" & call :cmake_3_11_4 & goto build_all_2
37+if "%no%" == "c" set GENERATOR="NMake Makefiles" & set OPT=-DCMAKE_BUILD_TYPE=Release & goto build_all
38+if "%no%" == "d" set GENERATOR="Unix Makefiles" & set OPT=-DCMAKE_TOOLCHAIN_FILE=../mingw.toolchain.cmake & goto build_all
3539 echo ? retry
3640 goto retry_vs
3741
Show on old repository browser