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:
parent
a1699f13db
commit
2e28dd4c48
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required(VERSION 3.23)
|
||||
project(YYCC
|
||||
VERSION 1.0.0
|
||||
VERSION 1.1.0
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user