1#ifndef GPP_COMPILER_STRATEGY_H
2#define GPP_COMPILER_STRATEGY_H
53 void compile_run(
const std::string& sourceFile,
const std::string& outputBinary)
override;
67 void compile(
const std::string& sourceFile,
const std::string& outputBinary)
override;
Declares compilation strategies and utilities for executing shell commands.
Manages file and directory names for generated MARTY code and assets.
Abstract base class for compilation and run strategies.
std::string model
Model name.
std::string wilson
Wilson basis / label name.
Compilation strategy using the g++ compiler.
void compile(const std::string &sourceFile, const std::string &outputBinary) override
Compiles the given source file using g++ and links against MARTY.
void compile_run(const std::string &sourceFile, const std::string &outputBinary) override
Compiles if necessary and then runs the resulting binary.
GppCompilerStrategy(std::string model, std::string wilson)
Constructs a GppCompilerStrategy for a given (model, wilson) pair.