create_pro.sh 334 B

1234567891011121314
  1. #!/bin/bash
  2. mkdir -p include lib src bin doc etc 3rd/include 3rd/lib dist
  3. touch README.md BUILD.md RELEASE.md CHANGELOG.md Makefile .gitignore
  4. git init
  5. # personal
  6. git submodule add https://github.com/ithewei/hw.git src/hw
  7. cp src/hw/.gitignore .
  8. cp src/hw/Makefile .
  9. cp -r src/hw/etc/* etc
  10. cp src/hw/main.cpp.tmpl src/main.cpp
  11. make