fix: using filesystem must over c++17
This commit is contained in:
parent
bc77cffcd8
commit
6c39a38af6
8
Makefile
8
Makefile
|
@ -2,21 +2,21 @@ default:
|
|||
@echo "Please choose a platform: linux, macos, win32"
|
||||
|
||||
linux:
|
||||
g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag
|
||||
g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag -std=c++17
|
||||
strip ncmdump
|
||||
|
||||
macos-intel:
|
||||
clang++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag
|
||||
clang++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag -std=c++17
|
||||
strip ncmdump
|
||||
|
||||
macos-arm64:export CPATH=/opt/homebrew/include
|
||||
macos-arm64:export LIBRARY_PATH=/opt/homebrew/lib
|
||||
macos-arm64:
|
||||
clang++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag
|
||||
clang++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag -std=c++17
|
||||
strip ncmdump
|
||||
|
||||
win32:
|
||||
g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag -Ltaglib/lib -Itaglib/include -static -O -municode
|
||||
g++ main.cpp cJSON.cpp aes.cpp ncmcrypt.cpp -o ncmdump -ltag -Ltaglib/lib -Itaglib/include -static -O -municode -std=c++17
|
||||
strip ncmdump.exe
|
||||
|
||||
clean:
|
||||
|
|
Loading…
Reference in New Issue