[Doxygen-users] TODO Lists in CPP implementation files
Brought to you by:
dimitri
From: Allan M. <all...@in...> - 2001-11-29 20:13:17
|
Is there any way to get Doxygen to consider both the .h and .cpp files when building its to-do list? As an example, the code below contains \todo commands in both test.h and test.cpp. When I generate HTML on this code with Doxygen, the todo list contains the first \todo item, but not the one in the .cpp file. This behavior greatly reduces the utility of the Todo feature itself. Any ideas? Allan Metts -- Atlanta //---------test.h-------------- class TestClass { public: inline int GetValue() {return mValue;}; TestClass(){mValue = 42;}; int GetAnotherValue(); /// \todo THIS APPEARS IN THE T0-DO LIST protected: private: int mValue; }; //--------test.cpp-------------- #include <iostream> #include "test.h" int TestClass::GetAnotherValue() { return 43; }; int main (int argc, char* argv) { TestClass myTestClass; std::cout << myTestClass.GetValue() << std::endl; std::cout << myTestClass.GetAnotherValue() << std::endl; /// \todo DOXYGEN DOESN'T PICK THIS ITEM UP! }; |