chore: update build script.

- update CMake build script to make install statement is more legal.
- add Windows-only build script for creating CMake used package and MSVC used package on Windows.
- documentation will be added in the next commit.
This commit is contained in:
2024-07-22 13:56:00 +08:00
parent 9e5bd370c4
commit 052fa7f4d1
7 changed files with 99 additions and 35 deletions

View File

@ -1,2 +1,7 @@
# Add the targets file
include("${CMAKE_CURRENT_LIST_DIR}/YYCCommonplaceTargets.cmake")
@PACKAGE_INIT@
# Include targets file
include("${CMAKE_CURRENT_LIST_DIR}/YYCCommonplaceTargets.cmake")
check_required_components(YYCCommonplace)