CMake structuring completed

This commit is contained in:
Suraxius committed 2020-12-03 21:17:08 +01:00
1 parent bb80f8fb93
commit 4106c67326
28 files changed
+74 -41

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
add_library(Core OBJECT)
target_sources(Core PRIVATE src)
target_include_directories(Core
PUBLIC include
PRIVATE src)
#add_library(EventBus OBJECT EventBus.cpp EventBus.hpp)
#target_link_libraries(Core INTERFACE EventBus)
# Assemble:
add_executable(Distrins src/main.cpp)
target_link_libraries(Distrins PRIVATE Core Storage Resolver API Cluster)
+6
View File
@@ -0,0 +1,6 @@
class EventBus {
public:
EventBus();
};
+1
View File
@@ -0,0 +1 @@
class Ledger;
View File
Whitespace-only changes.
+2
View File
@@ -0,0 +1,2 @@
# Provides an abstract class for resources that may be stored in the database
class Resource;
+10
View File
@@ -0,0 +1,10 @@
#ifndef #SERIALIZE_HPP
#define #SERIALIZE_HPP
#include <string>
using std::string;
class Serialize {
public:
virtual string Serialize() const = 0;
}
#endif
+3
View File
@@ -0,0 +1,3 @@
#include "EventBus.hpp"
EventBus::EventBus() {};
+15
View File
@@ -0,0 +1,15 @@
#include <iostream>
//#include "resolver/Resolver.hpp"
#include "EventBus.hpp"
int main(int args, char **argv) {
using std::cout;
using std::endl;
EventBus eventBus();
// Resolver resolver();
cout << "Hello there!" << endl;
return 0;
}