mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
build: Add source file encoding check
Source files are checked using a small utility in src/build-utils This is done to prevent bugs in build and localization caused by weird non-UTF-8 encodings interpreted by MSVC in terms of local codepages rather than UTF-8.
This commit is contained in:
@@ -5,3 +5,5 @@ add_library(semver STATIC
|
||||
semver.c
|
||||
semver.h
|
||||
)
|
||||
|
||||
encoding_check(semver)
|
||||
|
||||
Reference in New Issue
Block a user