We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here's some examples from my team's build.gradle:
nativeUtils.platformConfigs.named("linuxathena").configure { it.cppCompiler.args.add('-Wall') it.cppCompiler.args.add('-Wextra') it.cppCompiler.args.add('-pedantic') it.cppCompiler.args.add('-Werror') it.cppCompiler.args.add('-Wno-unused-parameter') // Suppress warning from incorrect [[deprecated]] attribute usage in // CANSparkMax.h it.cppCompiler.args.add('-Wno-attributes') } if (OperatingSystem.current().isWindows()) { nativeUtils.platformConfigs.named(wpi.platforms.desktop).configure { it.cppCompiler.args.add('/W3') it.cppCompiler.args.add('/WX') } } else { nativeUtils.platformConfigs.named(wpi.platforms.desktop).configure { it.cppCompiler.args.add('-Wall') it.cppCompiler.args.add('-Wextra') it.cppCompiler.args.add('-pedantic') it.cppCompiler.args.add('-Werror') it.cppCompiler.args.add('-Wno-unused-parameter') } } nativeUtils.platformConfigs.named("linuxx86-64").configure { it.linker.args.add('-lstdc++fs') } if (project.hasProperty("asan")) { nativeUtils.platformConfigs.named("linuxx86-64").configure { it.cppCompiler.args.add('-g3') it.cppCompiler.args.add('-fsanitize=address') it.linker.args.add('-fsanitize=address') } }
The text was updated successfully, but these errors were encountered:
Not sure where to put this. Welcome to suggestions.
Sorry, something went wrong.
Fixed by #2393
No branches or pull requests
Here's some examples from my team's build.gradle:
The text was updated successfully, but these errors were encountered: