aboutsummaryrefslogtreecommitdiff
path: root/include/CmakeModule.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-01-02 17:38:18 +0100
committerdec05eba <dec05eba@protonmail.com>2018-01-02 20:10:53 +0100
commit87a65f6913429b26e63fdee17cb8cfe93990db35 (patch)
treec2cfac67fc09f9c364869a107a140c34c5b73fd8 /include/CmakeModule.hpp
parente8afe1630280335e5c7f4938f7c265b8798049d1 (diff)
Add support for cmake
Not working fully yet, will investigate why
Diffstat (limited to 'include/CmakeModule.hpp')
-rw-r--r--include/CmakeModule.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/CmakeModule.hpp b/include/CmakeModule.hpp
new file mode 100644
index 0000000..0df4a2e
--- /dev/null
+++ b/include/CmakeModule.hpp
@@ -0,0 +1,13 @@
+#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);
+ };
+}