1
0
Files
cDrive/README.md
2024-02-04 15:48:47 +08:00

24 lines
666 B
Markdown

# cDrive
Cloud drive explorer for C/C++
### Build On MSYS2
```bash
pacman -S ${MINGW_PACKAGE_PREFIX}-glfw ${MINGW_PACKAGE_PREFIX}-cc
cmake -B build -G 'MinGW Makefiles'
cmake --build build
```
### Building for Switch
To build for Switch, a standard development environment must first be set up. In order to do so, [refer to the Getting Started guide](https://devkitpro.org/wiki/Getting_Started).
```bash
(dkp-)pacman -S switch-glfw switch-curl
cmake -B build -DCMAKE_TOOLCHAIN_FILE="$DEVKITPRO/cmake/Switch.cmake"
make -C build cDrive_nro -j$(nproc)
# for debug
nxlink -a 192.168.3.97 -s build/cDrive.nro --args https://pan.3m3m.top/api/public/dl/Cwg6sGXL
```