~ changing up a few includes

master^2
Johannes Theiner 3 years ago
parent e6354ba2c2
commit d00402f4b6

@ -18,7 +18,7 @@ set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_CLANG_TIDY clang-tidy;-header-filter=.;)
file(GLOB_RECURSE SOURCES src/*.cpp)
file(GLOB_RECURSE HEADERS src/*.h)
file(GLOB_RECURSE HEADERS src/*.hpp)
file(GLOB_RECURSE TESTS test/*.cpp)
include_directories(src)
include_directories(test)

@ -1,8 +1,8 @@
#include "../src/Terminal.hpp"
#include "internal.hpp"
#include "vkvm.hpp"
#include <iostream>
#include <unistd.h>
#include "internal.hpp"
#include "../src/Terminal.h"
int main() {

@ -1,10 +1,5 @@
//
// Created by yukun on 29.11.19.
//
#include <iostream>
#include <vector>
#include "vkvm.hpp"
#include "Terminal.h"
#include "Terminal.hpp"
std::string Terminal::getString() {
return s;

@ -1,11 +1,6 @@
//
// Created by yukun on 29.11.19.
//
#ifndef TERMINAL_TERMINAL_H
#define TERMINAL_TERMINAL_H
#include "vkvm.hpp"
#ifndef TERMINAL_TERMINAL_HPP
#define TERMINAL_TERMINAL_HPP
class Terminal {
public:
@ -25,4 +20,4 @@ private:
int status = 0;
char cursor = -127;
};
#endif //TERMINAL_TERMINAL_H
#endif //TERMINAL_TERMINAL_HPP

@ -1,4 +1,4 @@
#include "demo.h"
#include "demo.hpp"
int test() {
return 42;

@ -1,5 +1,5 @@
#include <catch2/catch.hpp>
#include "../src/demo.h"
#include "demo.hpp"
TEST_CASE("Demo test") {
REQUIRE(test() == 42);

Loading…
Cancel
Save