Skip to content

Support building for Amiga with CMake#17

Open
ccawley2011 wants to merge 1 commit into
ArcEm-emu:mainfrom
ccawley2011:amiga-cmake
Open

Support building for Amiga with CMake#17
ccawley2011 wants to merge 1 commit into
ArcEm-emu:mainfrom
ccawley2011:amiga-cmake

Conversation

@ccawley2011

Copy link
Copy Markdown
Member

No description provided.

@chris-y chris-y left a comment

Copy link
Copy Markdown
Contributor

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!

Comment thread .github/workflows/ci.yml
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
Copy Markdown
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
Copy Markdown
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.

Comment thread .github/workflows/ci.yml
run: cmake -B build/ -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{ matrix.amiga.cmake-flags }} .
- name: Build
run: make SYSTEM=${{ matrix.amiga.system }} CROSS=${{ matrix.amiga.host }}-
run: cmake --build build/ --config ${{env.BUILD_TYPE}} --parallel

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