chore: update build script.

- update build script to split documentation generation.
- bump up version from 1.0.0 to 1.1.0
This commit is contained in:
yyc12345 2024-07-06 15:28:30 +08:00
parent a1699f13db
commit 2e28dd4c48
2 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.23)
project(YYCC
VERSION 1.0.0
VERSION 1.1.0
LANGUAGES CXX
)

View File

@ -12,6 +12,7 @@ MKDIR bin
CD bin
MKDIR Win32
MKDIR x64
MKDIR documentation
MKDIR install
:: Build for Win32
@ -32,4 +33,11 @@ cmake --build . --config Release
cmake --install . --prefix=../install --config Release
CD ..
:: Build for documentation
CD documentation
cmake -DYYCC_BUILD_DOC=ON ../..
cmake --build . --config Release
:: cmake --install . --prefix=../install --config Release
CD ..
ECHO DONE