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

@ -35,7 +35,6 @@ PRIVATE
# Install testbench only on Release mode
install(TARGETS YYCCTestbench
EXPORT YYCCTestbenchTargets
CONFIGURATIONS Release
RUNTIME DESTINATION ${YYCC_INSTALL_PATH_BIN}
RUNTIME DESTINATION ${YYCC_INSTALL_BIN_PATH}
)