forked from sakura-editor/sakura
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request sakura-editor#565 from m-tmatma/feature/doxygen-conf
doxygen の設定ファイルと実行用のバッチファイルを追加
- Loading branch information
Showing
10 changed files
with
2,604 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@echo off | ||
@echo installing | ||
set DOXYGEN_INSTALLER=doxygen-1.8.14-setup.exe | ||
if not "%APPVEYOR_BUILD_NUMBER%" == "" ( | ||
%~dp0%DOXYGEN_INSTALLER% /silent /suppressmsgboxes | ||
) else ( | ||
@echo skip installing %DOXYGEN_INSTALLER% | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
call sakura\githash.bat | ||
call tools\hhc\find-hhc.bat | ||
call tools\doxygen\find-doxygen.bat | ||
|
||
if exist html rmdir /s /q html | ||
|
||
set PROJECT_NUMBER=%GIT_SHORT_COMMIT_HASH% | ||
set HHC_LOCATION=%CMD_HHC% | ||
|
||
if "%CMD_DOXYGEN%" == "" ( | ||
echo doxygen was not found | ||
) else if exist "%CMD_DOXYGEN%" ( | ||
"%CMD_DOXYGEN%" doxygen.conf | ||
) else ( | ||
echo doxygen was not found | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@rem see readme.md | ||
@echo off | ||
set CMD_DOXYGEN= | ||
set PATH_DOXYGEN_1= | ||
set PATH_DOXYGEN_2= | ||
set PATH_DOXYGEN_3= | ||
|
||
if not "%ProgramFiles%" == "" set "PATH_DOXYGEN_1=%ProgramFiles%\doxygen\bin\doxygen.exe" | ||
if not "%ProgramFiles(x86)%" == "" set "PATH_DOXYGEN_2=%ProgramFiles(x86)%\doxygen\bin\doxygen.exe" | ||
if not "%ProgramW6432%" == "" set "PATH_DOXYGEN_3=%ProgramW6432%\doxygen\bin\doxygen.exe" | ||
|
||
set RESULT_PATH_DOXYGEN_1=-- | ||
set RESULT_PATH_DOXYGEN_2=-- | ||
set RESULT_PATH_DOXYGEN_3=-- | ||
|
||
if exist "%PATH_DOXYGEN_1%" ( | ||
set RESULT_PATH_DOXYGEN_1=OK | ||
set "CMD_DOXYGEN=%PATH_DOXYGEN_1%" | ||
) else if exist "%PATH_DOXYGEN_2%" ( | ||
set RESULT_PATH_DOXYGEN_2=OK | ||
set "CMD_DOXYGEN=%PATH_DOXYGEN_2%" | ||
) else if exist "%PATH_DOXYGEN_3%" ( | ||
set RESULT_PATH_DOXYGEN_3=OK | ||
set "CMD_DOXYGEN=%PATH_DOXYGEN_3%" | ||
) | ||
|
||
@echo %RESULT_PATH_DOXYGEN_1% %PATH_DOXYGEN_1% | ||
@echo %RESULT_PATH_DOXYGEN_2% %PATH_DOXYGEN_2% | ||
@echo %RESULT_PATH_DOXYGEN_3% %PATH_DOXYGEN_3% | ||
@echo. | ||
@echo CMD_DOXYGEN "%CMD_DOXYGEN%" | ||
@echo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!-- TOC --> | ||
|
||
- [doxygen のパスを見つけるバッチファイル](#doxygen-のパスを見つけるバッチファイル) | ||
- [ロジック](#ロジック) | ||
<!-- /TOC --> | ||
|
||
# doxygen のパスを見つけるバッチファイル | ||
|
||
doxygen.exe のパスを見つけて 環境変数 `CMD_DOXYGEN` に設定する | ||
|
||
## ロジック | ||
|
||
以下の順番でパスを検索して、見つかったパスを環境変数 `CMD_DOXYGEN` にセットする。 | ||
|
||
- %ProgramFiles%\doxygen\bin\doxygen.exe | ||
- %ProgramFiles(x86)%\doxygen\bin\doxygen.exe | ||
- %ProgramW6432%\doxygen\bin\doxygen.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters