-
-
Notifications
You must be signed in to change notification settings - Fork 25
Enable CrossPlatform Builds and CI #462
New issue
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
Enable CrossPlatform Builds and CI #462
Conversation
@MathewBensonCode I think to make it easier you can break this PR into smaller PR's that focus on one thing at a time
that way its not overwhelming and things are fixed one at a time |
- install llvm20 for linux workflow and configure clang-format search paths for different linux options. - ShaderC download for linux matches the other systems and the previous hack to use system versions reverted. - Renamed the cmake imported targets for the ZEngine and Tetragrama dependencies. - Reatructured compile options and definitions for imgui, imguizmo and zengine - removed some erroneously included changes as requested. clang-format-20 ubuntu
I have tried to capture the requested changes in a single commit which we can now look into splitting up into smaller PRs as necessary. I found it a little tricky to split up because the changes were related but we can now discuss this further and you can let me know what you have in mind. |
- install llvm20 for linux workflow and configure clang-format search paths for different linux options. - ShaderC download for linux matches the other systems and the previous hack to use system versions reverted. - Renamed the cmake imported targets for the ZEngine and Tetragrama dependencies. - Reatructured compile options and definitions for imgui, imguizmo and zengine - removed some erroneously included changes as requested. clang-format-20 ubuntu
ab77975
to
c4494f0
Compare
c4494f0
to
aebab1b
Compare
aebab1b
to
e296ab7
Compare
- Renamed variables that have the same name as the naming type as this wasn't compiling on GCC. - Replicated Linux CI workflow using Ninja Generator for Linux - Removed hard requirement for gcc and clang version 11 and use CMAKE_CXX_STANDARD = 20 enforce this. - Enabled Linux Output Paths in Panzerfaust.csproj - Add Search Paths for clang-format specific to possible location in different linux versions.(list may be incomplete for other distributions)
e296ab7
to
c0df1b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i dont know why i cant comment on the file, but shared.ps1
add linux to the GlslangValidatorCandidates
line 161
`
$GlslangValidatorCandidates = @(
'glslangValidator'
if ($IsWindows) {
Join-Path -Path $shaderCCompilerPath -ChildPath "\bin\glslangValidator.exe" # On Windows, the pipeline build might pick up this option...
}
if ($IsMacOS) {
Join-Path -Path $shaderCCompilerPath -ChildPath "\bin\glslangValidator" # On macOS, the pipeline build might pick up this option...
}
if ($IsLinux) {
Join-Path -Path $shaderCCompilerPath -ChildPath "\bin\glslangValidator"
}
)
`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
everything looks good to me, just make the changes on the glslangcandidate
Changes made to enable cross platform builds