chore: switch to CMake build system.

- switch to CMake build system and delete original project files because Visual Studio supports CMake project debugging.
- there is a UTF-8 bug for library after switching, but I don't know why it happends. maybe fixed in future.
This commit is contained in:
2024-05-29 23:11:52 +08:00
parent 72eb79ce1a
commit 5726c81fdb
9 changed files with 119 additions and 501 deletions

8
CMakeLists.txt Normal file
View File

@ -0,0 +1,8 @@
cmake_minimum_required(VERSION 3.12)
project(YYCCommonplace LANGUAGES CXX)
# Add core static library in build
add_subdirectory(src)
# Add testbench code in build
add_subdirectory(testbench)