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)
|
cmake_minimum_required(VERSION 3.23)
|
||||||
project(YYCC
|
project(YYCC
|
||||||
VERSION 1.0.0
|
VERSION 1.1.0
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user