Logo
Explore Help
Register Sign In
Team2890/allwpilib
4
0
Fork 0
You've already forked allwpilib
mirror of https://github.com/wpilibsuite/allwpilib synced 2026-07-05 03:21:42 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
1f59ff72f9da8b9f07820537b9075a9b7db0058d
allwpilib/cmake/modules/CompileWarnings.cmake

8 lines
321 B
CMake
Raw Normal View History

cmake: Enable googletest unit tests (#1720) Also don't inherit compile warnings from wpiutil There's not a good way to disable inherited compiler flags.
2019-06-23 12:44:28 -07:00
macro(wpilib_target_warnings target)
if(NOT MSVC)
Clean up LinearDigitalFilter class (#782) * Renamed LinearDigitalFilter to LinearFilter * Filter base class removed since it wasn't useful * C++: std::shared_ptr<> replaced with double parameter
2019-06-28 13:35:57 -07:00
target_compile_options(${target} PRIVATE -Wall -pedantic -Wextra -Werror -Wno-unused-parameter -Wno-error=deprecated-declarations)
cmake: Enable googletest unit tests (#1720) Also don't inherit compile warnings from wpiutil There's not a good way to disable inherited compiler flags.
2019-06-23 12:44:28 -07:00
else()
[wpimath] Explicitly export wpimath symbols Co-authored-by: Tyler Veness <calcmogul@gmail.com>
2021-08-20 09:02:01 -07:00
target_compile_options(${target} PRIVATE /wd4146 /wd4244 /wd4251 /wd4267 /wd4996 /WX)
cmake: Enable googletest unit tests (#1720) Also don't inherit compile warnings from wpiutil There's not a good way to disable inherited compiler flags.
2019-06-23 12:44:28 -07:00
endif()
endmacro()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 52ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API