Initial commit
This commit is contained in:
24
README.md
Normal file
24
README.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user