-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCompilingLinking.hpp
More file actions
38 lines (32 loc) · 1.77 KB
/
Copy pathCompilingLinking.hpp
File metadata and controls
38 lines (32 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef RUNCPP2_COMPILING_LINKING_HPP
#define RUNCPP2_COMPILING_LINKING_HPP
#include "runcpp2/Data/Profile.hpp"
#include "runcpp2/Data/ScriptInfo.hpp"
#include "ghc/filesystem.hpp"
#include <string>
namespace runcpp2
{
bool CompileScriptOnly( const ghc::filesystem::path& buildDir,
const ghc::filesystem::path& scriptPath,
const std::vector<ghc::filesystem::path>& sourceFiles,
const std::vector<bool>& sourceHasCache,
const std::vector<ghc::filesystem::path>& includePaths,
const Data::ScriptInfo& scriptInfo,
const std::vector<Data::DependencyInfo*>& availableDependencies,
const Data::Profile& profile,
bool buildExecutable);
//TODO: Convert string paths to filesystem paths
bool CompileAndLinkScript( const ghc::filesystem::path& buildDir,
const ghc::filesystem::path& scriptPath,
const std::string& outputName,
const std::vector<ghc::filesystem::path>& sourceFiles,
const std::vector<bool>& sourceHasCache,
const std::vector<ghc::filesystem::path>& includePaths,
const Data::ScriptInfo& scriptInfo,
const std::vector<Data::DependencyInfo*>& availableDependencies,
const Data::Profile& profile,
const std::vector<std::string>& compiledObjectsPaths,
bool buildExecutable,
const std::string exeExt);
}
#endif