aboutsummaryrefslogtreecommitdiff
path: root/include/Linker.hpp
blob: b2e64fe30863a46f4fbccdc2d2245c57a9f497f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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();
}

#endif //SIBS_LINKER_HPP