feat(parser): add platform-specific parsers and argument conventions
Implement platform-specific parsers for Windows, Linux, and macOS Add GNU argument convention implementations Create fake parser for testing purposes Update CMakeLists to include new headers
This commit is contained in:
20
include/parser/platform_headers/windows_parser.hpp
Normal file
20
include/parser/platform_headers/windows_parser.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#ifdef _WIN32
|
||||
#ifndef WINDOWS_PARSER_HPP
|
||||
|
||||
#include <argument_parser.hpp>
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
|
||||
namespace argument_parser {
|
||||
class windows_parser : public base_parser {
|
||||
public:
|
||||
windows_parser() {
|
||||
}
|
||||
};
|
||||
|
||||
using parser = windows_parser;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user