mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
[wpimath] Compile with UTF-8 encoding (#6111)
This allows using Greek letters in variable names, which is helpful to make implemented equations follow their source paper more closely.
This commit is contained in:
@@ -161,7 +161,7 @@ target_compile_definitions(wpimath PRIVATE WPILIB_EXPORTS)
|
||||
|
||||
target_compile_features(wpimath PUBLIC cxx_std_20)
|
||||
if(MSVC)
|
||||
target_compile_options(wpimath PUBLIC /bigobj)
|
||||
target_compile_options(wpimath PUBLIC /utf-8 /bigobj)
|
||||
endif()
|
||||
wpilib_target_warnings(wpimath)
|
||||
target_link_libraries(wpimath wpiutil)
|
||||
|
||||
Reference in New Issue
Block a user