aboutsummaryrefslogtreecommitdiff
path: root/include/Linker.hpp
blob: 59e39b32719903000e6568962e82091c34cacc5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef SIBS_LINKER_HPP
#define SIBS_LINKER_HPP

#include <functional>
#include <string>

namespace sibs
{
    using LinkerFlagCallbackFunc = std::function<void(const std::string&)>;
    using GlobalIncludeDirCallbackFunc = std::function<void(const std::string&)>;
    using CflagsCallbackFunc = std::function<void(const std::string&)>;

    bool is_gold_linker_installed();
    bool is_lld_linker_installed();
    bool is_mold_linker_installed();
}

#endif //SIBS_LINKER_HPP