-
Notifications
You must be signed in to change notification settings - Fork 4
Getting Started
Hey there! This is a tutorial on how to build DolRecomp. Since this is a pure C project using CMake, the build process is pretty straightforward.
You will need:
- A C Compiler: (e.g., GCC, Clang, or MSVC)
- CMake: (Version 3.16 or higher)
The latest downloads for CMake are available here. For legacy versions, here.
Warning
Versions of CMake that are below 3.16 will not work with this project.
Now that you have CMake installed, let's go right into the steps for building this project!
git clone https://github.com/ExpansionPak/DolRecomp.git
cd DolRecomp
There are two ways to do this.
- Open the project folder in VSCode.
- Ensure you have the CMake Tools extension installed.
- Build the project by pressing
Ctrl + Shift + P, and selectCMake: Build. Select a build kit if prompted to.
If you prefer the command line or you're on a Unix platform you can build the project using CMake with the following commands in this specific order
From the repo root:
cmake -S . -B build
cmake --build build --config Release -j 14
ctest --test-dir build -C Release --output-on-failure
On Windows, Clang, GCC/MinGW, and MSVC-style generators should all work. If devkitPro is installed, CMake also checks its MSYS2 zlib location.
devkitPro is highly recommended for Wii U recomps.
After the build completes, the executable will be located in the build directory. You can now proceed to the next page of this wiki. Click here to continue.