Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ccawley2011
Copy link
Member

No description provided.

Copy link
Contributor

@chris-y chris-y left a 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 }
Copy link
Contributor

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)

Copy link
Member Author

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
Copy link
Contributor

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?

Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants