$Id: new_feature.omh 2506 2012-10-24 19:36:49Z bradbell $ // BEGIN SHORT COPYRIGHT /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-06 Bradley M. Bell CppAD is distributed under multiple licenses. This distribution is under the terms of the Eclipse Public License Version 1.0. A copy of this license is included in the COPYING file of this distribution. Please visit http://www.coin-or.org/CppAD/ for information on other licenses. -------------------------------------------------------------------------- */ // END SHORT COPYRIGHT $begin NewFeature$$ $spell cppad.hpp CppAD Makefile Microsoft OMhelp cvs dsp nobase $$ $section Adding a New Feature to the CppAD Distribution$$ $head Overview$$ Suppose that you add a new feature to CppAD and the corresponding include file is $icode%Name%.h%$$. You should check each of the following steps: $list number$$ Add the new file $icode%Name%.h%$$ to the cvs repository. $lnext Add a test file called $codei%example/%Name%.cpp%$$ that check for correct results (and run the test to make sure it works). $lnext Add the new file $codei%example/%Name%.cpp%$$ to the cvs repository. $lnext Add a call to the new test in the file $code example/example.cpp$$. $lnext Add the file $icode%Name%.cpp%$$ to the list of $code Example_SOURCES$$ in the file $code example/Makefile.am$$. $lnext Add the file $icode%Name%.cpp%$$ to the list of source files corresponding to the Microsoft C++ project file $code example/Example.dsp$$. $lnext Add the file $icode%Name%.h%$$ to the list of $code nobase_include_HEADERS$$ in the file $code Makefile.am$$. $lnext Add the new feature to the OMhelp documentation tree. $lnext Add the new feature the cppad/cppad.hpp include tree. $lnext Mention the new feature in the WhatsNew file for the current year. $lend $end