Sorting out CMake and SLD2

This commit is contained in:
Ben
2018-11-26 22:09:34 +00:00
parent 92d63e8308
commit 6cf2cd35e4
6 changed files with 221 additions and 0 deletions

6
src/header.h Normal file
View File

@@ -0,0 +1,6 @@
#pragma once
#include <iostream>
inline static void HelloWorld() {
std::cout << "Hello, world" << std::endl;
}

8
src/include/include.h Normal file
View File

@@ -0,0 +1,8 @@
#pragma once
class XD {
public:
void write(char* i) {
std::cout << i << std::endl;
}
};

10
src/main.cpp Normal file
View File

@@ -0,0 +1,10 @@
#include <iostream>
#include <include.h>
#include "header.h"
int main(int argc, char** argv) {
XD waattttt;
waattttt.write("Hellllooooooo guys");
HelloWorld();
}