Skip to content

cnsuhao/pumas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pumas and Hares

Programming Skills project @ Edinburgh University, 2013

Programming Style

We are generally following the kernel style guide, with the exception of indenting by 4, not 8, spaces (I think 8 spaces is totally unreadable with classes (do you agree?)).

Building

We are using CMake to govern the build process, though I don't think that we should support any platforms different from Linux/gcc. If you wish to add support for any other platform, feel free to do it in CMakeLists.txt

Building the application

In order to build the code, you need to create a build directory, generate the makefile and build:

mkdir build
cd build
cmake ..
make -j3

which should produce 'solver' and 'test-suite' executables for you.

Building the documentation

To do that you need to be inside the build directory and make doc:

cd build
make doc

Tests

We will most probably be using the unit test framework from Boost. It is added as a compile-time requirement, so you need to have it installed.

A good how-to on using Boost tests can be found in the Boost docs. The first three examples are mostly worth the read.

Please do not mark a task as done in Trello if it doesn't have at least a few tests to prove its correctness!

Documentation

We'll be using Doxygen, the output of which will probably be parsed by Sphinx, if I have the time. Please write the documentation using markdown, which will enable easy HTML code generation. You can also find it helpful to look at the Doxygen specific markdown docs.

The documentation from the master branch should also be avaliable here (with 10-minute lag).

Tasks

To see, add and claim the tasks, visit the Trello board.

About

Programming skills project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TeX 63.6%
  • C++ 34.8%
  • CMake 1.4%
  • Gnuplot 0.2%