From 0ec4ac7cd0beccacc67c3ba55f9f517f443e4cbb Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 28 Jul 2023 09:42:46 +0200 Subject: [PATCH] Added CMake and stuff for CLion --- src/.idea/.gitignore | 8 +++++++ src/.idea/codeStyles/codeStyleConfig.xml | 5 +++++ src/.idea/misc.xml | 4 ++++ src/.idea/modules.xml | 8 +++++++ src/.idea/src.iml | 8 +++++++ src/.idea/vcs.xml | 6 +++++ src/CMakeLists.txt | 28 ++++++++++++++++++++++++ 7 files changed, 67 insertions(+) create mode 100644 src/.idea/.gitignore create mode 100644 src/.idea/codeStyles/codeStyleConfig.xml create mode 100644 src/.idea/misc.xml create mode 100644 src/.idea/modules.xml create mode 100644 src/.idea/src.iml create mode 100644 src/.idea/vcs.xml create mode 100644 src/CMakeLists.txt diff --git a/src/.idea/.gitignore b/src/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/src/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/src/.idea/codeStyles/codeStyleConfig.xml b/src/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..a55e7a1 --- /dev/null +++ b/src/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/src/.idea/misc.xml b/src/.idea/misc.xml new file mode 100644 index 0000000..79b3c94 --- /dev/null +++ b/src/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/src/.idea/modules.xml b/src/.idea/modules.xml new file mode 100644 index 0000000..f669a0e --- /dev/null +++ b/src/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/src/.idea/src.iml b/src/.idea/src.iml new file mode 100644 index 0000000..bc2cd87 --- /dev/null +++ b/src/.idea/src.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/src/.idea/vcs.xml b/src/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/src/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 0000000..bacae39 --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,28 @@ +# cmake_minimum_required(VERSION ) +project(src) + +set(CMAKE_CXX_STANDARD 14) + +include_directories(Engine/exceptions) +include_directories(Engine/exceptions/shaders) +include_directories(Engine/images) +include_directories(Engine/mesh) +include_directories(Engine/shaders) +include_directories(Engine/textures) +include_directories(Engine/util) + +add_executable(src + Engine/exceptions/shaders/CreateProgramException.h + Engine/exceptions/shaders/ShaderCompileException.h + Engine/exceptions/IOException.h + Engine/images/awesomeface.png + Engine/images/container.jpg + Engine/images/wall.jpg + Engine/mesh/mesh.h + Engine/shaders/Enums.h + Engine/shaders/Shader.cpp + Engine/shaders/Shader.h + Engine/textures/Texture2D.h + Engine/util/stb_image.cpp + Engine/util/stb_image.h + Engine/main.cpp)