This is used to create a cpp project quickly
use this template
git clone https://github.com/kylinholmes/CXXTemplate
cd CXXTemplate && rm -rf .git && git init
rename project manually
genorate build file
mkdir build && cmake cmake -B build -S .
build
cmake --build build/
clean
rm -rf build
cmake
is required, plz make sure you have installed. Or refer to https://cmake.org/- if you use
vcpkg
, set a env variableVCPKG_CMAKE
like
export VCPKG_CMAKE=/Users/kylin/vcpkg/scripts/buildsystems/vcpkg.cmake
main
=> command line app
android
=> android app with ndk