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,9 @@
if (WIN32)
# In Windows, we should not import Iconv.
# Send a notice to programmer.
message("Windows environment detected, skip finding Iconv!")
else ()
# In non-Windows, we simply import Iconv from CMake preset.
# It will produce Iconv::Iconv target for including and linking.
find_package(Iconv REQUIRED)
endif ()