Add doxygen handling

This commit is contained in:
Solebull 2021-03-05 01:56:15 +01:00
parent 5efcbe542c
commit f53064700e
3 changed files with 2464 additions and 6 deletions

View File

@ -11,6 +11,11 @@ set(VERSION_MAJOR 1)
set(VERSION_MINOR 0) set(VERSION_MINOR 0)
set(VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}") set(VERSION_STRING "${VERSION_MAJOR}.${VERSION_MINOR}")
configure_file(
"${PROJECT_SOURCE_DIR}/Doxyfile.in"
"${PROJECT_BINARY_DIR}/Doxyfile"
)
# Stuff & Paths # Stuff & Paths
if(NOT CMAKE_BUILD_TYPE) if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FORCE) set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FORCE)

2452
Doxyfile.in Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,6 @@
#ifndef __FACTIONS_HPP__
#define __FACTIONS_HPP__
// The real added feature of this mapper : the factions mod handling // The real added feature of this mapper : the factions mod handling
// //
// //
@ -13,7 +16,6 @@ class Faction;
using namespace std; using namespace std;
#ifndef _FACTIONS_HPP_
/** The main factions handler /** The main factions handler
* *
@ -27,12 +29,11 @@ public:
protected: protected:
string luaTypeToStr(int) const; string luaTypeToStr(int) const;
void printLuaTable(lua_State *); void printLuaTable(lua_State *);
private: private:
/** The full path to the factions.conf file */ string factions_file_path; //!< The full path to the factions.conf file */
string factions_file_path; list<Faction*> factionList; //!< A list of discovered factions
list<Faction*> factionList;
}; };
#endif /* !_FACTIONS_HPP_ */ #endif /* !__FACTIONS_HPP__ */