Build Instructions: Difference between revisions
From Commontk
Jump to navigationJump to search
Line 33: | Line 33: | ||
* update | * update | ||
git pull --rebase | git pull --rebase | ||
* check update before merging (look at diff): | |||
git fetch | |||
git diff origin master | |||
git rebase | |||
* commit (commit is to local version, push sends it to upstream server) | * commit (commit is to local version, push sends it to upstream server) | ||
git add <changed files> | git add <changed files> | ||
git commit | git commit | ||
git push | git push |
Revision as of 12:52, 18 May 2010
Home < Build InstructionsCTK is a new and rapidly evolving system. These instructions are valid as of may, 2010.
Download
If you have a git hub account:
git clone git@github.com:pieper/CTK.git
(configure your ssh id for access)
Anonymous checkout:
git clone http://github.com/pieper/CTK.git
Build with CMake
mkdir CTK-superbuild cd CTK-superbuild ccmake ../CTK make
CMake Configuration
- set QT_QMAKE_EXECUTABLE for 4.6 development install if needed
- turn on the parts of CTK you want to build
Simple Git
These are shortcuts for people used to the 'cvs or svn style' of source code management:
- checkout (use git clone commands above)
- update
git pull --rebase
- check update before merging (look at diff):
git fetch git diff origin master git rebase
- commit (commit is to local version, push sends it to upstream server)
git add <changed files> git commit git push