1
0

Initial commit

This commit is contained in:
2023-04-13 15:21:21 +08:00
commit f2cb06b8f9
9 changed files with 375 additions and 0 deletions

24
README.md Normal file
View File

@@ -0,0 +1,24 @@
# 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 xPlayer_nro -j$(nproc)
# for debug
nxlink -a 192.168.3.97 -s build/xPlayer.nro --args https://pan.3m3m.top/api/public/dl/Cwg6sGXL
```