This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Software Process Software Process OverviewOverview CMake – cross platform building Dashboards – continuous testing Mailing List – Developer communication Wiki – Stored developer communication Issue Tracker phpBugTracker – keep
track of bugs and feature requests
OutlineOutline
CMake - Change the CMake - Change the way ALL way ALL programmers build programmers build softwaresoftware
Dashboards - If its not Dashboards - If its not tested it doesn’t worktested it doesn’t work
CPackCPack
CMake - changing the way CMake - changing the way ALL programmers compile ALL programmers compile codecode 1999 Start of the ITK project Kitware tasked with build environment
• VTK current build system autoconf on UNIX pcmaker on Windows Very specific to VTK and hard to
maintain, no system introspection on windows
• CMake born out of necessity 2006 KDE adopted CMake
CMake RequirmentsCMake Requirments
Support UNIX/LINUX/Windows/MAC Simple easy to use Support code generation at build time
( c++ wrapper support) Do not require any software other than
CMake to be installed. • Need only a C++ compiler (same as ITK
itself) Use Native Build tools like Visual Studio
and Xcode
Windows GUI
Unix GUI
CMakeLists.txt
MSVCProject
.NET Solution
Makefile
Userselects
CMake: Example UsageCMake: Example Usage
CMake GUI (ccmake CMake GUI (ccmake CMakeSetup) Process Flow CMakeSetup) Process Flow
Configure
Write CMakeCache.txt
Did Cache
Change?
Yes
No
GenerateMakefile or
Project
CMake LanguageCMake Language
COMMAND(args) : COMMAND is the name of the command, and args is a white space separated list of arguments.
# files needed:Hello.c CMakeLists.txt
The CMakeLists.txt file would contain two lines: PROJECT (Hello) ADD_EXECUTABLE(Hello Hello.c)
Regression TestingRegression Testing Compare generated image against
standard “correct” image• pixel-by-pixel comparison• can use a threshold metric• adjusted for effects like dithering• OpenGL is rather loose about image
quality
Can search for the checkin Can search for the checkin that caused the problemthat caused the problem
Why Test Daily?Why Test Daily?
Large code base too large for any single developer to understand
Developers distributed around the world Identify problems as they occur Insure that object API remains