Search found 3 matches

by Whirvis
Wed Aug 31, 2022 1:19 am
Forum: Gamecube/Wii Development
Topic: Need help building with CMake
Replies: 4
Views: 7034

Re: Need help building with CMake

fincs wrote: Sun Aug 28, 2022 11:35 am You just need to execute it directly, like this, within the msys2 shell:

Code: Select all

/opt/devkitpro/portlibs/wii/bin/powerpc-eabi-cmake -S . -B build
Ah! I understand now. Thank you for the help! :D
by Whirvis
Sat Aug 27, 2022 6:48 pm
Forum: Gamecube/Wii Development
Topic: Need help building with CMake
Replies: 4
Views: 7034

Re: Need help building with CMake

CMake toolchain files can't be used with include(), instead they should be passed from the command line as a special argument. We offer a wrapper script around cmake that automatically does this: /opt/devkitpro/portlibs/wii/bin/powerpc-eabi-cmake. After removing the extraneous include line, and add...
by Whirvis
Tue Aug 16, 2022 3:10 am
Forum: Gamecube/Wii Development
Topic: Need help building with CMake
Replies: 4
Views: 7034

Need help building with CMake

Hey all! I'm new to developing using devkitPro. I'm trying to use CMake when building the triangle example found on GitHub. When using the Makefile which comes with the example, everything compiles normally. When trying to use CMake in the same environment with this script: cmake_minimum_required(VE...