From f99c9440506dcdd7c9c2fc304f0c185e41ef1156 Mon Sep 17 00:00:00 2001 From: Aaron Bedra Date: Sun, 24 Oct 2021 21:47:05 -0500 Subject: [PATCH] Reorg --- CMakeLists.txt | 2 +- README.md | 2 ++ include/simple_websocket.hpp => simple_websocket.hpp | 0 test/SimpleWebSocketTests.cpp | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 README.md rename include/simple_websocket.hpp => simple_websocket.hpp (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index e17a21c..b4cf5e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ project(simple_websocket) set(CMAKE_CXX_STANDARD 20) -add_library(simple_websocket include/simple_websocket.hpp) +add_library(simple_websocket simple_websocket.hpp) set_target_properties(simple_websocket PROPERTIES LINKER_LANGUAGE CXX) include(FetchContent) diff --git a/README.md b/README.md new file mode 100644 index 0000000..de9c854 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# Simple WebSocket + diff --git a/include/simple_websocket.hpp b/simple_websocket.hpp similarity index 100% rename from include/simple_websocket.hpp rename to simple_websocket.hpp diff --git a/test/SimpleWebSocketTests.cpp b/test/SimpleWebSocketTests.cpp index db9be51..f382727 100644 --- a/test/SimpleWebSocketTests.cpp +++ b/test/SimpleWebSocketTests.cpp @@ -1,7 +1,7 @@ #define CATCH_CONFIG_MAIN #include #include -#include "simple_websocket.hpp" +#include "../simple_websocket.hpp" struct TestFrameHandler final : SimpleWebSocket::FrameHandler { explicit TestFrameHandler(std::vector& messages) : messages_(messages) {}