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) cmake_minimum_required(VERSION 3.23)
project(YYCC project(YYCC
VERSION 1.0.0 VERSION 1.1.0
LANGUAGES CXX LANGUAGES CXX
) )

View File

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