Skip to content

WilliamXiao/sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is william's test git repository where various tricks are tested.

+ Use command line in Git Shell
+ C++11 CMake skeleton using GLFW, Glew and glm

Reference Links:
1. start github
  https://help.github.com/
  https://www.howtoforge.com/tutorial/install-git-and-github-on-ubuntu-14.04/

2. basic commands: 
  git config --global user.email "[email protected]"
  git config --global user.name "William Xiao"
  
  # modify an existing file, then stage it (git add .), then check status, commit, finally push
  git add .
  git status
  git commit -m "commit an editing in existing file."
  git push origin master
  
  https://help.github.com/articles/adding-a-file-to-a-repository-using-the-command-line/
  https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
  http://readwrite.com/2013/09/30/understanding-github-a-journey-for-beginners-part-1/
  
3. add third party dependency git repository as submodule. 
  # learned from https://github.com/ArthurSonzogni, thanks to Arthur Sonzogni.
  # Add glfw (http://www.glfw.org/) into third_party folder
  git submodule add https://github.com/glfw/glfw.git third_party/glfw
  git status
  git add .
  git commit -m "git submodule add https://github.com/glfw/glfw.git third_party/glfw"
  git push origin master
  
  # Add GLEW - The OpenGL Extension Wrangler Library 
  # http://glew.sourceforge.net/, https://github.com/nigels-com/glew
  git submodule add https://github.com/Perlmint/glew-cmake.git third_party/glew
  
  # Add GLM - OpenGL Mathematics https://glm.g-truc.net into third_party folder
  git submodule add https://github.com/g-truc/glm.git third_party/glm
  git status
  git add .
  git commit -m "git submodule add https://github.com/g-truc/glm.git third_party/glm"
  git push
  

About

Sandbox of real time rendering technologies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published