summaryrefslogtreecommitdiff
path: root/run.bat
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrikboy@gmail.com>2025-10-11 23:36:54 +0200
committerAldrik Ramaekers <aldrikboy@gmail.com>2025-10-11 23:36:54 +0200
commit955af14f6664574df1ff47e073e39f8d48d6355a (patch)
tree71f5f91b5478feaa218cee0ada652115c7c120cc /run.bat
parentd83e5e8cd66f05ca7e6aa9fc645788313d89dfe7 (diff)
doxygen setup
Diffstat (limited to 'run.bat')
-rw-r--r--run.bat12
1 files changed, 11 insertions, 1 deletions
diff --git a/run.bat b/run.bat
index 00eeb4a..ed0730e 100644
--- a/run.bat
+++ b/run.bat
@@ -1,3 +1,13 @@
+
+if "%1"=="docs" (
+ cd manual
+ doxygen.exe
+ cd ..
+ .\build\manual\latex\make.bat
+ MOVE build\manual\latex\refman.pdf manual\OpenBooks_Manual.pdf
+ exit
+)
+
@echo off
REM Find the latest Visual Studio installation path
for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -latest -products * -property installationPath`) do (
@@ -38,6 +48,6 @@ if "%1"=="-t" @set SOURCES= tests\main.cpp src\administration.cpp src\administra
if "%1"=="-t" @set OUT_EXE=accounting_tests
cl %FLAGS% %INCLUDE_DIRS% %DEFINITIONS% %SOURCES% %LIB_SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fd%OUT_DIR%/vc140.pdb /Fo%OUT_DIR%/ /link %LIBS%
-if "%1"=="-r" call "%OUT_DIR%/%OUT_EXE%.exe" C:\Users\aldri\Desktop\Vault\Projects\accounting\example.openbook
+if "%1"=="-r" call "%OUT_DIR%/%OUT_EXE%.exe" C:\Users\aldri\Desktop\Vault\Projects\accounting\build\example.openbook
if "%1"=="-t" call "%OUT_DIR%/%OUT_EXE%.exe" -v
if "%1"=="-d" call devenv "%OUT_DIR%/%OUT_EXE%.exe"