feat(solver-bootstrap): step 1 — cmake-project-scaffold

This commit is contained in:
KOKO\Mimi
2026-07-30 00:46:22 +09:00
parent 4157ba2ff7
commit fc5493bd59
9 changed files with 187 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#include <fesa/core/version.hpp>
#include <iostream>
#include <string_view>
int main(int argc, char* argv[]) {
if (argc == 2 && std::string_view{argv[1]} == "--version") {
std::cout << fesa::version() << '\n';
return 0;
}
std::cerr << "Usage: fesa --version\n";
return 1;
}
+9
View File
@@ -0,0 +1,9 @@
#include <fesa/core/version.hpp>
namespace fesa {
std::string_view version() noexcept {
return "0.1.0";
}
}