Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
The main server is currently down. We are running on a backup server, so editing and search functionality are temporarily disabled. Please check back in a few hours.

Switch homebrew toolchain cmake: Difference between revisions

From GameBrew
No edit summary
m HydeWing moved page Switch Homebrew Toolchain Cmake Switch to Switch homebrew toolchain cmake without leaving a redirect
 
(No difference)

Latest revision as of 06:43, 3 June 2023

Switch homebrew toolchain cmake
General
Authorjfmherokiller
TypeDevelopments
Version2018
LicenseMixed
Last Updated2018/09/13
Links
Download
Website
Source

Set of files to allow switch homebrew development using cmake.

It uses toolchain files from:

User guide

Example setup:

switchhomebrewtoolchaincmake2.png

Special notes:

  • The toolchain files have a variable (NX) to distinguish between libnx and libtransistor.
  • It's done by comparing the value of the NX variable: A value of 1 means libnx. A value of 2 means libtransistor.
  • Both toolchains have a add_nro_target function which uses the toolchain utilities to generate an nro from the compiled elf.
  • #stuff you may need todo to get the toolchain file to work under different setups/platforms.
  • If you have trouble with CLion and WSL use the commented lines at the top of the appropriate CMake toolchain file.

External links

Advertising: