-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support building for Amiga with CMake #17
base: main
Are you sure you want to change the base?
Conversation
ea8e41f
to
71f4082
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 know nothing about cmake so may be asking stupid questions!
@@ -121,14 +121,16 @@ jobs: | |||
strategy: | |||
matrix: | |||
amiga: | |||
# - { name: "AmigaOS 3", host: "m68k-amigaos", system: "amigaos3" } | |||
- { name: "AmigaOS 4", host: "ppc-amigaos", system: "amiga" } | |||
# - { name: "AmigaOS 3", host: "m68k-amigaos", cmake-flags: -DM68K_CRT=nix20 } |
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.
Where is this M68K_CRT define used? (and the PPC one on the line below)
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.
They're used in the toolchain files that are bundled with the docker images.
- name: Build | ||
run: make SYSTEM=${{ matrix.amiga.system }} CROSS=${{ matrix.amiga.host }}- | ||
run: cmake --build build/ --config ${{env.BUILD_TYPE}} --parallel |
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.
What is env.BUILD_TYPE? The cmake uses SYSTEM I think?
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.
It's set to Release
at the top of the workflow file, and it determines which debug and optimisation levels are used.
71f4082
to
a5e9c83
Compare
No description provided.