GSoC/GCI Archive
Google Code-in 2012 BRL-CAD

Enable our fbthreadtest tool for compilation

completed by: Cezar

mentors: Sean

BRL-CAD provides more than 400 applications.  When we migrated from an Autotools build system to CMake, some tools were not converted and some were disabled for a variety of reasons.  One such tool is one called fbthreadtest.

This task requires enabling that tool for compilation, properly defining the build system logic in our CMakeLists.txt file (to link any needed libraries), and fixing any compilation warnings that result when compiling.

Note that the tool is in an incomplete state of development.  This task requires adding whatever little bits are needed so that the program will compile cleanly.  If you cannot get it to compile, you must provide a build log with explanation of the problem(s) you encountered.

Mark the tool as a no-install application, see src/libbn/CMakeLists.txt file for an example on how to do that (bntester).

Code:

  • src/fb/CMakeLists.txt
  • src/fb/fbthreadtest.c

Provide a patch of all your changes.