Tested with Ubuntu 22 LTS x64 (NOT WSL) and CLion 2023.1.1!
- install VitaSDK in the system if you don't have it installed yet.
- open CLion and head to File > Settings > "Build, Execution, Deployment" > Toolchains.
- click the plus (+) icon and select to create a local "System" Toolchain.
- set the following variables in the menu to these:
| Setting | Value |
|---|---|
| CMake: | /usr/bin/cmake |
| BUiLD Tool: | /usr/bin/make |
| C Compiler: | /usr/local/vitasdk/bin/arm-vita-eabi-gcc |
| C++ Compiler: | /usr/local/vitasdk/bin/arm-vita-eabi-g++ |
| Debugger: | /usr/local/vitasdk/bin/arm-vita-eabi-gdb |
- switch to the
CMaketab in File > Settings > "Build, Execution, Deployment" - specify the
VITASDKenviroment variable to what you have outside of CLion, usually the default path ofVITASDKis/usr/local/vitasdk. - save the changes with
OKorApply
And you should have VitaSDK now fully working in JetBrains' CLion!