mirror of
https://github.com/eclipse-openvehicle-api/openvehicle-api.git
synced 2026-04-21 03:38:15 +00:00
30
sdv_executables/sdv_dbc_util/cmake_generator.h
Normal file
30
sdv_executables/sdv_dbc_util/cmake_generator.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user