aboutsummaryrefslogtreecommitdiff
path: root/include/CmakeModule.hpp
blob: ad28f57d8f938c67a456de3d1674ae7cc9e84419 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include "Conf.hpp"
#include "Linker.hpp"

namespace sibs
{
    class CmakeModule
    {
    public:
        Result<bool> compile(const SibsConfig &config, const FileString &buildPath, LinkerFlagCallbackFunc staticLinkerFlagCallbackFunc, LinkerFlagCallbackFunc dynamicLinkerFlagCallbackFunc, GlobalIncludeDirCallbackFunc globalIncludeDirCallback);
        static void setCmakePath(const FileString &path);
    };
}