From 4a7a29e9780bfb7d465d9ddfbb28e5ca37e39731 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 2 Oct 2020 19:59:27 +0200 Subject: [PATCH] Add missing CMakeLists.txt --- .gitignore | 1 - CMakeLists.txt | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 CMakeLists.txt diff --git a/.gitignore b/.gitignore index f7f27c1..f29a333 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,5 @@ lib/ *.bz2 libgui.layout obj/ -CMakeLists.txt cmake-build-debug/ .idea/ diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..60da6bb --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,41 @@ +cmake_minimum_required(VERSION 3.17) +project(libgui_sdl) + +set(CMAKE_CXX_STANDARD 20) + +include_directories(include) +include_directories(include/gui-sdl) + +add_library(gui-sdl + include/gui-sdl/gui/GuiButton.h + include/gui-sdl/gui/GuiController.h + include/gui-sdl/gui/GuiElement.h + include/gui-sdl/gui/GuiFrame.h + include/gui-sdl/gui/GuiImage.h + include/gui-sdl/gui/GuiSound.h + include/gui-sdl/gui/GuiText.h + include/gui-sdl/gui/GuiTextureData.h + include/gui-sdl/gui/GuiTrigger.h + include/gui-sdl/gui/sigslot.h + include/gui-sdl/gui/input/SDLController.h + include/gui-sdl/gui/input/SDLControllerMouse.h + include/gui-sdl/gui/input/SDLControllerWiiUGamepad.h + include/gui-sdl/gui/input/SDLControllerXboxOne.h + include/gui-sdl/gui/input/SDLControllerJoystick.h + include/gui-sdl/gui/input/SDLControllerWiiUProContoller.h + include/gui-sdl/gui/video/SDL_FontCache.h + include/gui-sdl/gui/video/Renderer.h + include/gui-sdl/gui/system/libgui_log.h + include/gui-sdl/gui/system/SDLSystem.h + source/gui/GuiButton.cpp + source/gui/GuiElement.cpp + source/gui/GuiFrame.cpp + source/gui/GuiImage.cpp + source/gui/GuiSound.cpp + source/gui/GuiText.cpp + source/gui/GuiTextureData.cpp + source/gui/GuiTrigger.cpp + source/gui/input/ControllerManager.cpp + source/gui/system/SDLSystem.cpp + source/gui/video/SDL_FontCache.cpp + ) \ No newline at end of file