diff --git a/SDLU/CMakeLists.txt b/SDLU/CMakeLists.txt index 7756ad3..763596d 100644 --- a/SDLU/CMakeLists.txt +++ b/SDLU/CMakeLists.txt @@ -12,4 +12,5 @@ target_link_libraries(${PNAME} PRIVATE ${CMAKE_BINARY_DIR}/3rdparty/SDL/SDL2d.lib ) -add_subdirectory(structures) \ No newline at end of file +add_subdirectory(structures) +add_subdirectory(graphics) \ No newline at end of file diff --git a/SDLU/graphics/CMakeLists.txt b/SDLU/graphics/CMakeLists.txt new file mode 100644 index 0000000..5f1338f --- /dev/null +++ b/SDLU/graphics/CMakeLists.txt @@ -0,0 +1,4 @@ +target_sources(${PNAME} PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR}/RenderWindow.hpp + ${CMAKE_CURRENT_SOURCE_DIR}/RenderWindow.cpp +) \ No newline at end of file diff --git a/SDLU/graphics/RenderWindow.cpp b/SDLU/graphics/RenderWindow.cpp new file mode 100644 index 0000000..e69de29 diff --git a/SDLU/graphics/RenderWindow.hpp b/SDLU/graphics/RenderWindow.hpp new file mode 100644 index 0000000..7b9637e --- /dev/null +++ b/SDLU/graphics/RenderWindow.hpp @@ -0,0 +1 @@ +#pragma once \ No newline at end of file diff --git a/SDLU/structures/Vector2.hpp b/SDLU/structures/Vector2.hpp index cd5ccc4..f7ac172 100644 --- a/SDLU/structures/Vector2.hpp +++ b/SDLU/structures/Vector2.hpp @@ -4,7 +4,7 @@ * @author Lauchmelder23 * @date 16.05.2020 */ - +#pragma once #include namespace sdlu