CMake structuring completed
This commit is contained in:
1 parent
bb80f8fb93
commit
4106c67326
28 files changed
+74
-41
No files matched your search
@@ -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)
|
||||
@@ -0,0 +1,6 @@
|
||||
class EventBus {
|
||||
public:
|
||||
EventBus();
|
||||
};
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
class Ledger;
|
||||
Whitespace-only changes.
@@ -0,0 +1,2 @@
|
||||
# Provides an abstract class for resources that may be stored in the database
|
||||
class Resource;
|
||||
@@ -0,0 +1,10 @@
|
||||
#ifndef #SERIALIZE_HPP
|
||||
#define #SERIALIZE_HPP
|
||||
#include <string>
|
||||
using std::string;
|
||||
|
||||
class Serialize {
|
||||
public:
|
||||
virtual string Serialize() const = 0;
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,3 @@
|
||||
#include "EventBus.hpp"
|
||||
|
||||
EventBus::EventBus() {};
|
||||
@@ -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;
|
||||
}
|
||||
Reference in new issue
Block a user