mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-02-05 15:18:45 +00:00
30 lines
715 B
C
30 lines
715 B
C
|
|
#ifndef CMAKE_GENERATOR_H
|
||
|
|
#define CMAKE_GENERATOR_H
|
||
|
|
|
||
|
|
#include <filesystem>
|
||
|
|
#include <string>
|
||
|
|
#include "codegen_base.h"
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief CMake generator class.
|
||
|
|
*/
|
||
|
|
class CDbcUtilCMakeGenerator : public CCodeGeneratorBase
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
/**
|
||
|
|
* @brief Constructor
|
||
|
|
* @param[in] rpathOutputDir Reference to the outpur directory.
|
||
|
|
* @param[in] rssComponent Current component this CMake file is for.
|
||
|
|
*/
|
||
|
|
CDbcUtilCMakeGenerator(const std::filesystem::path& rpathOutputDir, const std::string& rssComponent);
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @brief Destructor
|
||
|
|
*/
|
||
|
|
virtual ~CDbcUtilCMakeGenerator();
|
||
|
|
|
||
|
|
private:
|
||
|
|
std::filesystem::path m_pathProject; ///< Project file path
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // !defined CMAKE_GENERATOR_H
|