chore: switch to CMake build system instead of native Visual Studio project

This commit is contained in:
2024-08-15 22:20:51 +08:00
parent da575e42f5
commit afa06339b2
26 changed files with 3349 additions and 1794 deletions

View File

@ -0,0 +1,11 @@
# Check YYCC path environment variable
if (NOT DEFINED YYCC_PATH)
message(FATAL_ERROR "You must set YYCC_PATH variable to one of YYCC CMake distribution installation path.")
endif()
# Find YYCC library
# It will produce YYCC::YYCCommonplace target for including and linking.
find_package(YYCCommonplace REQUIRED
HINTS ${YYCC_PATH} NO_DEFAULT_PATH
)