From 727a2c5e76959526b4a1370265c94cf4267d2f15 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Mon, 5 Jul 2021 12:02:26 +0200 Subject: [PATCH] Create an include --- lib/CMakeLists.txt | 4 ++-- lib/{ => include}/Atlas.hpp | 0 lib/{ => include}/Board.hpp | 0 lib/{ => include}/Canvas.hpp | 0 lib/{ => include}/Direction.hpp | 0 lib/{ => include}/Game.hpp | 0 lib/{ => include}/Ghost.hpp | 0 lib/{ => include}/InputState.hpp | 0 lib/{ => include}/PacMan.hpp | 0 lib/{ => include}/PacManAnimation.hpp | 0 lib/{ => include}/Pellets.hpp | 0 lib/{ => include}/Position.hpp | 0 lib/{ => include}/Score.hpp | 0 lib/{ => include}/SuperPellets.hpp | 0 14 files changed, 2 insertions(+), 2 deletions(-) rename lib/{ => include}/Atlas.hpp (100%) rename lib/{ => include}/Board.hpp (100%) rename lib/{ => include}/Canvas.hpp (100%) rename lib/{ => include}/Direction.hpp (100%) rename lib/{ => include}/Game.hpp (100%) rename lib/{ => include}/Ghost.hpp (100%) rename lib/{ => include}/InputState.hpp (100%) rename lib/{ => include}/PacMan.hpp (100%) rename lib/{ => include}/PacManAnimation.hpp (100%) rename lib/{ => include}/Pellets.hpp (100%) rename lib/{ => include}/Position.hpp (100%) rename lib/{ => include}/Score.hpp (100%) rename lib/{ => include}/SuperPellets.hpp (100%) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index e313062..05f2d28 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -9,9 +9,9 @@ file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp") add_library(libpacman ${sources}) -target_include_directories(libpacman PUBLIC .) +target_include_directories(libpacman PUBLIC include) target_link_libraries(libpacman PUBLIC fmt::fmt sfml-graphics) if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux") target_link_libraries(libpacman PUBLIC OpenGL::OpenGL OpenGL::GLX) -endif () \ No newline at end of file +endif () diff --git a/lib/Atlas.hpp b/lib/include/Atlas.hpp similarity index 100% rename from lib/Atlas.hpp rename to lib/include/Atlas.hpp diff --git a/lib/Board.hpp b/lib/include/Board.hpp similarity index 100% rename from lib/Board.hpp rename to lib/include/Board.hpp diff --git a/lib/Canvas.hpp b/lib/include/Canvas.hpp similarity index 100% rename from lib/Canvas.hpp rename to lib/include/Canvas.hpp diff --git a/lib/Direction.hpp b/lib/include/Direction.hpp similarity index 100% rename from lib/Direction.hpp rename to lib/include/Direction.hpp diff --git a/lib/Game.hpp b/lib/include/Game.hpp similarity index 100% rename from lib/Game.hpp rename to lib/include/Game.hpp diff --git a/lib/Ghost.hpp b/lib/include/Ghost.hpp similarity index 100% rename from lib/Ghost.hpp rename to lib/include/Ghost.hpp diff --git a/lib/InputState.hpp b/lib/include/InputState.hpp similarity index 100% rename from lib/InputState.hpp rename to lib/include/InputState.hpp diff --git a/lib/PacMan.hpp b/lib/include/PacMan.hpp similarity index 100% rename from lib/PacMan.hpp rename to lib/include/PacMan.hpp diff --git a/lib/PacManAnimation.hpp b/lib/include/PacManAnimation.hpp similarity index 100% rename from lib/PacManAnimation.hpp rename to lib/include/PacManAnimation.hpp diff --git a/lib/Pellets.hpp b/lib/include/Pellets.hpp similarity index 100% rename from lib/Pellets.hpp rename to lib/include/Pellets.hpp diff --git a/lib/Position.hpp b/lib/include/Position.hpp similarity index 100% rename from lib/Position.hpp rename to lib/include/Position.hpp diff --git a/lib/Score.hpp b/lib/include/Score.hpp similarity index 100% rename from lib/Score.hpp rename to lib/include/Score.hpp diff --git a/lib/SuperPellets.hpp b/lib/include/SuperPellets.hpp similarity index 100% rename from lib/SuperPellets.hpp rename to lib/include/SuperPellets.hpp