From 188575e4d2135b8b5be6a234225a1b78fdfbe7c2 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Thu, 25 Jan 2024 11:35:20 +0100 Subject: [PATCH 01/74] word selector added --- src/main/c/Hangman/word_selector.c | 37 ++++++++++++++++++++++++++++++ src/main/c/Hangman/word_selector.h | 16 +++++++++++++ src/main/c/main.c | 4 ++-- 3 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 src/main/c/Hangman/word_selector.c create mode 100644 src/main/c/Hangman/word_selector.h diff --git a/src/main/c/Hangman/word_selector.c b/src/main/c/Hangman/word_selector.c new file mode 100644 index 0000000..0375253 --- /dev/null +++ b/src/main/c/Hangman/word_selector.c @@ -0,0 +1,37 @@ +// +// Created by Saba Fazlali on 22.01.24. +// + +#include "word_selector.h" + +const char wordsList[NUM_WORDS][MAX_WORD_LENGTH + 1] = { + "skill", + "world", + "difference", + "celebration", + "association", + "customer", + "mood", + "agreement", + "audience", + "professor", + "year", + "dealer", + "patience", + "initiative", + "pollution", + "awareness", + "problem", + "vehicle", + "death", + "cousin" +}; + +const char* selectRandomWord() { + + // pick a random number and assign it to index of wordsList array + srand((unsigned int)time(NULL)); + int randomIndex = rand() % NUM_WORDS; + + return wordsList[randomIndex]; +} \ No newline at end of file diff --git a/src/main/c/Hangman/word_selector.h b/src/main/c/Hangman/word_selector.h new file mode 100644 index 0000000..9d5dd39 --- /dev/null +++ b/src/main/c/Hangman/word_selector.h @@ -0,0 +1,16 @@ +// +// Created by Saba Fazlali on 24.01.24. +// + +#ifndef PMUW_PROJEKT_NOTEBINDER_WORD_SELECTOR_H +#define PMUW_PROJEKT_NOTEBINDER_WORD_SELECTOR_H + +#include +#include +#include +#include + +#define MAX_WORD_LENGTH 20 +#define NUM_WORDS 20 + +#endif //PMUW_PROJEKT_NOTEBINDER_WORD_SELECTOR_H diff --git a/src/main/c/main.c b/src/main/c/main.c index eaf0b17..90f28f1 100644 --- a/src/main/c/main.c +++ b/src/main/c/main.c @@ -2,7 +2,7 @@ #include #include -#include "Template/game100.h" +//#include "Template/game100.h" int main(){ bool running = true; @@ -37,7 +37,7 @@ int main(){ //start_game4(); break; case 100: - start_game100(); + //start_game100(); break; case 6: system("clear"); From 88c3ec58f91a29a683bc324f4c5acb9f20b1b753 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Thu, 25 Jan 2024 11:37:07 +0100 Subject: [PATCH 02/74] word selector added --- .idea/.gitignore | 8 + .idea/misc.xml | 4 + .idea/modules.xml | 8 + .idea/pmuw_projekt_notebinder.iml | 2 + .idea/vcs.xml | 6 + CMakeLists.txt | 16 + .../.cmake/api/v1/query/cache-v2 | 0 .../.cmake/api/v1/query/cmakeFiles-v1 | 0 .../.cmake/api/v1/query/codemodel-v2 | 0 .../.cmake/api/v1/query/toolchains-v1 | 0 .../reply/cache-v2-797367ee73be0946ea69.json | 1051 +++++++++++++++++ .../cmakeFiles-v1-9ac3996b5bf98606de02.json | 117 ++ .../codemodel-v2-c6ffc0b664e1b12e7dfc.json | 60 + ...irectory-.-Debug-f5ebdc15457944623624.json | 14 + .../reply/index-2024-01-24T18-53-34-0975.json | 108 ++ ...notebinder-Debug-439d4177ec694957d283.json | 159 +++ .../toolchains-v1-e0f424cc4383644d699f.json | 37 + cmake-build-debug/.ninja_deps | Bin 0 -> 11160 bytes cmake-build-debug/.ninja_log | 10 + cmake-build-debug/CMakeCache.txt | 328 +++++ .../CMakeFiles/3.26.4/CMakeCCompiler.cmake | 72 ++ .../3.26.4/CMakeDetermineCompilerABI_C.bin | Bin 0 -> 17000 bytes .../CMakeFiles/3.26.4/CMakeSystem.cmake | 15 + .../3.26.4/CompilerIdC/CMakeCCompilerId.c | 866 ++++++++++++++ .../3.26.4/CompilerIdC/CMakeCCompilerId.o | Bin 0 -> 1712 bytes .../CMakeFiles/CMakeConfigureLog.yaml | 192 +++ .../CMakeFiles/TargetDirectories.txt | 3 + .../CMakeFiles/clion-Debug-log.txt | 10 + .../CMakeFiles/clion-environment.txt | 3 + .../CMakeFiles/cmake.check_cache | 1 + .../src/main/c/Hangman/word_selector.c.o | Bin 0 -> 3072 bytes .../src/main/c/Template/game100.c.o | Bin 0 -> 2688 bytes .../src/main/c/main.c.o | Bin 0 -> 3816 bytes .../test/Hangman/word_selector_test.c.o | Bin 0 -> 3840 bytes cmake-build-debug/CMakeFiles/rules.ninja | 64 + .../Testing/Temporary/LastTest.log | 3 + cmake-build-debug/build.ninja | 150 +++ cmake-build-debug/cmake_install.cmake | 49 + cmake-build-debug/pmuw_projekt_notebinder | Bin 0 -> 34520 bytes 39 files changed, 3356 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/pmuw_projekt_notebinder.iml create mode 100644 .idea/vcs.xml create mode 100644 CMakeLists.txt create mode 100644 cmake-build-debug/.cmake/api/v1/query/cache-v2 create mode 100644 cmake-build-debug/.cmake/api/v1/query/cmakeFiles-v1 create mode 100644 cmake-build-debug/.cmake/api/v1/query/codemodel-v2 create mode 100644 cmake-build-debug/.cmake/api/v1/query/toolchains-v1 create mode 100644 cmake-build-debug/.cmake/api/v1/reply/cache-v2-797367ee73be0946ea69.json create mode 100644 cmake-build-debug/.cmake/api/v1/reply/cmakeFiles-v1-9ac3996b5bf98606de02.json create mode 100644 cmake-build-debug/.cmake/api/v1/reply/codemodel-v2-c6ffc0b664e1b12e7dfc.json create mode 100644 cmake-build-debug/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json create mode 100644 cmake-build-debug/.cmake/api/v1/reply/index-2024-01-24T18-53-34-0975.json create mode 100644 cmake-build-debug/.cmake/api/v1/reply/target-pmuw_projekt_notebinder-Debug-439d4177ec694957d283.json create mode 100644 cmake-build-debug/.cmake/api/v1/reply/toolchains-v1-e0f424cc4383644d699f.json create mode 100644 cmake-build-debug/.ninja_deps create mode 100644 cmake-build-debug/.ninja_log create mode 100644 cmake-build-debug/CMakeCache.txt create mode 100644 cmake-build-debug/CMakeFiles/3.26.4/CMakeCCompiler.cmake create mode 100755 cmake-build-debug/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_C.bin create mode 100644 cmake-build-debug/CMakeFiles/3.26.4/CMakeSystem.cmake create mode 100644 cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.c create mode 100644 cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.o create mode 100644 cmake-build-debug/CMakeFiles/CMakeConfigureLog.yaml create mode 100644 cmake-build-debug/CMakeFiles/TargetDirectories.txt create mode 100644 cmake-build-debug/CMakeFiles/clion-Debug-log.txt create mode 100644 cmake-build-debug/CMakeFiles/clion-environment.txt create mode 100644 cmake-build-debug/CMakeFiles/cmake.check_cache create mode 100644 cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o create mode 100644 cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o create mode 100644 cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o create mode 100644 cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/test/Hangman/word_selector_test.c.o create mode 100644 cmake-build-debug/CMakeFiles/rules.ninja create mode 100644 cmake-build-debug/Testing/Temporary/LastTest.log create mode 100644 cmake-build-debug/build.ninja create mode 100644 cmake-build-debug/cmake_install.cmake create mode 100755 cmake-build-debug/pmuw_projekt_notebinder diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.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/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..79b3c94 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..8160237 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/pmuw_projekt_notebinder.iml b/.idea/pmuw_projekt_notebinder.iml new file mode 100644 index 0000000..f08604b --- /dev/null +++ b/.idea/pmuw_projekt_notebinder.iml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..55c5ea3 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,16 @@ +cmake_minimum_required(VERSION 3.26) +project(pmuw_projekt_notebinder C) + +set(CMAKE_C_STANDARD 11) + +include_directories(src/main/c) +include_directories(src/main/c/Hangman) +include_directories(src/main/c/Template) + +add_executable(pmuw_projekt_notebinder + + src/main/c/Hangman/word_selector.c + src/main/c/Hangman/word_selector.h + src/main/c/main.c + src/main/c/main.h + ) diff --git a/cmake-build-debug/.cmake/api/v1/query/cache-v2 b/cmake-build-debug/.cmake/api/v1/query/cache-v2 new file mode 100644 index 0000000..e69de29 diff --git a/cmake-build-debug/.cmake/api/v1/query/cmakeFiles-v1 b/cmake-build-debug/.cmake/api/v1/query/cmakeFiles-v1 new file mode 100644 index 0000000..e69de29 diff --git a/cmake-build-debug/.cmake/api/v1/query/codemodel-v2 b/cmake-build-debug/.cmake/api/v1/query/codemodel-v2 new file mode 100644 index 0000000..e69de29 diff --git a/cmake-build-debug/.cmake/api/v1/query/toolchains-v1 b/cmake-build-debug/.cmake/api/v1/query/toolchains-v1 new file mode 100644 index 0000000..e69de29 diff --git a/cmake-build-debug/.cmake/api/v1/reply/cache-v2-797367ee73be0946ea69.json b/cmake-build-debug/.cmake/api/v1/reply/cache-v2-797367ee73be0946ea69.json new file mode 100644 index 0000000..6598f26 --- /dev/null +++ b/cmake-build-debug/.cmake/api/v1/reply/cache-v2-797367ee73be0946ea69.json @@ -0,0 +1,1051 @@ +{ + "entries" : + [ + { + "name" : "CMAKE_ADDR2LINE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "CMAKE_ADDR2LINE-NOTFOUND" + }, + { + "name" : "CMAKE_AR", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/Library/Developer/CommandLineTools/usr/bin/ar" + }, + { + "name" : "CMAKE_BUILD_TYPE", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ..." + } + ], + "type" : "STRING", + "value" : "Debug" + }, + { + "name" : "CMAKE_CACHEFILE_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "This is the directory where this CMakeCache.txt was created" + } + ], + "type" : "INTERNAL", + "value" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug" + }, + { + "name" : "CMAKE_CACHE_MAJOR_VERSION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Major version of cmake used to create the current loaded cache" + } + ], + "type" : "INTERNAL", + "value" : "3" + }, + { + "name" : "CMAKE_CACHE_MINOR_VERSION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Minor version of cmake used to create the current loaded cache" + } + ], + "type" : "INTERNAL", + "value" : "26" + }, + { + "name" : "CMAKE_CACHE_PATCH_VERSION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Patch version of cmake used to create the current loaded cache" + } + ], + "type" : "INTERNAL", + "value" : "4" + }, + { + "name" : "CMAKE_COLOR_DIAGNOSTICS", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Enable colored diagnostics throughout." + } + ], + "type" : "BOOL", + "value" : "ON" + }, + { + "name" : "CMAKE_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to CMake executable." + } + ], + "type" : "INTERNAL", + "value" : "/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake" + }, + { + "name" : "CMAKE_CPACK_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to cpack program executable." + } + ], + "type" : "INTERNAL", + "value" : "/Applications/CLion.app/Contents/bin/cmake/mac/bin/cpack" + }, + { + "name" : "CMAKE_CTEST_COMMAND", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to ctest program executable." + } + ], + "type" : "INTERNAL", + "value" : "/Applications/CLion.app/Contents/bin/cmake/mac/bin/ctest" + }, + { + "name" : "CMAKE_C_COMPILER", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "C compiler" + } + ], + "type" : "FILEPATH", + "value" : "/Library/Developer/CommandLineTools/usr/bin/cc" + }, + { + "name" : "CMAKE_C_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_C_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "-g" + }, + { + "name" : "CMAKE_C_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "-Os -DNDEBUG" + }, + { + "name" : "CMAKE_C_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "-O3 -DNDEBUG" + }, + { + "name" : "CMAKE_C_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the C compiler during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "-O2 -g -DNDEBUG" + }, + { + "name" : "CMAKE_DLLTOOL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "CMAKE_DLLTOOL-NOTFOUND" + }, + { + "name" : "CMAKE_EXECUTABLE_FORMAT", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Executable file format" + } + ], + "type" : "INTERNAL", + "value" : "MACHO" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_EXPORT_COMPILE_COMMANDS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Enable/Disable output of compile commands during generation." + } + ], + "type" : "BOOL", + "value" : "" + }, + { + "name" : "CMAKE_EXTRA_GENERATOR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of external makefile project generator." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_FIND_PACKAGE_REDIRECTS_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake." + } + ], + "type" : "STATIC", + "value" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/pkgRedirects" + }, + { + "name" : "CMAKE_GENERATOR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of generator." + } + ], + "type" : "INTERNAL", + "value" : "Ninja" + }, + { + "name" : "CMAKE_GENERATOR_INSTANCE", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Generator instance identifier." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_GENERATOR_PLATFORM", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of generator platform." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_GENERATOR_TOOLSET", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Name of generator toolset." + } + ], + "type" : "INTERNAL", + "value" : "" + }, + { + "name" : "CMAKE_HOME_DIRECTORY", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Source directory with the top level CMakeLists.txt file for this project" + } + ], + "type" : "INTERNAL", + "value" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder" + }, + { + "name" : "CMAKE_INSTALL_NAME_TOOL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/usr/bin/install_name_tool" + }, + { + "name" : "CMAKE_INSTALL_PREFIX", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Install path prefix, prepended onto install directories." + } + ], + "type" : "PATH", + "value" : "/usr/local" + }, + { + "name" : "CMAKE_LINKER", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/Library/Developer/CommandLineTools/usr/bin/ld" + }, + { + "name" : "CMAKE_MAKE_PROGRAM", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "No help, variable specified on the command line." + } + ], + "type" : "UNINITIALIZED", + "value" : "/Applications/CLion.app/Contents/bin/ninja/mac/ninja" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of modules during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_NM", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/Library/Developer/CommandLineTools/usr/bin/nm" + }, + { + "name" : "CMAKE_NUMBER_OF_MAKEFILES", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "number of local generators" + } + ], + "type" : "INTERNAL", + "value" : "1" + }, + { + "name" : "CMAKE_OBJCOPY", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "CMAKE_OBJCOPY-NOTFOUND" + }, + { + "name" : "CMAKE_OBJDUMP", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/Library/Developer/CommandLineTools/usr/bin/objdump" + }, + { + "name" : "CMAKE_OSX_ARCHITECTURES", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Build architectures for OSX" + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_OSX_DEPLOYMENT_TARGET", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Minimum OS X version to target for deployment (at runtime); newer APIs weak linked. Set to empty string for default value." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_OSX_SYSROOT", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "The product will be built against the headers and libraries located inside the indicated SDK." + } + ], + "type" : "PATH", + "value" : "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk" + }, + { + "name" : "CMAKE_PLATFORM_INFO_INITIALIZED", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Platform information initialized" + } + ], + "type" : "INTERNAL", + "value" : "1" + }, + { + "name" : "CMAKE_PROJECT_DESCRIPTION", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "" + }, + { + "name" : "CMAKE_PROJECT_HOMEPAGE_URL", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "" + }, + { + "name" : "CMAKE_PROJECT_NAME", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "pmuw_projekt_notebinder" + }, + { + "name" : "CMAKE_RANLIB", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/Library/Developer/CommandLineTools/usr/bin/ranlib" + }, + { + "name" : "CMAKE_READELF", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "CMAKE_READELF-NOTFOUND" + }, + { + "name" : "CMAKE_ROOT", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Path to CMake installation." + } + ], + "type" : "INTERNAL", + "value" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of shared libraries during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_SKIP_INSTALL_RPATH", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "If set, runtime paths are not added when installing shared libraries, but are added when building." + } + ], + "type" : "BOOL", + "value" : "NO" + }, + { + "name" : "CMAKE_SKIP_RPATH", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "If set, runtime paths are not added when using shared libraries." + } + ], + "type" : "BOOL", + "value" : "NO" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during all build types." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_DEBUG", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during DEBUG builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during MINSIZEREL builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_RELEASE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during RELEASE builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Flags used by the linker during the creation of static libraries during RELWITHDEBINFO builds." + } + ], + "type" : "STRING", + "value" : "" + }, + { + "name" : "CMAKE_STRIP", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "Path to a program." + } + ], + "type" : "FILEPATH", + "value" : "/Library/Developer/CommandLineTools/usr/bin/strip" + }, + { + "name" : "CMAKE_UNAME", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "uname command" + } + ], + "type" : "INTERNAL", + "value" : "/usr/bin/uname" + }, + { + "name" : "CMAKE_VERBOSE_MAKEFILE", + "properties" : + [ + { + "name" : "ADVANCED", + "value" : "1" + }, + { + "name" : "HELPSTRING", + "value" : "If this value is on, makefiles will be generated without the .SILENT directive, and all commands will be echoed to the console during the make. This is useful for debugging only. With Visual Studio IDE projects all commands are done without /nologo." + } + ], + "type" : "BOOL", + "value" : "FALSE" + }, + { + "name" : "pmuw_projekt_notebinder_BINARY_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug" + }, + { + "name" : "pmuw_projekt_notebinder_IS_TOP_LEVEL", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "ON" + }, + { + "name" : "pmuw_projekt_notebinder_SOURCE_DIR", + "properties" : + [ + { + "name" : "HELPSTRING", + "value" : "Value Computed by CMake" + } + ], + "type" : "STATIC", + "value" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder" + } + ], + "kind" : "cache", + "version" : + { + "major" : 2, + "minor" : 0 + } +} diff --git a/cmake-build-debug/.cmake/api/v1/reply/cmakeFiles-v1-9ac3996b5bf98606de02.json b/cmake-build-debug/.cmake/api/v1/reply/cmakeFiles-v1-9ac3996b5bf98606de02.json new file mode 100644 index 0000000..511136f --- /dev/null +++ b/cmake-build-debug/.cmake/api/v1/reply/cmakeFiles-v1-9ac3996b5bf98606de02.json @@ -0,0 +1,117 @@ +{ + "inputs" : + [ + { + "path" : "CMakeLists.txt" + }, + { + "isGenerated" : true, + "path" : "cmake-build-debug/CMakeFiles/3.26.4/CMakeSystem.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeSystemSpecificInitialize.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Darwin-Initialize.cmake" + }, + { + "isGenerated" : true, + "path" : "cmake-build-debug/CMakeFiles/3.26.4/CMakeCCompiler.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeSystemSpecificInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeGenericSystem.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeInitializeConfigs.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Darwin.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/UnixPaths.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeLanguageInformation.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/AppleClang-C.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/Clang.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/CMakeCommonCompilerMacros.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/GNU.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/CMakeCommonCompilerMacros.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Apple-AppleClang-C.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Apple-Clang-C.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Apple-Clang.cmake" + }, + { + "isCMake" : true, + "isExternal" : true, + "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCommonLanguageInclude.cmake" + } + ], + "kind" : "cmakeFiles", + "paths" : + { + "build" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug", + "source" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder" + }, + "version" : + { + "major" : 1, + "minor" : 0 + } +} diff --git a/cmake-build-debug/.cmake/api/v1/reply/codemodel-v2-c6ffc0b664e1b12e7dfc.json b/cmake-build-debug/.cmake/api/v1/reply/codemodel-v2-c6ffc0b664e1b12e7dfc.json new file mode 100644 index 0000000..a13cb3d --- /dev/null +++ b/cmake-build-debug/.cmake/api/v1/reply/codemodel-v2-c6ffc0b664e1b12e7dfc.json @@ -0,0 +1,60 @@ +{ + "configurations" : + [ + { + "directories" : + [ + { + "build" : ".", + "jsonFile" : "directory-.-Debug-f5ebdc15457944623624.json", + "minimumCMakeVersion" : + { + "string" : "3.26" + }, + "projectIndex" : 0, + "source" : ".", + "targetIndexes" : + [ + 0 + ] + } + ], + "name" : "Debug", + "projects" : + [ + { + "directoryIndexes" : + [ + 0 + ], + "name" : "pmuw_projekt_notebinder", + "targetIndexes" : + [ + 0 + ] + } + ], + "targets" : + [ + { + "directoryIndex" : 0, + "id" : "pmuw_projekt_notebinder::@6890427a1f51a3e7e1df", + "jsonFile" : "target-pmuw_projekt_notebinder-Debug-439d4177ec694957d283.json", + "name" : "pmuw_projekt_notebinder", + "projectIndex" : 0 + } + ] + } + ], + "kind" : "codemodel", + "paths" : + { + "build" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug", + "source" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder" + }, + "version" : + { + "major" : 2, + "minor" : 5 + } +} diff --git a/cmake-build-debug/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json b/cmake-build-debug/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json new file mode 100644 index 0000000..3a67af9 --- /dev/null +++ b/cmake-build-debug/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json @@ -0,0 +1,14 @@ +{ + "backtraceGraph" : + { + "commands" : [], + "files" : [], + "nodes" : [] + }, + "installers" : [], + "paths" : + { + "build" : ".", + "source" : "." + } +} diff --git a/cmake-build-debug/.cmake/api/v1/reply/index-2024-01-24T18-53-34-0975.json b/cmake-build-debug/.cmake/api/v1/reply/index-2024-01-24T18-53-34-0975.json new file mode 100644 index 0000000..21c2ccd --- /dev/null +++ b/cmake-build-debug/.cmake/api/v1/reply/index-2024-01-24T18-53-34-0975.json @@ -0,0 +1,108 @@ +{ + "cmake" : + { + "generator" : + { + "multiConfig" : false, + "name" : "Ninja" + }, + "paths" : + { + "cmake" : "/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake", + "cpack" : "/Applications/CLion.app/Contents/bin/cmake/mac/bin/cpack", + "ctest" : "/Applications/CLion.app/Contents/bin/cmake/mac/bin/ctest", + "root" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26" + }, + "version" : + { + "isDirty" : false, + "major" : 3, + "minor" : 26, + "patch" : 4, + "string" : "3.26.4", + "suffix" : "" + } + }, + "objects" : + [ + { + "jsonFile" : "codemodel-v2-c6ffc0b664e1b12e7dfc.json", + "kind" : "codemodel", + "version" : + { + "major" : 2, + "minor" : 5 + } + }, + { + "jsonFile" : "cache-v2-797367ee73be0946ea69.json", + "kind" : "cache", + "version" : + { + "major" : 2, + "minor" : 0 + } + }, + { + "jsonFile" : "cmakeFiles-v1-9ac3996b5bf98606de02.json", + "kind" : "cmakeFiles", + "version" : + { + "major" : 1, + "minor" : 0 + } + }, + { + "jsonFile" : "toolchains-v1-e0f424cc4383644d699f.json", + "kind" : "toolchains", + "version" : + { + "major" : 1, + "minor" : 0 + } + } + ], + "reply" : + { + "cache-v2" : + { + "jsonFile" : "cache-v2-797367ee73be0946ea69.json", + "kind" : "cache", + "version" : + { + "major" : 2, + "minor" : 0 + } + }, + "cmakeFiles-v1" : + { + "jsonFile" : "cmakeFiles-v1-9ac3996b5bf98606de02.json", + "kind" : "cmakeFiles", + "version" : + { + "major" : 1, + "minor" : 0 + } + }, + "codemodel-v2" : + { + "jsonFile" : "codemodel-v2-c6ffc0b664e1b12e7dfc.json", + "kind" : "codemodel", + "version" : + { + "major" : 2, + "minor" : 5 + } + }, + "toolchains-v1" : + { + "jsonFile" : "toolchains-v1-e0f424cc4383644d699f.json", + "kind" : "toolchains", + "version" : + { + "major" : 1, + "minor" : 0 + } + } + } +} diff --git a/cmake-build-debug/.cmake/api/v1/reply/target-pmuw_projekt_notebinder-Debug-439d4177ec694957d283.json b/cmake-build-debug/.cmake/api/v1/reply/target-pmuw_projekt_notebinder-Debug-439d4177ec694957d283.json new file mode 100644 index 0000000..b84f699 --- /dev/null +++ b/cmake-build-debug/.cmake/api/v1/reply/target-pmuw_projekt_notebinder-Debug-439d4177ec694957d283.json @@ -0,0 +1,159 @@ +{ + "artifacts" : + [ + { + "path" : "pmuw_projekt_notebinder" + } + ], + "backtrace" : 1, + "backtraceGraph" : + { + "commands" : + [ + "add_executable", + "include_directories" + ], + "files" : + [ + "CMakeLists.txt" + ], + "nodes" : + [ + { + "file" : 0 + }, + { + "command" : 0, + "file" : 0, + "line" : 10, + "parent" : 0 + }, + { + "command" : 1, + "file" : 0, + "line" : 6, + "parent" : 0 + }, + { + "command" : 1, + "file" : 0, + "line" : 7, + "parent" : 0 + }, + { + "command" : 1, + "file" : 0, + "line" : 8, + "parent" : 0 + } + ] + }, + "compileGroups" : + [ + { + "compileCommandFragments" : + [ + { + "fragment" : "-g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics" + } + ], + "includes" : + [ + { + "backtrace" : 2, + "path" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c" + }, + { + "backtrace" : 3, + "path" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman" + }, + { + "backtrace" : 4, + "path" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template" + } + ], + "language" : "C", + "languageStandard" : + { + "backtraces" : + [ + 1 + ], + "standard" : "11" + }, + "sourceIndexes" : + [ + 0, + 2 + ] + } + ], + "id" : "pmuw_projekt_notebinder::@6890427a1f51a3e7e1df", + "link" : + { + "commandFragments" : + [ + { + "fragment" : "-g", + "role" : "flags" + }, + { + "fragment" : "", + "role" : "flags" + } + ], + "language" : "C" + }, + "name" : "pmuw_projekt_notebinder", + "nameOnDisk" : "pmuw_projekt_notebinder", + "paths" : + { + "build" : ".", + "source" : "." + }, + "sourceGroups" : + [ + { + "name" : "Source Files", + "sourceIndexes" : + [ + 0, + 2 + ] + }, + { + "name" : "Header Files", + "sourceIndexes" : + [ + 1, + 3 + ] + } + ], + "sources" : + [ + { + "backtrace" : 1, + "compileGroupIndex" : 0, + "path" : "src/main/c/Hangman/word_selector.c", + "sourceGroupIndex" : 0 + }, + { + "backtrace" : 1, + "path" : "src/main/c/Hangman/word_selector.h", + "sourceGroupIndex" : 1 + }, + { + "backtrace" : 1, + "compileGroupIndex" : 0, + "path" : "src/main/c/main.c", + "sourceGroupIndex" : 0 + }, + { + "backtrace" : 1, + "path" : "src/main/c/main.h", + "sourceGroupIndex" : 1 + } + ], + "type" : "EXECUTABLE" +} diff --git a/cmake-build-debug/.cmake/api/v1/reply/toolchains-v1-e0f424cc4383644d699f.json b/cmake-build-debug/.cmake/api/v1/reply/toolchains-v1-e0f424cc4383644d699f.json new file mode 100644 index 0000000..4cbd4c7 --- /dev/null +++ b/cmake-build-debug/.cmake/api/v1/reply/toolchains-v1-e0f424cc4383644d699f.json @@ -0,0 +1,37 @@ +{ + "kind" : "toolchains", + "toolchains" : + [ + { + "compiler" : + { + "id" : "AppleClang", + "implicit" : + { + "includeDirectories" : + [ + "/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include", + "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include", + "/Library/Developer/CommandLineTools/usr/include" + ], + "linkDirectories" : [], + "linkFrameworkDirectories" : [], + "linkLibraries" : [] + }, + "path" : "/Library/Developer/CommandLineTools/usr/bin/cc", + "version" : "15.0.0.15000100" + }, + "language" : "C", + "sourceFileExtensions" : + [ + "c", + "m" + ] + } + ], + "version" : + { + "major" : 1, + "minor" : 0 + } +} diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps new file mode 100644 index 0000000000000000000000000000000000000000..6c9cd667e0ac75eb9e3472fe5dfca889d2226340 GIT binary patch literal 11160 zcmeI2_j6T66vr1ksE7p-6-BXOd7IG0f&xJd5)2wZRPbhV?~-?Ux6R%A65>z%;IGd3 z7btc`v7p#{?_KP@V?#kf#q!;~cOhnoNhZ59{*cUkX5LI@zGwHGvuDrQ_r{El{Aelj zcp`@ELXcAW2og|Hy@=E4JamHKx$m40r^HVBPmxj!bs7vSZFbP=3 zX)6nPZB0$dEyaZVjlX%&qw@t%1r@A?(Ygjdj^;{1H|tjZzop4v(48xF8~m1(r5$tz zZ{tCn@RZiYVaOt{!H@X7I1U7DnlW3@Im~TrT39=wG_EAP3ayHi`jHz{Jx)dD`EjXC z{xqoR6rx-7{!Og2Lr~Y_O9a;X2XvcF?H{_1=m=Zlz+r*UgderS1o<5{Jd-w(Soq5v z*2esRwfKRbbx1ShH`rNd$j-Db;+qZnsk8P1WHYi@hJtLeWMfv8@ibzAwDGIKSajZp zw$Z>_nTv4z0z0P8m6LTO93I*TO;rO7odK=80lKF0CS-0I1%qnspAD{=rQufHpP(yq z-bme&=Qhd8DQDi+4|)Tzu^zUXP1;iNq)r=i0$*h6?EYvW21VMC9}LGp>wXX2MHc+x zN7-ZtZu!oV-=SYSNgBY~zqMy${J6r#I(s%IO(<-9W64I<(a|8}YnwKTh2$Y-!&_sU`iW8mRmJ6X=_~Gj)&qu_fON z&MS`KsyKaQaP5wZ9w_uZS@b@Hu8o++OO~j_{J@rPbkd-1zYiOxdKSUmYKoRc$M!u7 z+AfBvI4YIjh4uYx9jXQ%~z^-67Fc=I0yMsNzo?s~0 z3k(B$gMGlhU_US%><>nO1HeddAUFsd3`T)Nz@cC?I1C&P#(*Qhkzgw5`|K)5*nD1n z2m7ptM!)9OT#mdAEmOTTVjTD_rSexS3Ok|f|P@#7>@v*T;fH&qYx45QcnszIN~8Aj{AV$dgg%}(gX722Y$Lm)yIEpN-;ynxNf6=gisM^Ff{THAwX8;p>5Zj$0S*Cln z=V8m}8&EMrB9~Z@iHx}wHP1X}FfM9Og`MiQv?9-1vVpyz^T~VLXJErd9jz9H?rG?o zsu$8vDHm}yb-4_}Q_$}1eI?&daUoGRU{Ncromi?V)%@#0HB#3Kd9n|hy?LjVvQHTF zasFIF9XUIw;T`AdaZCDocz?{2z8>5kwWP0y_D3w}!~G#!mY<=AE$GYmY6A~J-_#w@ zxz=QU$lLPgTJj)lm^!EWis6yxGxXvQK-*LgD6bZ+d%wXoE5B%AoT>W^`W$tqf`@VH zG&W7|$arHazl}oux)(M~-BsF#^iLNv%SYiy{*4J)k+owvCB&3yA1lh zbFRCYlU5`36hhX(hK)N<8@SWb9@^b9E1smt9k5~Uyh`U&CsaWwl~)^Ff3B&u)$OJF zr`s*Xz~gPIDBosDKa4$JyMj63Y|sc~yw3sW7N7h6Zc~ru6W{gI z_Bi$M`WWB`1#zk#a&AV9)Oqet?7NY_$)0w3CA52c4tlx+WIrO$!Hv*thL4TSi^Xi^ zqRLhBmW|v18#e9$xd&s%eW)|mB0C4p>w3q zcSVo#|Zr=SO$>&^2%L8LTgQv@Pq#)=nSj(fZY+={h%M V@$kWyUN%tY`qT4v&DZYo`X4dxzp4NL literal 0 HcmV?d00001 diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log new file mode 100644 index 0000000..8ff0b30 --- /dev/null +++ b/cmake-build-debug/.ninja_log @@ -0,0 +1,10 @@ +# ninja log v5 +1 38 1706122217155672196 CMakeFiles/pmuw_projekt_notebinder.dir/test/Hangman/word_selector_test.c.o e932f546d59a9d76 +1 38 1706122217155215603 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 +1 38 1706122372717341436 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d +0 40 1706122414971396759 build.ninja f2183aada2fc9ffc +1 44 1706122039878920765 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o 69a5bcd8c57a43b3 +0 40 1706122414971396759 build.ninja f2183aada2fc9ffc +1 28 1706122415002971947 pmuw_projekt_notebinder d4d2c5136dd5469e +2 168 1706178769260469565 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 +168 257 1706178769348509184 pmuw_projekt_notebinder d4d2c5136dd5469e diff --git a/cmake-build-debug/CMakeCache.txt b/cmake-build-debug/CMakeCache.txt new file mode 100644 index 0000000..7718973 --- /dev/null +++ b/cmake-build-debug/CMakeCache.txt @@ -0,0 +1,328 @@ +# This is the CMakeCache file. +# For build in directory: /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug +# It was generated by CMake: /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + +//Path to a program. +CMAKE_ADDR2LINE:FILEPATH=CMAKE_ADDR2LINE-NOTFOUND + +//Path to a program. +CMAKE_AR:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ar + +//Choose the type of build, options are: None Debug Release RelWithDebInfo +// MinSizeRel ... +CMAKE_BUILD_TYPE:STRING=Debug + +//Enable colored diagnostics throughout. +CMAKE_COLOR_DIAGNOSTICS:BOOL=ON + +//C compiler +CMAKE_C_COMPILER:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/cc + +//Flags used by the C compiler during all build types. +CMAKE_C_FLAGS:STRING= + +//Flags used by the C compiler during DEBUG builds. +CMAKE_C_FLAGS_DEBUG:STRING=-g + +//Flags used by the C compiler during MINSIZEREL builds. +CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the C compiler during RELEASE builds. +CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the C compiler during RELWITHDEBINFO builds. +CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//Path to a program. +CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND + +//Flags used by the linker during all build types. +CMAKE_EXE_LINKER_FLAGS:STRING= + +//Flags used by the linker during DEBUG builds. +CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during MINSIZEREL builds. +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during RELEASE builds. +CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during RELWITHDEBINFO builds. +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Enable/Disable output of compile commands during generation. +CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= + +//Value Computed by CMake. +CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/pkgRedirects + +//Path to a program. +CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool + +//Install path prefix, prepended onto install directories. +CMAKE_INSTALL_PREFIX:PATH=/usr/local + +//Path to a program. +CMAKE_LINKER:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ld + +//No help, variable specified on the command line. +CMAKE_MAKE_PROGRAM:UNINITIALIZED=/Applications/CLion.app/Contents/bin/ninja/mac/ninja + +//Flags used by the linker during the creation of modules during +// all build types. +CMAKE_MODULE_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of modules during +// DEBUG builds. +CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of modules during +// MINSIZEREL builds. +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of modules during +// RELEASE builds. +CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of modules during +// RELWITHDEBINFO builds. +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_NM:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/nm + +//Path to a program. +CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND + +//Path to a program. +CMAKE_OBJDUMP:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/objdump + +//Build architectures for OSX +CMAKE_OSX_ARCHITECTURES:STRING= + +//Minimum OS X version to target for deployment (at runtime); newer +// APIs weak linked. Set to empty string for default value. +CMAKE_OSX_DEPLOYMENT_TARGET:STRING= + +//The product will be built against the headers and libraries located +// inside the indicated SDK. +CMAKE_OSX_SYSROOT:PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk + +//Value Computed by CMake +CMAKE_PROJECT_DESCRIPTION:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_HOMEPAGE_URL:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=pmuw_projekt_notebinder + +//Path to a program. +CMAKE_RANLIB:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ranlib + +//Path to a program. +CMAKE_READELF:FILEPATH=CMAKE_READELF-NOTFOUND + +//Flags used by the linker during the creation of shared libraries +// during all build types. +CMAKE_SHARED_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of shared libraries +// during DEBUG builds. +CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of shared libraries +// during MINSIZEREL builds. +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of shared libraries +// during RELEASE builds. +CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of shared libraries +// during RELWITHDEBINFO builds. +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//If set, runtime paths are not added when installing shared libraries, +// but are added when building. +CMAKE_SKIP_INSTALL_RPATH:BOOL=NO + +//If set, runtime paths are not added when using shared libraries. +CMAKE_SKIP_RPATH:BOOL=NO + +//Flags used by the linker during the creation of static libraries +// during all build types. +CMAKE_STATIC_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of static libraries +// during DEBUG builds. +CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of static libraries +// during MINSIZEREL builds. +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of static libraries +// during RELEASE builds. +CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of static libraries +// during RELWITHDEBINFO builds. +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_STRIP:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/strip + +//If this value is on, makefiles will be generated without the +// .SILENT directive, and all commands will be echoed to the console +// during the make. This is useful for debugging only. With Visual +// Studio IDE projects all commands are done without /nologo. +CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE + +//Value Computed by CMake +pmuw_projekt_notebinder_BINARY_DIR:STATIC=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug + +//Value Computed by CMake +pmuw_projekt_notebinder_IS_TOP_LEVEL:STATIC=ON + +//Value Computed by CMake +pmuw_projekt_notebinder_SOURCE_DIR:STATIC=/Users/saba/CLionProjects/pmuw_projekt_notebinder + + +######################## +# INTERNAL cache entries +######################## + +//ADVANCED property for variable: CMAKE_ADDR2LINE +CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_AR +CMAKE_AR-ADVANCED:INTERNAL=1 +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=26 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=4 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/bin/ctest +//ADVANCED property for variable: CMAKE_C_COMPILER +CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS +CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG +CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL +CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE +CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO +CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_DLLTOOL +CMAKE_DLLTOOL-ADVANCED:INTERNAL=1 +//Executable file format +CMAKE_EXECUTABLE_FORMAT:INTERNAL=MACHO +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS +CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG +CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE +CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS +CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 +//Name of external makefile project generator. +CMAKE_EXTRA_GENERATOR:INTERNAL= +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Ninja +//Generator instance identifier. +CMAKE_GENERATOR_INSTANCE:INTERNAL= +//Name of generator platform. +CMAKE_GENERATOR_PLATFORM:INTERNAL= +//Name of generator toolset. +CMAKE_GENERATOR_TOOLSET:INTERNAL= +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/Users/saba/CLionProjects/pmuw_projekt_notebinder +//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL +CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_LINKER +CMAKE_LINKER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS +CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG +CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE +CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_NM +CMAKE_NM-ADVANCED:INTERNAL=1 +//number of local generators +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJCOPY +CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJDUMP +CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 +//Platform information initialized +CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RANLIB +CMAKE_RANLIB-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_READELF +CMAKE_READELF-ADVANCED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS +CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG +CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE +CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH +CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_RPATH +CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS +CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG +CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE +CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STRIP +CMAKE_STRIP-ADVANCED:INTERNAL=1 +//uname command +CMAKE_UNAME:INTERNAL=/usr/bin/uname +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 + diff --git a/cmake-build-debug/CMakeFiles/3.26.4/CMakeCCompiler.cmake b/cmake-build-debug/CMakeFiles/3.26.4/CMakeCCompiler.cmake new file mode 100644 index 0000000..57ab031 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/3.26.4/CMakeCCompiler.cmake @@ -0,0 +1,72 @@ +set(CMAKE_C_COMPILER "/Library/Developer/CommandLineTools/usr/bin/cc") +set(CMAKE_C_COMPILER_ARG1 "") +set(CMAKE_C_COMPILER_ID "AppleClang") +set(CMAKE_C_COMPILER_VERSION "15.0.0.15000100") +set(CMAKE_C_COMPILER_VERSION_INTERNAL "") +set(CMAKE_C_COMPILER_WRAPPER "") +set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17") +set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON") +set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17;c_std_23") +set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") +set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") +set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") +set(CMAKE_C17_COMPILE_FEATURES "c_std_17") +set(CMAKE_C23_COMPILE_FEATURES "c_std_23") + +set(CMAKE_C_PLATFORM_ID "Darwin") +set(CMAKE_C_SIMULATE_ID "") +set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU") +set(CMAKE_C_SIMULATE_VERSION "") + + + + +set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar") +set(CMAKE_C_COMPILER_AR "") +set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib") +set(CMAKE_C_COMPILER_RANLIB "") +set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld") +set(CMAKE_MT "") +set(CMAKE_COMPILER_IS_GNUCC ) +set(CMAKE_C_COMPILER_LOADED 1) +set(CMAKE_C_COMPILER_WORKS TRUE) +set(CMAKE_C_ABI_COMPILED TRUE) + +set(CMAKE_C_COMPILER_ENV_VAR "CC") + +set(CMAKE_C_COMPILER_ID_RUN 1) +set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) +set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) +set(CMAKE_C_LINKER_PREFERENCE 10) + +# Save compiler ABI information. +set(CMAKE_C_SIZEOF_DATA_PTR "8") +set(CMAKE_C_COMPILER_ABI "") +set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN") +set(CMAKE_C_LIBRARY_ARCHITECTURE "") + +if(CMAKE_C_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_C_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") +endif() + +if(CMAKE_C_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "") +endif() + +set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include;/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include;/Library/Developer/CommandLineTools/usr/include") +set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") +set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") +set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/cmake-build-debug/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_C.bin b/cmake-build-debug/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_C.bin new file mode 100755 index 0000000000000000000000000000000000000000..d0263cc2b452862d9a24f33016cfc32225bfe328 GIT binary patch literal 17000 zcmeI4Uuau(6vuxzX`v-u8|S8uDrOAkpN_WvX$^(NWNW%cyQI}TgcbLrNp9@jnxv#D zHe+f*id`#WnLcfAgU!muhHRBEhV`W)B3s9BTLq2cLyPzz6^k7#e$UOl?TrxypU;7F zf4_6i?|1GwpPSc{>+8SXuM;6LPlB}CqG(Jz;~ zDlE$5#z85={z$kytl#&R`-EXv!%d2kbdfTvj%5u4%ir@AJf&vLBV_ z8B3=|%+rSO<+{#MJs-o)==AzAbTeV|mW7-LUEV(zQpRldy^R9jwDx9nfAV z37sLOZ$W4NkJRIm3yR;IXc-;JvCh2`~XBzyz286JP>NfC(@G zCcp%k025#WOn?b60Vco%m;e)C0!)AjFaajO1egF5U;<2l2`~XBzyz286JP>NfC(@G zCcp%k025#WOn?b60Vco%m;e)C0!)AjSO^r~5sSsgMZVA|@;^GnpT!1|UuhiAV}|#G zn!dd=wc3h%xxt&SQEDB_*4Qj!Ic@A8V>>++u>x}7T{H7``E4NB73vt#j;ZN{j1Ols z{jKiTga`&gUD1wgPO6!-8t=~p_Q?Z5f1oqy6Nu_}qPeUp)0w!M>F)`I!##fK4|WE8 zLBwgK_)()T>q;}sG~?{WN=ozTBwqcw`Jg%JI%IL`nP9l|@n`*j3(rX;fEMJt2q0D2L%Gz%{+K*W~hfR++lah2|nG(+o= z>xeNQ|B_)(8aBPAK`BjmQ+*GS4W~Jek9lvzODrhv!eoDCCHho;StU}hq~zbkFQeM) zQccCRft09-4QbizkZOkUE~~76UpEhegoer>*#;jfRqVo6MZBn$7&Jmb2fG50$I+z+BHEeTH>#ZtpMUe9=l71oPkc0$ zmlxhX|7j$>u#%Xsy1lq~)E0_V7mr^)er#gt+I07cJ?H)_{^9$frkQEy*Pq=xFHike zJo!^%b@GojZT5vPe#k_B&Mn-Gf3>{pyLVToCO%1RJ27zjy)T!4X`0?1S@4{?SY1e5 G6@LL&JT!>_ literal 0 HcmV?d00001 diff --git a/cmake-build-debug/CMakeFiles/3.26.4/CMakeSystem.cmake b/cmake-build-debug/CMakeFiles/3.26.4/CMakeSystem.cmake new file mode 100644 index 0000000..d0903e1 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/3.26.4/CMakeSystem.cmake @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "Darwin-23.2.0") +set(CMAKE_HOST_SYSTEM_NAME "Darwin") +set(CMAKE_HOST_SYSTEM_VERSION "23.2.0") +set(CMAKE_HOST_SYSTEM_PROCESSOR "arm64") + + + +set(CMAKE_SYSTEM "Darwin-23.2.0") +set(CMAKE_SYSTEM_NAME "Darwin") +set(CMAKE_SYSTEM_VERSION "23.2.0") +set(CMAKE_SYSTEM_PROCESSOR "arm64") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git a/cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.c b/cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.c new file mode 100644 index 0000000..88155ff --- /dev/null +++ b/cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.c @@ -0,0 +1,866 @@ +#ifdef __cplusplus +# error "A C++ compiler has been selected for C." +#endif + +#if defined(__18CXX) +# define ID_VOID_MAIN +#endif +#if defined(__CLASSIC_C__) +/* cv-qualifiers did not exist in K&R C */ +# define const +# define volatile +#endif + +#if !defined(__has_include) +/* If the compiler does not have __has_include, pretend the answer is + always no. */ +# define __has_include(x) 0 +#endif + + +/* Version number components: V=Version, R=Revision, P=Patch + Version date components: YYYY=Year, MM=Month, DD=Day */ + +#if defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# if defined(__GNUC__) +# define SIMULATE_ID "GNU" +# endif + /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, + except that a few beta releases use the old format with V=2021. */ +# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) +# if defined(__INTEL_COMPILER_UPDATE) +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) +# else +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) +# endif +# else +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) + /* The third version component from --version is an update index, + but no macro is provided for it. */ +# define COMPILER_VERSION_PATCH DEC(0) +# endif +# if defined(__INTEL_COMPILER_BUILD_DATE) + /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ +# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) +# endif +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# if defined(__GNUC__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +# elif defined(__GNUG__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) +# endif +# if defined(__GNUC_MINOR__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) +# define COMPILER_ID "IntelLLVM" +#if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +#endif +#if defined(__GNUC__) +# define SIMULATE_ID "GNU" +#endif +/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and + * later. Look for 6 digit vs. 8 digit version number to decide encoding. + * VVVV is no smaller than the current year when a version is released. + */ +#if __INTEL_LLVM_COMPILER < 1000000L +# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) +#else +# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) +# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) +#endif +#if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +#endif +#if defined(__GNUC__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +#elif defined(__GNUG__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) +#endif +#if defined(__GNUC_MINOR__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +#endif +#if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +#endif + +#elif defined(__PATHCC__) +# define COMPILER_ID "PathScale" +# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) +# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) +# if defined(__PATHCC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) +# endif + +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) +# define COMPILER_ID "Embarcadero" +# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) +# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + /* __BORLANDC__ = 0xVRR */ +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +# define COMPILER_ID "Watcom" + /* __WATCOMC__ = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__WATCOMC__) +# define COMPILER_ID "OpenWatcom" + /* __WATCOMC__ = VVRP + 1100 */ +# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__SUNPRO_C) +# define COMPILER_ID "SunPro" +# if __SUNPRO_C >= 0x5100 + /* __SUNPRO_C = 0xVRRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# else + /* __SUNPRO_CC = 0xVRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# endif + +#elif defined(__HP_cc) +# define COMPILER_ID "HP" + /* __HP_cc = VVRRPP */ +# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) +# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) + +#elif defined(__DECC) +# define COMPILER_ID "Compaq" + /* __DECC_VER = VVRRTPPPP */ +# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) +# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) +# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) + +#elif defined(__IBMC__) && defined(__COMPILER_VER__) +# define COMPILER_ID "zOS" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__open_xl__) && defined(__clang__) +# define COMPILER_ID "IBMClang" +# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) +# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) +# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) +# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) + + +#elif defined(__ibmxl__) && defined(__clang__) +# define COMPILER_ID "XLClang" +# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) +# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) +# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) +# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) + + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 +# define COMPILER_ID "XL" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 +# define COMPILER_ID "VisualAge" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__NVCOMPILER) +# define COMPILER_ID "NVHPC" +# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) +# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) +# if defined(__NVCOMPILER_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) +# endif + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__CLANG_FUJITSU) +# define COMPILER_ID "FujitsuClang" +# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) +# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) +# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) +# define COMPILER_VERSION_INTERNAL_STR __clang_version__ + + +#elif defined(__FUJITSU) +# define COMPILER_ID "Fujitsu" +# if defined(__FCC_version__) +# define COMPILER_VERSION __FCC_version__ +# elif defined(__FCC_major__) +# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) +# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) +# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) +# endif +# if defined(__fcc_version) +# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) +# elif defined(__FCC_VERSION) +# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) +# endif + + +#elif defined(__ghs__) +# define COMPILER_ID "GHS" +/* __GHS_VERSION_NUMBER = VVVVRP */ +# ifdef __GHS_VERSION_NUMBER +# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) +# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) +# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) +# endif + +#elif defined(__TASKING__) +# define COMPILER_ID "Tasking" + # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) + # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) +# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) + +#elif defined(__TINYC__) +# define COMPILER_ID "TinyCC" + +#elif defined(__BCC__) +# define COMPILER_ID "Bruce" + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#elif defined(__ARMCC_VERSION) && !defined(__clang__) +# define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 + /* __ARMCC_VERSION = VRRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else + /* __ARMCC_VERSION = VRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(__clang__) && defined(__apple_build_version__) +# define COMPILER_ID "AppleClang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) +# define COMPILER_ID "ARMClang" + # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000) +# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) + +#elif defined(__clang__) +# define COMPILER_ID "Clang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) +# define COMPILER_ID "LCC" +# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) +# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) +# if defined(__LCC_MINOR__) +# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) +# endif +# if defined(__GNUC__) && defined(__GNUC_MINOR__) +# define SIMULATE_ID "GNU" +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +# if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif +# endif + +#elif defined(__GNUC__) +# define COMPILER_ID "GNU" +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) +# if defined(__GNUC_MINOR__) +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + /* _MSC_VER = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +# if defined(_MSC_FULL_VER) +# if _MSC_VER >= 1400 + /* _MSC_FULL_VER = VVRRPPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +# else + /* _MSC_FULL_VER = VVRRPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +# endif +# endif +# if defined(_MSC_BUILD) +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +# endif + +#elif defined(_ADI_COMPILER) +# define COMPILER_ID "ADSP" +#if defined(__VERSIONNUM__) + /* __VERSIONNUM__ = 0xVVRRPPTT */ +# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) +# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) +# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) +# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# define COMPILER_ID "IAR" +# if defined(__VER__) && defined(__ICCARM__) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) +# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) +# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) +# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) +# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# endif + +#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) +# define COMPILER_ID "SDCC" +# if defined(__SDCC_VERSION_MAJOR) +# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) +# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) +# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) +# else + /* SDCC = VRP */ +# define COMPILER_VERSION_MAJOR DEC(SDCC/100) +# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) +# define COMPILER_VERSION_PATCH DEC(SDCC % 10) +# endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const* qnxnto = "INFO" ":" "qnxnto[]"; +#endif + +#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) +char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__MSYS__) +# define PLATFORM_ID "MSYS" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +# define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +# if defined(__LINUX__) +# define PLATFORM_ID "Linux" + +# elif defined(__DOS__) +# define PLATFORM_ID "DOS" + +# elif defined(__OS2__) +# define PLATFORM_ID "OS2" + +# elif defined(__WINDOWS__) +# define PLATFORM_ID "Windows3x" + +# elif defined(__VXWORKS__) +# define PLATFORM_ID "VxWorks" + +# else /* unknown platform */ +# define PLATFORM_ID +# endif + +#elif defined(__INTEGRITY) +# if defined(INT_178B) +# define PLATFORM_ID "Integrity178" + +# else /* regular Integrity */ +# define PLATFORM_ID "Integrity" +# endif + +# elif defined(_ADI_COMPILER) +# define PLATFORM_ID "ADSP" + +#else /* unknown platform */ +# define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +# if defined(_M_IA64) +# define ARCHITECTURE_ID "IA64" + +# elif defined(_M_ARM64EC) +# define ARCHITECTURE_ID "ARM64EC" + +# elif defined(_M_X64) || defined(_M_AMD64) +# define ARCHITECTURE_ID "x64" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# elif defined(_M_ARM64) +# define ARCHITECTURE_ID "ARM64" + +# elif defined(_M_ARM) +# if _M_ARM == 4 +# define ARCHITECTURE_ID "ARMV4I" +# elif _M_ARM == 5 +# define ARCHITECTURE_ID "ARMV5I" +# else +# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +# endif + +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__WATCOMC__) +# if defined(_M_I86) +# define ARCHITECTURE_ID "I86" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# if defined(__ICCARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__ICCRX__) +# define ARCHITECTURE_ID "RX" + +# elif defined(__ICCRH850__) +# define ARCHITECTURE_ID "RH850" + +# elif defined(__ICCRL78__) +# define ARCHITECTURE_ID "RL78" + +# elif defined(__ICCRISCV__) +# define ARCHITECTURE_ID "RISCV" + +# elif defined(__ICCAVR__) +# define ARCHITECTURE_ID "AVR" + +# elif defined(__ICC430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__ICCV850__) +# define ARCHITECTURE_ID "V850" + +# elif defined(__ICC8051__) +# define ARCHITECTURE_ID "8051" + +# elif defined(__ICCSTM8__) +# define ARCHITECTURE_ID "STM8" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__ghs__) +# if defined(__PPC64__) +# define ARCHITECTURE_ID "PPC64" + +# elif defined(__ppc__) +# define ARCHITECTURE_ID "PPC" + +# elif defined(__ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__x86_64__) +# define ARCHITECTURE_ID "x64" + +# elif defined(__i386__) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__TI_COMPILER_VERSION__) +# if defined(__TI_ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__MSP430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__TMS320C28XX__) +# define ARCHITECTURE_ID "TMS320C28x" + +# elif defined(__TMS320C6X__) || defined(_TMS320C6X) +# define ARCHITECTURE_ID "TMS320C6x" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +# elif defined(__ADSPSHARC__) +# define ARCHITECTURE_ID "SHARC" + +# elif defined(__ADSPBLACKFIN__) +# define ARCHITECTURE_ID "Blackfin" + +#elif defined(__TASKING__) + +# if defined(__CTC__) || defined(__CPTC__) +# define ARCHITECTURE_ID "TriCore" + +# elif defined(__CMCS__) +# define ARCHITECTURE_ID "MCS" + +# elif defined(__CARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__CARC__) +# define ARCHITECTURE_ID "ARC" + +# elif defined(__C51__) +# define ARCHITECTURE_ID "8051" + +# elif defined(__CPCP__) +# define ARCHITECTURE_ID "PCP" + +# else +# define ARCHITECTURE_ID "" +# endif + +#else +# define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) \ + ('0' + (((n) / 10000000)%10)), \ + ('0' + (((n) / 1000000)%10)), \ + ('0' + (((n) / 100000)%10)), \ + ('0' + (((n) / 10000)%10)), \ + ('0' + (((n) / 1000)%10)), \ + ('0' + (((n) / 100)%10)), \ + ('0' + (((n) / 10)%10)), \ + ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) \ + ('0' + ((n)>>28 & 0xF)), \ + ('0' + ((n)>>24 & 0xF)), \ + ('0' + ((n)>>20 & 0xF)), \ + ('0' + ((n)>>16 & 0xF)), \ + ('0' + ((n)>>12 & 0xF)), \ + ('0' + ((n)>>8 & 0xF)), \ + ('0' + ((n)>>4 & 0xF)), \ + ('0' + ((n) & 0xF)) + +/* Construct a string literal encoding the version number. */ +#ifdef COMPILER_VERSION +char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; + +/* Construct a string literal encoding the version number components. */ +#elif defined(COMPILER_VERSION_MAJOR) +char const info_version[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', + COMPILER_VERSION_MAJOR, +# ifdef COMPILER_VERSION_MINOR + '.', COMPILER_VERSION_MINOR, +# ifdef COMPILER_VERSION_PATCH + '.', COMPILER_VERSION_PATCH, +# ifdef COMPILER_VERSION_TWEAK + '.', COMPILER_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct a string literal encoding the internal version number. */ +#ifdef COMPILER_VERSION_INTERNAL +char const info_version_internal[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', + 'i','n','t','e','r','n','a','l','[', + COMPILER_VERSION_INTERNAL,']','\0'}; +#elif defined(COMPILER_VERSION_INTERNAL_STR) +char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = { + 'I', 'N', 'F', 'O', ':', + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', + SIMULATE_VERSION_MAJOR, +# ifdef SIMULATE_VERSION_MINOR + '.', SIMULATE_VERSION_MINOR, +# ifdef SIMULATE_VERSION_PATCH + '.', SIMULATE_VERSION_PATCH, +# ifdef SIMULATE_VERSION_TWEAK + '.', SIMULATE_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; + + + +#if !defined(__STDC__) && !defined(__clang__) +# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__) +# define C_VERSION "90" +# else +# define C_VERSION +# endif +#elif __STDC_VERSION__ > 201710L +# define C_VERSION "23" +#elif __STDC_VERSION__ >= 201710L +# define C_VERSION "17" +#elif __STDC_VERSION__ >= 201000L +# define C_VERSION "11" +#elif __STDC_VERSION__ >= 199901L +# define C_VERSION "99" +#else +# define C_VERSION "90" +#endif +const char* info_language_standard_default = + "INFO" ":" "standard_default[" C_VERSION "]"; + +const char* info_language_extensions_default = "INFO" ":" "extensions_default[" +#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ + defined(__TI_COMPILER_VERSION__)) && \ + !defined(__STRICT_ANSI__) + "ON" +#else + "OFF" +#endif +"]"; + +/*--------------------------------------------------------------------------*/ + +#ifdef ID_VOID_MAIN +void main() {} +#else +# if defined(__CLASSIC_C__) +int main(argc, argv) int argc; char *argv[]; +# else +int main(int argc, char* argv[]) +# endif +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; + require += info_arch[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef COMPILER_VERSION_INTERNAL + require += info_version_internal[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) + require += info_cray[argc]; +#endif + require += info_language_standard_default[argc]; + require += info_language_extensions_default[argc]; + (void)argv; + return require; +} +#endif diff --git a/cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.o b/cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.o new file mode 100644 index 0000000000000000000000000000000000000000..7b535879801fc78b203ff53280f4bb26a31c4358 GIT binary patch literal 1712 zcmb_cJ%|%Q6rOnJnKPOwSSSY?u(1l8^A1H>NVq5};qHnQk#LMlvdJxMHes{TD=ZEa zv=O|<%Hj$I!Pdf92{!3G8?lU5cZI!YVf^0CoBUnn&x6_Teecb@eY5k;e*F3U*D)a? z0!EK%jN&0Yk{GZv7+=C{NDn-^oZFx^FwKv^r*W8qFew9jBT&BLg=@vakZZ5Y4%MTQ z88n3csIg4~ZBmw7f$w-V4oEp(PuKA|pPAAt6>__Spp+FWum%+U=CXzCkY{+G7dZ45 z^{C`F`qO(H&ZhmA8(wR;;mQ8ix!zS?)SKvUv=;ePuimuEfoyyC9Iql}J~uk&71v90 zFp0jXWEaS(u`SOdcN#vqC*Yav>BFr>hE2uX7dMRi5I5v)2etEsbek-uNise^i#jaXy zHz=hqaR&Fr_F4{PG{~(iul?c29_vruwS6jBGD1r)rj%nCLnpn6SlTcqUKHM^WOyaV zI(Pww`82sWW9k30b!sk7HW%OiAp*4eHGW Zu9SiUdQnq2p!1r-0ZnTP2bAOy+HW9I5BC57 literal 0 HcmV?d00001 diff --git a/cmake-build-debug/CMakeFiles/CMakeConfigureLog.yaml b/cmake-build-debug/CMakeFiles/CMakeConfigureLog.yaml new file mode 100644 index 0000000..23e7ec2 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/CMakeConfigureLog.yaml @@ -0,0 +1,192 @@ + +--- +events: + - + kind: "message-v1" + backtrace: + - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineSystem.cmake:204 (message)" + - "CMakeLists.txt:2 (project)" + message: | + The system is: Darwin - 23.2.0 - arm64 + - + kind: "message-v1" + backtrace: + - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "CMakeLists.txt:2 (project)" + message: | + Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. + Compiler: /Library/Developer/CommandLineTools/usr/bin/cc + Build flags: + Id flags: + + The output was: + 1 + ld: library 'System' not found + clang: error: linker command failed with exit code 1 (use -v to see invocation) + + + - + kind: "message-v1" + backtrace: + - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)" + - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" + - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" + - "CMakeLists.txt:2 (project)" + message: | + Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. + Compiler: /Library/Developer/CommandLineTools/usr/bin/cc + Build flags: + Id flags: -c + + The output was: + 0 + + + Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.o" + + The C compiler identification is AppleClang, found in: + /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.o + + - + kind: "try_compile-v1" + backtrace: + - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)" + - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" + - "CMakeLists.txt:2 (project)" + checks: + - "Detecting C compiler ABI info" + directories: + source: "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy" + binary: "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy" + cmakeVariables: + CMAKE_C_FLAGS: "" + CMAKE_C_FLAGS_DEBUG: "-g" + CMAKE_EXE_LINKER_FLAGS: "" + CMAKE_OSX_ARCHITECTURES: "" + CMAKE_OSX_DEPLOYMENT_TARGET: "" + CMAKE_OSX_SYSROOT: "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk" + buildResult: + variable: "CMAKE_C_ABI_COMPILED" + cached: true + stdout: | + Change Dir: /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy + + Run Build Command(s):/Applications/CLion.app/Contents/bin/ninja/mac/ninja -v cmTC_66165 && [1/2] /Library/Developer/CommandLineTools/usr/bin/cc -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics -v -Wl,-v -MD -MT CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCCompilerABI.c + Apple clang version 15.0.0 (clang-1500.1.0.2.5) + Target: arm64-apple-darwin23.2.0 + Thread model: posix + InstalledDir: /Library/Developer/CommandLineTools/usr/bin + clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument] + "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple arm64-apple-macosx14.0.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -ffp-contract=on -fno-rounding-math -funwind-tables=1 -fobjc-msgsend-selector-stubs -target-sdk-version=14.2 -fvisibility-inlines-hidden-static-local-var -target-cpu apple-m1 -target-feature +v8.5a -target-feature +crc -target-feature +lse -target-feature +rdm -target-feature +crypto -target-feature +dotprod -target-feature +fp-armv8 -target-feature +neon -target-feature +fp16fml -target-feature +ras -target-feature +rcpc -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-feature +sm4 -target-feature +sha3 -target-feature +sha2 -target-feature +aes -target-abi darwinpcs -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=lldb -target-linker-version 1022.1 -v -fcoverage-compilation-dir=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0 -dependency-file CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -sys-header-deps -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include -internal-externc-isystem /Library/Developer/CommandLineTools/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fdebug-compilation-dir=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fmax-type-align=16 -fcommon -fcolor-diagnostics -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -mllvm -disable-aligned-alloc-awareness=1 -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -x c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCCompilerABI.c + clang -cc1 version 15.0.0 (clang-1500.1.0.2.5) default target arm64-apple-darwin23.2.0 + ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/local/include" + ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/Library/Frameworks" + #include "..." search starts here: + #include <...> search starts here: + /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include + /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include + /Library/Developer/CommandLineTools/usr/include + /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/System/Library/Frameworks (framework directory) + End of search list. + [2/2] : && /Library/Developer/CommandLineTools/usr/bin/cc -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -o cmTC_66165 && : + Apple clang version 15.0.0 (clang-1500.1.0.2.5) + Target: arm64-apple-darwin23.2.0 + Thread model: posix + InstalledDir: /Library/Developer/CommandLineTools/usr/bin + "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 14.0.0 14.2 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -o cmTC_66165 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/lib/darwin/libclang_rt.osx.a + @(#)PROGRAM:ld PROJECT:dyld-1022.1 + BUILD 13:21:42 Nov 10 2023 + configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h + will use ld-classic for: armv6 armv7 armv7s arm64_32 i386 armv6m armv7k armv7m armv7em + LTO support using: LLVM version 15.0.0 (static support for 29, runtime is 29) + TAPI support using: Apple TAPI version 15.0.0 (tapi-1500.0.12.8) + Library search paths: + Framework search paths: + + exitCode: 0 + - + kind: "message-v1" + backtrace: + - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:127 (message)" + - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" + - "CMakeLists.txt:2 (project)" + message: | + Parsed C implicit include dir info: rv=done + found start of include info + found start of implicit include info + add: [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include] + add: [/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include] + add: [/Library/Developer/CommandLineTools/usr/include] + end of search list found + collapse include dir [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include] ==> [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include] + collapse include dir [/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include] + collapse include dir [/Library/Developer/CommandLineTools/usr/include] ==> [/Library/Developer/CommandLineTools/usr/include] + implicit include dirs: [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include;/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include;/Library/Developer/CommandLineTools/usr/include] + + + - + kind: "message-v1" + backtrace: + - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:152 (message)" + - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" + - "CMakeLists.txt:2 (project)" + message: | + Parsed C implicit link information: + link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)] + ignore line: [Change Dir: /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy] + ignore line: [] + ignore line: [Run Build Command(s):/Applications/CLion.app/Contents/bin/ninja/mac/ninja -v cmTC_66165 && [1/2] /Library/Developer/CommandLineTools/usr/bin/cc -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics -v -Wl -v -MD -MT CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCCompilerABI.c] + ignore line: [Apple clang version 15.0.0 (clang-1500.1.0.2.5)] + ignore line: [Target: arm64-apple-darwin23.2.0] + ignore line: [Thread model: posix] + ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin] + ignore line: [clang: warning: -Wl -v: 'linker' input unused [-Wunused-command-line-argument]] + ignore line: [ "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple arm64-apple-macosx14.0.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -ffp-contract=on -fno-rounding-math -funwind-tables=1 -fobjc-msgsend-selector-stubs -target-sdk-version=14.2 -fvisibility-inlines-hidden-static-local-var -target-cpu apple-m1 -target-feature +v8.5a -target-feature +crc -target-feature +lse -target-feature +rdm -target-feature +crypto -target-feature +dotprod -target-feature +fp-armv8 -target-feature +neon -target-feature +fp16fml -target-feature +ras -target-feature +rcpc -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-feature +sm4 -target-feature +sha3 -target-feature +sha2 -target-feature +aes -target-abi darwinpcs -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=lldb -target-linker-version 1022.1 -v -fcoverage-compilation-dir=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0 -dependency-file CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -sys-header-deps -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include -internal-externc-isystem /Library/Developer/CommandLineTools/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fdebug-compilation-dir=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fmax-type-align=16 -fcommon -fcolor-diagnostics -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -mllvm -disable-aligned-alloc-awareness=1 -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -x c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCCompilerABI.c] + ignore line: [clang -cc1 version 15.0.0 (clang-1500.1.0.2.5) default target arm64-apple-darwin23.2.0] + ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/local/include"] + ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/Library/Frameworks"] + ignore line: [#include "..." search starts here:] + ignore line: [#include <...> search starts here:] + ignore line: [ /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include] + ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include] + ignore line: [ /Library/Developer/CommandLineTools/usr/include] + ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/System/Library/Frameworks (framework directory)] + ignore line: [End of search list.] + ignore line: [[2/2] : && /Library/Developer/CommandLineTools/usr/bin/cc -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -Wl -search_paths_first -Wl -headerpad_max_install_names -v -Wl -v CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -o cmTC_66165 && :] + ignore line: [Apple clang version 15.0.0 (clang-1500.1.0.2.5)] + ignore line: [Target: arm64-apple-darwin23.2.0] + ignore line: [Thread model: posix] + ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin] + link line: [ "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 14.0.0 14.2 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -o cmTC_66165 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/lib/darwin/libclang_rt.osx.a] + arg [/Library/Developer/CommandLineTools/usr/bin/ld] ==> ignore + arg [-demangle] ==> ignore + arg [-lto_library] ==> ignore, skip following value + arg [/Library/Developer/CommandLineTools/usr/lib/libLTO.dylib] ==> skip value of -lto_library + arg [-dynamic] ==> ignore + arg [-arch] ==> ignore + arg [arm64] ==> ignore + arg [-platform_version] ==> ignore + arg [macos] ==> ignore + arg [14.0.0] ==> ignore + arg [14.2] ==> ignore + arg [-syslibroot] ==> ignore + arg [/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk] ==> ignore + arg [-o] ==> ignore + arg [cmTC_66165] ==> ignore + arg [-search_paths_first] ==> ignore + arg [-headerpad_max_install_names] ==> ignore + arg [-v] ==> ignore + arg [CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o] ==> ignore + arg [-lSystem] ==> lib [System] + arg [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/lib/darwin/libclang_rt.osx.a] + remove lib [System] + remove lib [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/lib/darwin/libclang_rt.osx.a] + implicit libs: [] + implicit objs: [] + implicit dirs: [] + implicit fwks: [] + + +... diff --git a/cmake-build-debug/CMakeFiles/TargetDirectories.txt b/cmake-build-debug/CMakeFiles/TargetDirectories.txt new file mode 100644 index 0000000..43a6cf4 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/TargetDirectories.txt @@ -0,0 +1,3 @@ +/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir +/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/edit_cache.dir +/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/rebuild_cache.dir diff --git a/cmake-build-debug/CMakeFiles/clion-Debug-log.txt b/cmake-build-debug/CMakeFiles/clion-Debug-log.txt new file mode 100644 index 0000000..8ac5c4d --- /dev/null +++ b/cmake-build-debug/CMakeFiles/clion-Debug-log.txt @@ -0,0 +1,10 @@ +/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=/Applications/CLion.app/Contents/bin/ninja/mac/ninja -G Ninja -S /Users/saba/CLionProjects/pmuw_projekt_notebinder -B /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug +-- The C compiler identification is AppleClang 15.0.0.15000100 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- Configuring done (0.5s) +-- Generating done (0.0s) +-- Build files have been written to: /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug diff --git a/cmake-build-debug/CMakeFiles/clion-environment.txt b/cmake-build-debug/CMakeFiles/clion-environment.txt new file mode 100644 index 0000000..b7d7a44 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/clion-environment.txt @@ -0,0 +1,3 @@ +ToolSet: 1.0 (local)Options: + +Options:-DCMAKE_MAKE_PROGRAM=/Applications/CLion.app/Contents/bin/ninja/mac/ninja \ No newline at end of file diff --git a/cmake-build-debug/CMakeFiles/cmake.check_cache b/cmake-build-debug/CMakeFiles/cmake.check_cache new file mode 100644 index 0000000..3dccd73 --- /dev/null +++ b/cmake-build-debug/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o b/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o new file mode 100644 index 0000000000000000000000000000000000000000..d4f2c70953be0c024e5cd4578c85474bcb7f1b00 GIT binary patch literal 3072 zcmb7G-D@0G6hE`Ov)RqYZJJd3h3%@bR3zC=Oli@6BsA5;t{9U@Q$>f_*_(8l`B-*l zlZK==vc*f6=> zGNK+3;(2~Ga76K*kb`uY=MryzD@E}1O2rbIquatmTomtZxnI)~<5sE_4A#1MZt1ka zkx{%`60b+X45p>h5bNRv`BiiyidQcRq7ZNTf8zOzm37zK6BHTI6`9ZS1Mv*kMqa*F za~4detZBuO#!`sBmv}kp%%P6?i1y-qIE|X;ySAv`v@q6o z-TUSteYPruEu6+fgmAr9HY0NrRjTfcz+^3;i$ZU)gSpB=w<2?6I8wY1({xOqbDwWs zX2rFvTI(W_(t?id!2IEASR$p8CG2Jw(Y!ci8dftP`jL`vRQdD z+pWg4=a;j;pUZY`-I?92bm4J}4N^Qi)_r9Avzg~IF_d6jQO3IQu0KX&-TP5~>K-UW z$sWWV&ScOdG3^mmU;I8D*ws@AuGY(ODkYZ~NqV`PzKyZZ~eIv##G;wRxq@J4J2+J{Mf6Gn0eVv|bSZirM{@)?M>1mC29 zc(7s*!Kv)J1U((QxcmxRk6-5gcE(J;0f(BPVSa#fhNU~Rxp`6bP?x#>eSL+#LT+#1 z?d{)JDD?HiGtjs1Dayaah2>T->ZofYvRuSVH08RM zm!BLt?&V+7jh82<`v;MWSDvGYx$)c#Tb~oXrJ8A#dxNKsI5n?m;-hYy!nM$};faai zliK9iYsa*yljFxUjcSf(&N`x;GjZeUtC&Elu6+VysT!zbSo#^_fYHg}QEYYaj`3TD z|D1r>r%?Tadk+*FyQ39uocrzo{QMRM#|If+7OoB+GXQ1^aoNWd#bwNm#Bi}PZ(%SH zzqg!U9ItOe{z36vL9UR6m3K2gethsNBlqd@>)r>qrs10dzXir)OI%+Ze;M2Z2636P zi=R*F;yPv*7qxV8O|y%OUb>(KByU9`v_tthltcilD9Yd2hX{fp7-_>rfh~V<#WFhX z6}L?BM-_E@`yEwHzNl_Z9#?lI&#URL)kl&=wF9d9N2~)m(GWtBeDPpi9^!AHO4Q4H zj!Nk5gv2jXuMdeCl1CshM{%+s0J%@p&o;i%;eS9E>`hJa ztZr(Ge;RgEcd-41_2-1Sq^6kn1aoZoX{3e3_1-Tu; A>;M1& literal 0 HcmV?d00001 diff --git a/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o b/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o new file mode 100644 index 0000000000000000000000000000000000000000..123f3d68a0e8a309efd0c037d7e2a1b57dd2602e GIT binary patch literal 2688 zcmb7GO=u)V6n;H3J(;AllV5S8ml3iW51F2c3Cad{GbGXc$%Z6qc16pcPAAT0rhAy~ z$tLXL24O+LgF%G_4|!-;dGPA})T^&v zb-hz=HMYl|FU&o)A96`)Zz%b310LL*?mk6$C3o3lXCvMZD)N?+!+NN!N9X+)JRDjE zHsZZ4Z;)tG$zK$nf@jf?pH;1v9pPFP$H!zN-W?SkUD+UC=3zP#&nsTGIjj+HR@G3i z!q`40p3JXm*^PKX1KwB1#0xg6N1pel!n>jJ`|W@6Y_Ed60#SFbl-wmDX2#S~DKe@) zMwD|sMZ{a&#Qmxd*YN$q`YV@QhnF;-_hp6mzQVf=Jf>~nsVhH(H-Nd*;BYRDO~D`z zV*f3yV~AV}(JUnQDN82aikV}RNdOc2LMN@+!2A}+&6ceVba^(LZJ7_e>iHJZIq9F52ib`PUIOIq{*(c#;_5?0pprB*@a^~1mEL0oZd_E^f|+Tnq<{5&OvR; z60aRO9Z&PZ^LXu2S!~dm{PB8EQyS1yEKEMU+}!LZ_bZR`{py2ePMnvKZrE^ zrB!M$Po9=tu~wb_V!c#e>X%(c_A6EmEmoMDD_j)wlb6QD!o}HfA&C6Iss%zNO}GReDz3}1WN-;-mQ8u#S=qP&h1!+A4zGZ=_<&OJ^#irSF*GbYdF zHeWaF%)8fK@ZY>M0~?=7=EZfzdvOK!fNus#FHbQa8ZL@K|?lyL{9iOM3& j|3Sox6NFuKxJU3TpiP#k98{_Ua?HyyN8)g6sU7|X+R}e= literal 0 HcmV?d00001 diff --git a/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o b/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o new file mode 100644 index 0000000000000000000000000000000000000000..2a5eeb64be975b43967bf85184ac6cf20620c30d GIT binary patch literal 3816 zcmcInT}&KR6uz^=EITZ0OLqyhCbF7VtA_pIr;ygIP{07)rUcN^Rx_Pl23XjgU3Uix zmRLgjKq65|YBavI4}GACFSRc;ZBk=3F($?|CdR}*G(PD1VA`0Nv^EvLGjoS73yt#N z$=>Ezp;YWdNM_Cq4b;HMdr4~I%Z6LNyG!-|I z5JfSxDZ|n&d!Tc0;IVCMNwX)6Q9K98JOb2GWeJ-lutibgIU}3UM>wG;w}^}V|4@{srIZO-&NSF3DgO-MUlLLW|(Lvg$b z?rre6-|~2Ouo(D}Y#0xNHY1EgdA^>0PToO0TB6npzS*9zzR85HQIq2FF7bH3 z@Obvd>Uu)Fdid3#Sn1%w+fX1hDa7}pT_x}Y=y@RR(_R!3%0DX97H;O50N9kQ++?>N zopM}ybcQY7xLLcro6YtuU8!wBOyANKr6n)3J*M8kZskkagB$I&%Xq;DD2piP{trE0 z+WG+dWO28^9u&ntx74mI=e_KzOJZ;3tIzKk6&YzK~lK%y)dvSTp9`M+NEO!B`U?AZ1M`M;^HF~;udGxv%;lp~2QFcb z7e5!3AL2<(&9Wn^Hk#CQe}6*rYse!1;f#?;>wC+X91iqn5?V6s&lzgg&~#As7FAzB zHCR+b0o7wgDSA?S-s^F1D`@RqlgD80& z4=0mW2n1&d99^Xjom{ubV%Cg}5v;oIV2*dGa;q#ZtgH0$%1T*0&nqqOZL;{;8p11! zU)jV@6wfD%Kdy^c%^dfsvPu^3uB()pqY9)@EsOWpRf^_~jJAx?aD~)%dX{Qb33duq86m1FCr2#Q(*UVNdJ*6dSQ}j<{&-T=NBomoHiwk+hnoVSK*+z_ zWb49BNSQF0`ashQEcjXuUcsCiQ-keMc=u-0V_MwE1v9CMlS+oHaYND5h8DxQs%3+@ zY&@7!6ME2sK%51miC9+6P6s=*NiCVqz^Of*N~!u#6p25OPA7B0{*HsW;2|}BxPLI* zh*#%^##xcM`L4uM>bO=Hn@A*w>dfy279YjdQrwN$GT`1;~0iU5t zNDYv#QabP7M4|7Kk5HCSuA+Q{@+%7EFp2$MZmxUp3S=`rwB4xCfki@h9Q9vh5_s%j z2*o6!afW8+-S>jGJ#qhsGsklaw+F$Eqr8Jc2R|hj^^J0EClEr3MigZxr)XmmMLUpF zG(e(g>v9U(s!(G{$tuB>pH1>Oo`N7e^i&X#D@EIMelWH^SIzgzG;~vHq_Q$sM3SOX zxwA)-dc?^&slq9i&q?z2YnGfvePvXVopa*wAL5RlCq2>b&qENWc%;WEzBDIQ9h52# z9+D*S80^U&$>9_mdK~2#64o7MD`RyXG%&`ZtrkY;V8k6?NBOb^coB$vie9iVLKiYV z5$YCzxSOK$7Dmo;ein%PDmr6fWQy~2=pu`w84Dvx&W{4|sTCcvFmi(PZve44QOXBk zWPtO%K;%?3YGI^{^Bq7;YP8kD$jd+)AMFzwU!#SQZfl%Q^Ke6#Dqy3X^Pbht`8~%k zI9}#>f#VsD!yNZu)kO7n{Z1(|6Q;PO!L23q5XVO zJw8s>__L%Ep#Ln&h-O%4rFkwYx#^str5Mh89FfCJ$;DNDm^%krY^B*&_Sj03tu)$7 U14|mIOucPFff=?ScCzT87TfY-VN) z2uS%!glJ;Xnvj?X4?Msd@d?of4NpXkfd`*7F+LbHG5$mnP!PW}d#AfQ)Ceaz_uO;t zx!*na&N=t)e*M=k|1>ftF%UHo@JVXYV9+9Pob>;oT)Z-HLHPK33}#|rd&Ie`?RSL& z!TIo}k>RTD_b!PJ;f2t@4S+dhi?B%&K5?#Erc(tB;`un|y`3>OBKtFEm%wveTQ|qV za1d{pf&pbJg58aZju2va#>ja=%a_NvlF!@P1nswPNAKWsGvi0agbTv5oDQp=>L7hQ z-5j;ZEr_=~T$%i{z_>2(cH{8G)@Q}Tro91z}g1Usft%bdD+~jn+48ueN|V+=8EsxBaD}UN1yy8zOMiZ;8pU^&`ph| z1oyj5;N2B?w?%wsfG0kA9bPy57J@5dDJ%*GkrUa^VIEl~(M&=T+%_-~eR^Vwm(oZa z4SEkx_m8vd_YO)I?`>qKvBC|^oc8%tXmT*#cx`d~aAHZE#m6sPed6+kt7k7?3{Boh z98P?IHK*bd=1GaS?j7vC2&~heh50wNn7f-M2YtNnW9-h&SkE2I`Tb_>?Bafjt;W7v zD>yxOnACFz`qWZJv9RehtIVy%cE)wXz+fHivuvYKXMs}CM@KbVGga?9iBVNEw7jjj zx@A`V700nuJz!MJj%yXQN)`LQMaz0%9j1)gnpV`z>ZJ*HrCiVhYcp1|tx*k&)qx(+ zlses8tDq@HU~NoCh!0@urtVVg6SdncS%y)r-y}lXr{FlSzP}ri2q|x9#aa_%6WShK zHEIDdj*#3v^?r=0R@u>Oj?x<+)*LrIs_2GRSd(^e;;K8Sm<6l2!?Fu$TXV~{sTI;M zZqMZ!nA9vim1>d0sbhyyzaB}=U9cq8EX_kIhgPz1YM^DqqBY59k|ESWSds=>@L(-v z11+mj2l6s>koE2GTc1qA5~FT1xgOp4N(}ll6HSP#p#w|Ji}oxGr^rsoD5sSyG-JT4 zTJJ+1bDF$W*pGmSc-uqzf*M&T+7sYUNd%Luu5&;p`Q$$ zJ~T?&lRrRXjWka53Ro(>gpp8VGW1S-f_lv~gUz9+qBab2g!R&clU5DI97|7Vwu4$p zcdhE^?C4BC?O8Kjt2#S7x?t($94I!a#2Zp^`Zn{DmIH+Qn7VtF4&hV9kH zU2a;gmd6dO*;y9}lI;h6Q8BY9-U6>=iDl#0jN^8wESu9&ruKnspEjWxRtb|fT1B`Q za=3VhEz5ASLw%c_>=s4cIyBO?5}`PSaTZV?Jv6nbjBA;ESvLw9@1|!IpOe$^n@HV* zO69zFaIkkL9~yXh6Cd8WZ4>8=l}$$3Rx^#&sMachSPh&Ijkc}u955?fe{4hSWC*oED1JV0M`wHVVi+C?wWqrb> zJ$6o>On&v=+K<%q`-gTpZ+|-i+c@|QFvU!HOY2g)w}U}cBV;-S7AC4NGEpfB6IC0T zs2qg}JuM10+swZ#P61LL5;RMF~?T3MMXEW>g@G`QUUV+ z*As=n5_Fgzg&&vXMGd!PIr@UUAi7y@iyo5`SLDagZA4f8BNCEXG^}5d<%U1ywk>iq z923zkax2MWVdEGq;rW;py%IexOIt&Y*eF4t11Iov{tP5;sLV7Z269ssx$Yz+-h1Oj zMZQWeiVVL3B=RcL1BstdxwRF!4);D~M22#O#^*xfCsF1KBygke3R#9k9z{1mVw=%r z!k!iq!t?)7$k!oLUc@xQ*gS9w0RD~Zk`ACtGzg+Mu6CT_P9ZS=_u~raRA)YI61tx+ zG}KgshnI!onIWpFTD?7>=L7n#fSw8Hj92e1uI<-dX7CRBQ^GlSTwKC-iSf}A{+YR> mjJtYKW8xC7KGm?#c5`uu?kdK;)^LlZ6^z<$ukG^MPWCSeaJH+TJZ@4U76=l7e0Py{3dT?ft93o$LCu!PtM-3L|G z{yq2heYJ1kFh#4yy}3Gcokw}DV4$iF_6-eIcf0o|s$;_U8xSrljZjrbPB>(FQk(C= zFL;xg^NS*%=CvaAqOfAaP*vN>C+(F`ZN6xam#ie$WPkvB>wNhMF^X9m2rd8b>wp_pZeU$usLw*wS zYjgNrZbR?&X{f5+y=QQb+I#rW5f4?uUsPyascGvFBqa&EAb=g5%S+@uFAG)va?)~K#Sg5HBKFJkI0HJ#PSL6CSgeXvbv}#Idw)=hwJ~1LT zw?M;>32`ghmM7pNcoXb?D9L(X@v{;epusxfR>_seg=nsdcn-y)P+Dj4yq$|1dNQ6q zZlvLpbU>+&4Szh@{K?^-TVMU@e9!6rpWU|&u_)A=6S9PwU7Oeo<^8(Pp>gL&K4c5# zM|sZUcM}wPZa0+rXwFJcH-45%r54n4@gi}V zq3xUoU$00v&KD-Y1egF5U;<2l2`~XBzyz286JP>NfC(@GCcp%k025#WOn?b60Vco% zm;e)C0!)AjFaajO1egF5U;<2l2`~XBzyz286JP>NfC(@GCcp%k025#W|4RbPPl)-Y zNo97aR}`_e?(HcdPK`se(37FUK)C76_V6Q-j<5)il`d_%P`Y&b!fdGUcI1)B53yfv zCOp5hD3r)kOOtzMk*hdYr@pg%iE@T!m*8K-JzGR!p!D*lZfu`xE4{3CFGNI_Yi}3x z3#-Moi@lpJV2(55!Cl3#;km9ov8#BXY`?dwxW8=Q-c!7%Y)|wQd&~AOdy0v&-Lkug zZL3}$V|Vc`*bA!@*RIxy;ub|*bMw!5@lN!WdesXHt>U$CgLr7+=F{z?b>dE{Z=p5u zS~%jx7D9p88h>0cw$2}?1jcRjVowHRMa6x_8$#TPJ(z8zjnD`bJlnAMvaQSldl^q% z1UKwwY@>S4E-&AVcQmjxxpx+fUDnvU_)<$KaZQ9az2n-e0(N7-ZVuS%1NMf1-R{}; zm~I#-qDscC+{$Lom5#JNJS=n4Ov#my5GiTMWKMH*%dA8-+qP1AO)!_`N=h0s6ATG)OpfX)BbX5VD9IVE9tWOQ-qr&s-G1DP zDIL}1s3Fbh5nV>5Zp!H4ELC(@qlj#c9m(p_*c!DRE$2uRp>1AhTOhRE3vCaCc6gy3 zfzZ~@&e)*LWDU)cfpAx>Z$ft(#i#MUus+2n{K|tZ?Zu@%?g_M{v_G9B;a)2j+V9(h zEG=#(H%{A;eQ7CBe(cmOP(Eti{lRFxK`n&_KkjdnF1RjVm;e)C0!)AjFaajO1egF5 zU;<2l2`~XBzyz286JP>NfC(@GCcp%k025#WOn?b60Vco%m;e)C0!)AjFaajO1egF5 zU;<2l2`~XBzyz286JP>NfC(@GCcp%k025#WOn?b6f&UtTC^Gd!vrzgrxpx)-3`pRR z0QcM9Uex;zxJckMfJ8as-KXFH0R<;)D4U_3(A`iRG@{(^k5fmalN!a@3ThUgwReVv zn$yg*Q0~(;aQXYgC{oRgs&Yc6@{UwT zrIyCA6OoLDLmk%GI4mRO4B!z~=BSlRi}g5YBW)khZAaj+59Anh3!^!w0~4q7Inr*A zcR5$%{{sFnNX>Vja|@(fW4O>+3}n+84Vwc##ehV3PxHnc3iQX&7loFE#s}*eKpZA8d->csUZHIP1 zsm>4UiwgAv7L)2OCiS|-q*fNw$5_|#FWWL_$89aC#d{CnT#^2q^>wUPJD$zt$MO4s zH|D6O<;bLNVo}HKTq;hb#8dHonmLlu%($Qu{K~9cEG7Q^tf`DPChth*bt8R8S|;-& z@!o@o+@l-vhNZ;P`UjR%Q%%hJ81)2ZDQLF;w@G;q#~doM_-@l2R^}N*%4@j|G5kD~ z84;=%B7{HhU+Iv47mgm9?u>?T{K~&1%A7w;xxp$BU9(f)o?DlCK>tbWpZ@x4OaJt< zvh|raUYR;|^=~gW>znIdeDsBLL)Nda4$swJo}V8J9Uf{}K5_oU!_&Y0`BVE&-u~Q2 z^*{FbSI(BUUe Date: Mon, 29 Jan 2024 18:52:24 +0100 Subject: [PATCH 03/74] Draw Hangman in ASCII art --- CMakeLists.txt | 4 +- .../codemodel-v2-c6ffc0b664e1b12e7dfc.json | 60 ------- .../reply/index-2024-01-24T18-53-34-0975.json | 108 ------------ ...notebinder-Debug-439d4177ec694957d283.json | 159 ------------------ cmake-build-debug/.ninja_deps | Bin 11160 -> 10288 bytes cmake-build-debug/.ninja_log | 9 +- .../CMakeFiles/clion-Debug-log.txt | 8 +- .../Testing/Temporary/LastTest.log | 4 +- cmake-build-debug/build.ninja | 9 +- cmake-build-debug/pmuw_projekt_notebinder | Bin 34520 -> 0 bytes src/main/c/Hangman/drawHangman.c | 84 +++++++++ src/main/c/Hangman/drawHangman.h | 8 + 12 files changed, 110 insertions(+), 343 deletions(-) delete mode 100644 cmake-build-debug/.cmake/api/v1/reply/codemodel-v2-c6ffc0b664e1b12e7dfc.json delete mode 100644 cmake-build-debug/.cmake/api/v1/reply/index-2024-01-24T18-53-34-0975.json delete mode 100644 cmake-build-debug/.cmake/api/v1/reply/target-pmuw_projekt_notebinder-Debug-439d4177ec694957d283.json delete mode 100755 cmake-build-debug/pmuw_projekt_notebinder create mode 100644 src/main/c/Hangman/drawHangman.c create mode 100644 src/main/c/Hangman/drawHangman.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 55c5ea3..5538ad5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,4 +13,6 @@ add_executable(pmuw_projekt_notebinder src/main/c/Hangman/word_selector.h src/main/c/main.c src/main/c/main.h - ) + src/main/c/Hangman/drawHangman.c + src/main/c/Hangman/drawHangman.h +) diff --git a/cmake-build-debug/.cmake/api/v1/reply/codemodel-v2-c6ffc0b664e1b12e7dfc.json b/cmake-build-debug/.cmake/api/v1/reply/codemodel-v2-c6ffc0b664e1b12e7dfc.json deleted file mode 100644 index a13cb3d..0000000 --- a/cmake-build-debug/.cmake/api/v1/reply/codemodel-v2-c6ffc0b664e1b12e7dfc.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "configurations" : - [ - { - "directories" : - [ - { - "build" : ".", - "jsonFile" : "directory-.-Debug-f5ebdc15457944623624.json", - "minimumCMakeVersion" : - { - "string" : "3.26" - }, - "projectIndex" : 0, - "source" : ".", - "targetIndexes" : - [ - 0 - ] - } - ], - "name" : "Debug", - "projects" : - [ - { - "directoryIndexes" : - [ - 0 - ], - "name" : "pmuw_projekt_notebinder", - "targetIndexes" : - [ - 0 - ] - } - ], - "targets" : - [ - { - "directoryIndex" : 0, - "id" : "pmuw_projekt_notebinder::@6890427a1f51a3e7e1df", - "jsonFile" : "target-pmuw_projekt_notebinder-Debug-439d4177ec694957d283.json", - "name" : "pmuw_projekt_notebinder", - "projectIndex" : 0 - } - ] - } - ], - "kind" : "codemodel", - "paths" : - { - "build" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug", - "source" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder" - }, - "version" : - { - "major" : 2, - "minor" : 5 - } -} diff --git a/cmake-build-debug/.cmake/api/v1/reply/index-2024-01-24T18-53-34-0975.json b/cmake-build-debug/.cmake/api/v1/reply/index-2024-01-24T18-53-34-0975.json deleted file mode 100644 index 21c2ccd..0000000 --- a/cmake-build-debug/.cmake/api/v1/reply/index-2024-01-24T18-53-34-0975.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "cmake" : - { - "generator" : - { - "multiConfig" : false, - "name" : "Ninja" - }, - "paths" : - { - "cmake" : "/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake", - "cpack" : "/Applications/CLion.app/Contents/bin/cmake/mac/bin/cpack", - "ctest" : "/Applications/CLion.app/Contents/bin/cmake/mac/bin/ctest", - "root" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26" - }, - "version" : - { - "isDirty" : false, - "major" : 3, - "minor" : 26, - "patch" : 4, - "string" : "3.26.4", - "suffix" : "" - } - }, - "objects" : - [ - { - "jsonFile" : "codemodel-v2-c6ffc0b664e1b12e7dfc.json", - "kind" : "codemodel", - "version" : - { - "major" : 2, - "minor" : 5 - } - }, - { - "jsonFile" : "cache-v2-797367ee73be0946ea69.json", - "kind" : "cache", - "version" : - { - "major" : 2, - "minor" : 0 - } - }, - { - "jsonFile" : "cmakeFiles-v1-9ac3996b5bf98606de02.json", - "kind" : "cmakeFiles", - "version" : - { - "major" : 1, - "minor" : 0 - } - }, - { - "jsonFile" : "toolchains-v1-e0f424cc4383644d699f.json", - "kind" : "toolchains", - "version" : - { - "major" : 1, - "minor" : 0 - } - } - ], - "reply" : - { - "cache-v2" : - { - "jsonFile" : "cache-v2-797367ee73be0946ea69.json", - "kind" : "cache", - "version" : - { - "major" : 2, - "minor" : 0 - } - }, - "cmakeFiles-v1" : - { - "jsonFile" : "cmakeFiles-v1-9ac3996b5bf98606de02.json", - "kind" : "cmakeFiles", - "version" : - { - "major" : 1, - "minor" : 0 - } - }, - "codemodel-v2" : - { - "jsonFile" : "codemodel-v2-c6ffc0b664e1b12e7dfc.json", - "kind" : "codemodel", - "version" : - { - "major" : 2, - "minor" : 5 - } - }, - "toolchains-v1" : - { - "jsonFile" : "toolchains-v1-e0f424cc4383644d699f.json", - "kind" : "toolchains", - "version" : - { - "major" : 1, - "minor" : 0 - } - } - } -} diff --git a/cmake-build-debug/.cmake/api/v1/reply/target-pmuw_projekt_notebinder-Debug-439d4177ec694957d283.json b/cmake-build-debug/.cmake/api/v1/reply/target-pmuw_projekt_notebinder-Debug-439d4177ec694957d283.json deleted file mode 100644 index b84f699..0000000 --- a/cmake-build-debug/.cmake/api/v1/reply/target-pmuw_projekt_notebinder-Debug-439d4177ec694957d283.json +++ /dev/null @@ -1,159 +0,0 @@ -{ - "artifacts" : - [ - { - "path" : "pmuw_projekt_notebinder" - } - ], - "backtrace" : 1, - "backtraceGraph" : - { - "commands" : - [ - "add_executable", - "include_directories" - ], - "files" : - [ - "CMakeLists.txt" - ], - "nodes" : - [ - { - "file" : 0 - }, - { - "command" : 0, - "file" : 0, - "line" : 10, - "parent" : 0 - }, - { - "command" : 1, - "file" : 0, - "line" : 6, - "parent" : 0 - }, - { - "command" : 1, - "file" : 0, - "line" : 7, - "parent" : 0 - }, - { - "command" : 1, - "file" : 0, - "line" : 8, - "parent" : 0 - } - ] - }, - "compileGroups" : - [ - { - "compileCommandFragments" : - [ - { - "fragment" : "-g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics" - } - ], - "includes" : - [ - { - "backtrace" : 2, - "path" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c" - }, - { - "backtrace" : 3, - "path" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman" - }, - { - "backtrace" : 4, - "path" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template" - } - ], - "language" : "C", - "languageStandard" : - { - "backtraces" : - [ - 1 - ], - "standard" : "11" - }, - "sourceIndexes" : - [ - 0, - 2 - ] - } - ], - "id" : "pmuw_projekt_notebinder::@6890427a1f51a3e7e1df", - "link" : - { - "commandFragments" : - [ - { - "fragment" : "-g", - "role" : "flags" - }, - { - "fragment" : "", - "role" : "flags" - } - ], - "language" : "C" - }, - "name" : "pmuw_projekt_notebinder", - "nameOnDisk" : "pmuw_projekt_notebinder", - "paths" : - { - "build" : ".", - "source" : "." - }, - "sourceGroups" : - [ - { - "name" : "Source Files", - "sourceIndexes" : - [ - 0, - 2 - ] - }, - { - "name" : "Header Files", - "sourceIndexes" : - [ - 1, - 3 - ] - } - ], - "sources" : - [ - { - "backtrace" : 1, - "compileGroupIndex" : 0, - "path" : "src/main/c/Hangman/word_selector.c", - "sourceGroupIndex" : 0 - }, - { - "backtrace" : 1, - "path" : "src/main/c/Hangman/word_selector.h", - "sourceGroupIndex" : 1 - }, - { - "backtrace" : 1, - "compileGroupIndex" : 0, - "path" : "src/main/c/main.c", - "sourceGroupIndex" : 0 - }, - { - "backtrace" : 1, - "path" : "src/main/c/main.h", - "sourceGroupIndex" : 1 - } - ], - "type" : "EXECUTABLE" -} diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index 6c9cd667e0ac75eb9e3472fe5dfca889d2226340..5e1fdca1799d8b8b7eb21c0b7194a018e361620e 100644 GIT binary patch delta 808 zcmaiyOH30{6o&6X3R5XzN*}yREh185GD#P1Of=vIl9telrYP2NoRW654A_>K7!xsZ z;f6#w8y6;mg7_-7f^Sjrjf#T!T)61g9ea{`X21w57jx#^f6l%Cch21N!L;98>rxf< zh!pPZNvzLjj5Q3Hw-t3siYmxLH)A<0F7ak2lf`(*?k$KZhlS`*l=53~sf2?cxL6Rx z13U-cDQm|mz7W1?UyTVRqDnC#`jzxnjG1}(f~WJmI8?#moSB0K%vAiV`i!1Z5$18A zv;*c)s&2vU7CU^xfJKCln6Vs%S**53-~(p4cKl^6g7+9G3}S=L1n)EkW3LhxlR}iu zXfA_!`M6{=8Q$h{IX_BJk7=jNsHj>2V{b5IZ-dvEv5W8u&1E9I#A6g+;5^0W=qVRr z8V4vo!^LtLp00rN@Pwd)Ftu!9zb6yv>Wrw)A&8yzCt#bJjGcXT&@H4l?C2pJ~y5j&h5+}5*` zPR@{7)tB3rrd2brK5C6E{odl)6-t!>2I|nTnUs3W){Ws=mk(~Cr)GbiJWj6;NMV0X z8{8xk8E)tYU)adOb!xa{u$F^sG^3WnxS~dc=v8gh#qor4Vwsk)F`TZI;R^j|pDC#o zCG^3L(m6hy*<^tcy$N?6UvZh>dI-)>C_6$nWB<8SS%C80YXC1A+eq6(&tB}>y218$ z$3$wuIhq~+{|-Fk+Gz>LrQ^+#8tIZ&?k>ATz54hyI%C6{=w2<-tr#NC5ytvL#4vkm L+4UghqQ?0LK&KmW delta 1037 zcmZ`&OH30{6n)oFY;{^%G88H_`QAB0{I=bU5r`dxEh)^l3q-t)5?6XTQ-@D)^L+Zjf0w01WDDVMz zoSs{UpZHpMM83W7P~CdCh=&I%Gn#q)Xl}u7Glvbuew;OH;a=8QF%NfD)=TUT-q-kW zzLih=w=R6c?|6$cp{(R(XWa#u7S zu}l4wAV~?l%-fx#M^K1l0(2q6MxS(_(|DH%;RGZ#`=_N_QZ zi8lYMSQjd+k91_x*-QUDxao(gBjhx;uP#`mJJkE%eB5Hizg;a&eEaJH+TJZ@4U76=l7e0Py{3dT?ft93o$LCu!PtM-3L|G z{yq2heYJ1kFh#4yy}3Gcokw}DV4$iF_6-eIcf0o|s$;_U8xSrljZjrbPB>(FQk(C= zFL;xg^NS*%=CvaAqOfAaP*vN>C+(F`ZN6xam#ie$WPkvB>wNhMF^X9m2rd8b>wp_pZeU$usLw*wS zYjgNrZbR?&X{f5+y=QQb+I#rW5f4?uUsPyascGvFBqa&EAb=g5%S+@uFAG)va?)~K#Sg5HBKFJkI0HJ#PSL6CSgeXvbv}#Idw)=hwJ~1LT zw?M;>32`ghmM7pNcoXb?D9L(X@v{;epusxfR>_seg=nsdcn-y)P+Dj4yq$|1dNQ6q zZlvLpbU>+&4Szh@{K?^-TVMU@e9!6rpWU|&u_)A=6S9PwU7Oeo<^8(Pp>gL&K4c5# zM|sZUcM}wPZa0+rXwFJcH-45%r54n4@gi}V zq3xUoU$00v&KD-Y1egF5U;<2l2`~XBzyz286JP>NfC(@GCcp%k025#WOn?b60Vco% zm;e)C0!)AjFaajO1egF5U;<2l2`~XBzyz286JP>NfC(@GCcp%k025#W|4RbPPl)-Y zNo97aR}`_e?(HcdPK`se(37FUK)C76_V6Q-j<5)il`d_%P`Y&b!fdGUcI1)B53yfv zCOp5hD3r)kOOtzMk*hdYr@pg%iE@T!m*8K-JzGR!p!D*lZfu`xE4{3CFGNI_Yi}3x z3#-Moi@lpJV2(55!Cl3#;km9ov8#BXY`?dwxW8=Q-c!7%Y)|wQd&~AOdy0v&-Lkug zZL3}$V|Vc`*bA!@*RIxy;ub|*bMw!5@lN!WdesXHt>U$CgLr7+=F{z?b>dE{Z=p5u zS~%jx7D9p88h>0cw$2}?1jcRjVowHRMa6x_8$#TPJ(z8zjnD`bJlnAMvaQSldl^q% z1UKwwY@>S4E-&AVcQmjxxpx+fUDnvU_)<$KaZQ9az2n-e0(N7-ZVuS%1NMf1-R{}; zm~I#-qDscC+{$Lom5#JNJS=n4Ov#my5GiTMWKMH*%dA8-+qP1AO)!_`N=h0s6ATG)OpfX)BbX5VD9IVE9tWOQ-qr&s-G1DP zDIL}1s3Fbh5nV>5Zp!H4ELC(@qlj#c9m(p_*c!DRE$2uRp>1AhTOhRE3vCaCc6gy3 zfzZ~@&e)*LWDU)cfpAx>Z$ft(#i#MUus+2n{K|tZ?Zu@%?g_M{v_G9B;a)2j+V9(h zEG=#(H%{A;eQ7CBe(cmOP(Eti{lRFxK`n&_KkjdnF1RjVm;e)C0!)AjFaajO1egF5 zU;<2l2`~XBzyz286JP>NfC(@GCcp%k025#WOn?b60Vco%m;e)C0!)AjFaajO1egF5 zU;<2l2`~XBzyz286JP>NfC(@GCcp%k025#WOn?b6f&UtTC^Gd!vrzgrxpx)-3`pRR z0QcM9Uex;zxJckMfJ8as-KXFH0R<;)D4U_3(A`iRG@{(^k5fmalN!a@3ThUgwReVv zn$yg*Q0~(;aQXYgC{oRgs&Yc6@{UwT zrIyCA6OoLDLmk%GI4mRO4B!z~=BSlRi}g5YBW)khZAaj+59Anh3!^!w0~4q7Inr*A zcR5$%{{sFnNX>Vja|@(fW4O>+3}n+84Vwc##ehV3PxHnc3iQX&7loFE#s}*eKpZA8d->csUZHIP1 zsm>4UiwgAv7L)2OCiS|-q*fNw$5_|#FWWL_$89aC#d{CnT#^2q^>wUPJD$zt$MO4s zH|D6O<;bLNVo}HKTq;hb#8dHonmLlu%($Qu{K~9cEG7Q^tf`DPChth*bt8R8S|;-& z@!o@o+@l-vhNZ;P`UjR%Q%%hJ81)2ZDQLF;w@G;q#~doM_-@l2R^}N*%4@j|G5kD~ z84;=%B7{HhU+Iv47mgm9?u>?T{K~&1%A7w;xxp$BU9(f)o?DlCK>tbWpZ@x4OaJt< zvh|raUYR;|^=~gW>znIdeDsBLL)Nda4$swJo}V8J9Uf{}K5_oU!_&Y0`BVE&-u~Q2 z^*{FbSI(BUUe + +void drawHangman(int incorrectGuesses) { + + if (incorrectGuesses == 0) { + printf(" +---+\n"); + printf(" |\n"); + printf(" |\n"); + printf(" |\n"); + printf(" |\n"); + printf(" |\n"); + printf("=========\n"); + } + + if (incorrectGuesses == 1) { + printf(" +---+\n"); + printf(" | |\n"); + printf(" |\n"); + printf(" |\n"); + printf(" |\n"); + printf(" |\n"); + printf("=========\n"); + } + + if (incorrectGuesses == 2) { + printf(" +---+\n"); + printf(" | |\n"); + printf(" O |\n"); + printf(" |\n"); + printf(" |\n"); + printf(" |\n"); + printf("=========\n"); + } + + if (incorrectGuesses == 3) { + printf(" +---+\n"); + printf(" | |\n"); + printf(" O |\n"); + printf(" | |\n"); + printf(" |\n"); + printf(" |\n"); + printf("=========\n"); + } + + if (incorrectGuesses == 4) { + printf(" +---+\n"); + printf(" | |\n"); + printf(" O |\n"); + printf(" /| |\n"); + printf(" |\n"); + printf(" |\n"); + printf("=========\n"); + } + + if (incorrectGuesses == 5) { + printf(" +---+\n"); + printf(" | |\n"); + printf(" O |\n"); + printf(" /|\\ |\n"); + printf(" |\n"); + printf(" |\n"); + printf("=========\n"); + } + + if (incorrectGuesses == 6) { + printf(" +---+\n"); + printf(" | |\n"); + printf(" O |\n"); + printf(" /|\\ |\n"); + printf(" / \\ |\n"); + printf(" |\n"); + printf("=========\n"); + } + + if (incorrectGuesses >= 7) { + printf(" \n"); + printf(" __ _ __ _ _ __ ___ ___ _____ _____ _ __ \n"); + printf(" / _` |/ _` | '_ ` _ \\ / _ \\ / _ \\ \\ / / _ \\ '__|\n"); + printf(" | (_| | (_| | | | | | | __/ | (_) \\ V / __/ | \n"); + printf(" \\__, |\\__,_|_| |_| |_|\\___| \\___/ \\_/ \\___|_| \n"); + printf(" |___/ \n"); + + } +} \ No newline at end of file diff --git a/src/main/c/Hangman/drawHangman.h b/src/main/c/Hangman/drawHangman.h new file mode 100644 index 0000000..6c6334f --- /dev/null +++ b/src/main/c/Hangman/drawHangman.h @@ -0,0 +1,8 @@ +// +// Created by Saba Fazlali on 29.01.24. +// + +#ifndef PMUW_PROJEKT_NOTEBINDER_DRAWHANGMAN_H +#define PMUW_PROJEKT_NOTEBINDER_DRAWHANGMAN_H + +#endif //PMUW_PROJEKT_NOTEBINDER_DRAWHANGMAN_H From 85a1bdae5c01c50080a3be804dfc2c404f37bc30 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Mon, 29 Jan 2024 19:18:39 +0100 Subject: [PATCH 04/74] basic rules are explained --- CMakeLists.txt | 2 ++ cmake-build-debug/.ninja_deps | Bin 10288 -> 10492 bytes cmake-build-debug/.ninja_log | 10 ++++++---- .../Testing/Temporary/LastTest.log | 4 ++-- cmake-build-debug/build.ninja | 9 ++++++++- src/main/c/Hangman/rules.c | 8 ++++++++ src/main/c/Hangman/rules.h | 8 ++++++++ 7 files changed, 34 insertions(+), 7 deletions(-) create mode 100644 src/main/c/Hangman/rules.c create mode 100644 src/main/c/Hangman/rules.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 5538ad5..5cae33b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,4 +15,6 @@ add_executable(pmuw_projekt_notebinder src/main/c/main.h src/main/c/Hangman/drawHangman.c src/main/c/Hangman/drawHangman.h + src/main/c/Hangman/rules.c + src/main/c/Hangman/rules.h ) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index 5e1fdca1799d8b8b7eb21c0b7194a018e361620e..cb10c6589443374fa7cade54fbbf5488f591e6c2 100644 GIT binary patch delta 117 zcmdlG@F#G?9OcadstU}43m6z0Vi_11o@ZDH#XVjp9yfWR>|{odiGrq+&&qS~7nSCu y7V9PJ%MPu_6WesKk>;DV` diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index eb76abb..971a097 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -1,9 +1,11 @@ # ninja log v5 1 38 1706122217155672196 CMakeFiles/pmuw_projekt_notebinder.dir/test/Hangman/word_selector_test.c.o e932f546d59a9d76 -2 168 1706178769260469565 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 -0 40 1706549371890997682 build.ninja f2183aada2fc9ffc +0 40 1706551052328412558 build.ninja f2183aada2fc9ffc 1 38 1706122372717341436 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d -1 44 1706122039878920765 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o 69a5bcd8c57a43b3 -168 257 1706178769348509184 pmuw_projekt_notebinder d4d2c5136dd5469e 1 145 1706549408123039155 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 1 145 1706549408123027405 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 +1 44 1706122039878920765 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o 69a5bcd8c57a43b3 +168 257 1706178769348509184 pmuw_projekt_notebinder d4d2c5136dd5469e +0 106 1706551301992114407 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 +0 106 1706551301992128657 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o cdaff7b94c55641c +106 195 1706551302079685763 pmuw_projekt_notebinder fbb48fd3bf0b96c1 diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index e29350d..370c1c4 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Jan 29 18:29 CET +Start testing: Jan 29 19:01 CET ---------------------------------------------------------- -End testing: Jan 29 18:29 CET +End testing: Jan 29 19:01 CET diff --git a/cmake-build-debug/build.ninja b/cmake-build-debug/build.ninja index 46fbc18..1c8a21f 100644 --- a/cmake-build-debug/build.ninja +++ b/cmake-build-debug/build.ninja @@ -70,6 +70,13 @@ build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o: OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman +build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/rules.c || cmake_object_order_depends_target_pmuw_projekt_notebinder + DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o.d + FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics + INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template + OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir + OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman + # ============================================================================= # Link build statements for EXECUTABLE target pmuw_projekt_notebinder @@ -78,7 +85,7 @@ build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o: ############################################# # Link the executable pmuw_projekt_notebinder -build pmuw_projekt_notebinder: C_EXECUTABLE_LINKER__pmuw_projekt_notebinder_Debug CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o +build pmuw_projekt_notebinder: C_EXECUTABLE_LINKER__pmuw_projekt_notebinder_Debug CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o FLAGS = -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir POST_BUILD = : diff --git a/src/main/c/Hangman/rules.c b/src/main/c/Hangman/rules.c new file mode 100644 index 0000000..6286db9 --- /dev/null +++ b/src/main/c/Hangman/rules.c @@ -0,0 +1,8 @@ +#include "rules.h" +#include + +void printRules(){ + printf("Rules: \n"); + printf(" - You are allowed a maximum of 6 mistakes.\n"); + printf(" - All alphabet are in lower case.\n"); +} \ No newline at end of file diff --git a/src/main/c/Hangman/rules.h b/src/main/c/Hangman/rules.h new file mode 100644 index 0000000..5e52710 --- /dev/null +++ b/src/main/c/Hangman/rules.h @@ -0,0 +1,8 @@ +// +// Created by Saba Fazlali on 29.01.24. +// + +#ifndef PMUW_PROJEKT_NOTEBINDER_RULES_H +#define PMUW_PROJEKT_NOTEBINDER_RULES_H + +#endif //PMUW_PROJEKT_NOTEBINDER_RULES_H From 151b2ac99475c89c4f726f3775b1987abe320cfc Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 31 Jan 2024 13:17:31 +0100 Subject: [PATCH 05/74] Hangman Initialization --- CMakeLists.txt | 2 ++ cmake-build-debug/.ninja_deps | Bin 10492 -> 10232 bytes cmake-build-debug/.ninja_log | 8 +++----- .../Testing/Temporary/LastTest.log | 4 ++-- cmake-build-debug/build.ninja | 9 ++++++++- src/main/c/Hangman/initializeHangman.c | 16 ++++++++++++++++ src/main/c/Hangman/initializeHangman.h | 8 ++++++++ 7 files changed, 39 insertions(+), 8 deletions(-) create mode 100644 src/main/c/Hangman/initializeHangman.c create mode 100644 src/main/c/Hangman/initializeHangman.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 5cae33b..a6af89f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,4 +17,6 @@ add_executable(pmuw_projekt_notebinder src/main/c/Hangman/drawHangman.h src/main/c/Hangman/rules.c src/main/c/Hangman/rules.h + src/main/c/Hangman/initializeHangman.c + src/main/c/Hangman/initializeHangman.h ) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index cb10c6589443374fa7cade54fbbf5488f591e6c2..884aefbf537551877b2baf6c41e2bbd0018e5860 100644 GIT binary patch delta 54 zcmewp_``q04%Nwf)ZQ>InEY2gh$(qKkP4QZ_y7O@B@7G=@eB+M6Bk$r#XVjpo&aPg JPF^TG835JE7nlG5 delta 124 zcmez2|0i(64%Nv9@}3$gMTzAeiFxU{iFtY%3=9kY|Np;)fuSLmfq~&{{bjkO57&vu z0on1B7s^hayhHU3>wKV!fXRmP9y~>*IjO~Z$@5?W3J`&exll6_fchpbun>xSyiPn3 J$W8*80RRe;G&cYM diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index 971a097..58af875 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -1,11 +1,9 @@ # ninja log v5 1 38 1706122217155672196 CMakeFiles/pmuw_projekt_notebinder.dir/test/Hangman/word_selector_test.c.o e932f546d59a9d76 -0 40 1706551052328412558 build.ninja f2183aada2fc9ffc +0 40 1706703246979925624 build.ninja f2183aada2fc9ffc 1 38 1706122372717341436 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d 1 145 1706549408123039155 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 -1 145 1706549408123027405 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 -1 44 1706122039878920765 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o 69a5bcd8c57a43b3 -168 257 1706178769348509184 pmuw_projekt_notebinder d4d2c5136dd5469e -0 106 1706551301992114407 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 0 106 1706551301992128657 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o cdaff7b94c55641c +0 106 1706551301992114407 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 +1 44 1706122039878920765 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o 69a5bcd8c57a43b3 106 195 1706551302079685763 pmuw_projekt_notebinder fbb48fd3bf0b96c1 diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index 370c1c4..678f644 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Jan 29 19:01 CET +Start testing: Jan 31 13:14 CET ---------------------------------------------------------- -End testing: Jan 29 19:01 CET +End testing: Jan 31 13:14 CET diff --git a/cmake-build-debug/build.ninja b/cmake-build-debug/build.ninja index 1c8a21f..042faf8 100644 --- a/cmake-build-debug/build.ninja +++ b/cmake-build-debug/build.ninja @@ -77,6 +77,13 @@ build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o: C_COM OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman +build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/initializeHangman.c || cmake_object_order_depends_target_pmuw_projekt_notebinder + DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o.d + FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics + INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template + OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir + OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman + # ============================================================================= # Link build statements for EXECUTABLE target pmuw_projekt_notebinder @@ -85,7 +92,7 @@ build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o: C_COM ############################################# # Link the executable pmuw_projekt_notebinder -build pmuw_projekt_notebinder: C_EXECUTABLE_LINKER__pmuw_projekt_notebinder_Debug CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o +build pmuw_projekt_notebinder: C_EXECUTABLE_LINKER__pmuw_projekt_notebinder_Debug CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o FLAGS = -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir POST_BUILD = : diff --git a/src/main/c/Hangman/initializeHangman.c b/src/main/c/Hangman/initializeHangman.c new file mode 100644 index 0000000..08b980d --- /dev/null +++ b/src/main/c/Hangman/initializeHangman.c @@ -0,0 +1,16 @@ +#include +#include +#include + +void initializeHangman(char *wordToGuess, char *currentGuess) { + int wordLength = strlen(wordToGuess); + + for (int i = 0; i < wordLength; ++i) { + if (isalpha(wordToGuess[i])) { + currentGuess[i] = '_'; + } else { + currentGuess[i] = wordToGuess[i]; + } + } + currentGuess[wordLength] = '\0'; +} \ No newline at end of file diff --git a/src/main/c/Hangman/initializeHangman.h b/src/main/c/Hangman/initializeHangman.h new file mode 100644 index 0000000..2ea55ca --- /dev/null +++ b/src/main/c/Hangman/initializeHangman.h @@ -0,0 +1,8 @@ +// +// Created by Saba Fazlali on 31.01.24. +// + +#ifndef PMUW_PROJEKT_NOTEBINDER_INITIALIZEHANGMAN_H +#define PMUW_PROJEKT_NOTEBINDER_INITIALIZEHANGMAN_H + +#endif //PMUW_PROJEKT_NOTEBINDER_INITIALIZEHANGMAN_H From d0cf9a6ff074cdd60590b9247bd9d12d361244fa Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 31 Jan 2024 13:22:54 +0100 Subject: [PATCH 06/74] Current State added + small changes in header files --- CMakeLists.txt | 2 ++ src/main/c/Hangman/currentState.c | 6 ++++++ src/main/c/Hangman/currentState.h | 4 ++++ src/main/c/Hangman/drawHangman.c | 2 +- src/main/c/Hangman/drawHangman.h | 6 ++---- src/main/c/Hangman/initializeHangman.c | 5 +---- src/main/c/Hangman/initializeHangman.h | 8 +++----- src/main/c/Hangman/rules.c | 1 - src/main/c/Hangman/rules.h | 6 +----- src/main/c/Hangman/word_selector.c | 4 ---- src/main/c/Hangman/word_selector.h | 4 ---- 11 files changed, 20 insertions(+), 28 deletions(-) create mode 100644 src/main/c/Hangman/currentState.c create mode 100644 src/main/c/Hangman/currentState.h diff --git a/CMakeLists.txt b/CMakeLists.txt index a6af89f..fb852cf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,4 +19,6 @@ add_executable(pmuw_projekt_notebinder src/main/c/Hangman/rules.h src/main/c/Hangman/initializeHangman.c src/main/c/Hangman/initializeHangman.h + src/main/c/Hangman/currentState.c + src/main/c/Hangman/currentState.h ) diff --git a/src/main/c/Hangman/currentState.c b/src/main/c/Hangman/currentState.c new file mode 100644 index 0000000..6ee9bac --- /dev/null +++ b/src/main/c/Hangman/currentState.c @@ -0,0 +1,6 @@ +#include "currentState.h" + +void currentState(char *currentGuess, int mistakes) { + printf("Current Word: %s \n", currentGuess); + printf("Mistakes Made: %d/6 \n", mistakes); +} \ No newline at end of file diff --git a/src/main/c/Hangman/currentState.h b/src/main/c/Hangman/currentState.h new file mode 100644 index 0000000..41a99ec --- /dev/null +++ b/src/main/c/Hangman/currentState.h @@ -0,0 +1,4 @@ +#ifndef PMUW_PROJEKT_NOTEBINDER_CURRENTSTATE_H +#define PMUW_PROJEKT_NOTEBINDER_CURRENTSTATE_H +#include +#endif //PMUW_PROJEKT_NOTEBINDER_CURRENTSTATE_H diff --git a/src/main/c/Hangman/drawHangman.c b/src/main/c/Hangman/drawHangman.c index a4ae31f..4a78ad5 100644 --- a/src/main/c/Hangman/drawHangman.c +++ b/src/main/c/Hangman/drawHangman.c @@ -1,4 +1,4 @@ -#include +#include "drawHangman.h" void drawHangman(int incorrectGuesses) { diff --git a/src/main/c/Hangman/drawHangman.h b/src/main/c/Hangman/drawHangman.h index 6c6334f..2c31273 100644 --- a/src/main/c/Hangman/drawHangman.h +++ b/src/main/c/Hangman/drawHangman.h @@ -1,8 +1,6 @@ -// -// Created by Saba Fazlali on 29.01.24. -// - #ifndef PMUW_PROJEKT_NOTEBINDER_DRAWHANGMAN_H #define PMUW_PROJEKT_NOTEBINDER_DRAWHANGMAN_H +#include + #endif //PMUW_PROJEKT_NOTEBINDER_DRAWHANGMAN_H diff --git a/src/main/c/Hangman/initializeHangman.c b/src/main/c/Hangman/initializeHangman.c index 08b980d..221e50e 100644 --- a/src/main/c/Hangman/initializeHangman.c +++ b/src/main/c/Hangman/initializeHangman.c @@ -1,7 +1,4 @@ -#include -#include -#include - +#include "initializeHangman.h" void initializeHangman(char *wordToGuess, char *currentGuess) { int wordLength = strlen(wordToGuess); diff --git a/src/main/c/Hangman/initializeHangman.h b/src/main/c/Hangman/initializeHangman.h index 2ea55ca..58f5700 100644 --- a/src/main/c/Hangman/initializeHangman.h +++ b/src/main/c/Hangman/initializeHangman.h @@ -1,8 +1,6 @@ -// -// Created by Saba Fazlali on 31.01.24. -// - #ifndef PMUW_PROJEKT_NOTEBINDER_INITIALIZEHANGMAN_H #define PMUW_PROJEKT_NOTEBINDER_INITIALIZEHANGMAN_H - +#include +#include +#include #endif //PMUW_PROJEKT_NOTEBINDER_INITIALIZEHANGMAN_H diff --git a/src/main/c/Hangman/rules.c b/src/main/c/Hangman/rules.c index 6286db9..f7802bb 100644 --- a/src/main/c/Hangman/rules.c +++ b/src/main/c/Hangman/rules.c @@ -1,5 +1,4 @@ #include "rules.h" -#include void printRules(){ printf("Rules: \n"); diff --git a/src/main/c/Hangman/rules.h b/src/main/c/Hangman/rules.h index 5e52710..35b01a1 100644 --- a/src/main/c/Hangman/rules.h +++ b/src/main/c/Hangman/rules.h @@ -1,8 +1,4 @@ -// -// Created by Saba Fazlali on 29.01.24. -// - #ifndef PMUW_PROJEKT_NOTEBINDER_RULES_H #define PMUW_PROJEKT_NOTEBINDER_RULES_H - +#include #endif //PMUW_PROJEKT_NOTEBINDER_RULES_H diff --git a/src/main/c/Hangman/word_selector.c b/src/main/c/Hangman/word_selector.c index 0375253..157fb93 100644 --- a/src/main/c/Hangman/word_selector.c +++ b/src/main/c/Hangman/word_selector.c @@ -1,7 +1,3 @@ -// -// Created by Saba Fazlali on 22.01.24. -// - #include "word_selector.h" const char wordsList[NUM_WORDS][MAX_WORD_LENGTH + 1] = { diff --git a/src/main/c/Hangman/word_selector.h b/src/main/c/Hangman/word_selector.h index 9d5dd39..d606871 100644 --- a/src/main/c/Hangman/word_selector.h +++ b/src/main/c/Hangman/word_selector.h @@ -1,7 +1,3 @@ -// -// Created by Saba Fazlali on 24.01.24. -// - #ifndef PMUW_PROJEKT_NOTEBINDER_WORD_SELECTOR_H #define PMUW_PROJEKT_NOTEBINDER_WORD_SELECTOR_H From 81858366e7b4b30ed3cf855b4d18b140f6f71aad Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 31 Jan 2024 13:36:13 +0100 Subject: [PATCH 07/74] hang man main body (basics) --- CMakeLists.txt | 2 ++ cmake-build-debug/.ninja_log | 4 +-- .../Testing/Temporary/LastTest.log | 4 +-- cmake-build-debug/build.ninja | 16 ++++++++- src/main/c/Hangman/playHangman.c | 33 +++++++++++++++++++ src/main/c/Hangman/playHangman.h | 12 +++++++ 6 files changed, 66 insertions(+), 5 deletions(-) create mode 100644 src/main/c/Hangman/playHangman.c create mode 100644 src/main/c/Hangman/playHangman.h diff --git a/CMakeLists.txt b/CMakeLists.txt index fb852cf..1856cfe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,4 +21,6 @@ add_executable(pmuw_projekt_notebinder src/main/c/Hangman/initializeHangman.h src/main/c/Hangman/currentState.c src/main/c/Hangman/currentState.h + src/main/c/Hangman/playHangman.c + src/main/c/Hangman/playHangman.h ) diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index 58af875..0a3593e 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -1,9 +1,9 @@ # ninja log v5 1 38 1706122217155672196 CMakeFiles/pmuw_projekt_notebinder.dir/test/Hangman/word_selector_test.c.o e932f546d59a9d76 -0 40 1706703246979925624 build.ninja f2183aada2fc9ffc +0 40 1706703919580754893 build.ninja f2183aada2fc9ffc 1 38 1706122372717341436 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d -1 145 1706549408123039155 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 0 106 1706551301992128657 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o cdaff7b94c55641c +1 145 1706549408123039155 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 0 106 1706551301992114407 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 1 44 1706122039878920765 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o 69a5bcd8c57a43b3 106 195 1706551302079685763 pmuw_projekt_notebinder fbb48fd3bf0b96c1 diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index 678f644..f24ee92 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Jan 31 13:14 CET +Start testing: Jan 31 13:25 CET ---------------------------------------------------------- -End testing: Jan 31 13:14 CET +End testing: Jan 31 13:25 CET diff --git a/cmake-build-debug/build.ninja b/cmake-build-debug/build.ninja index 042faf8..8c168ac 100644 --- a/cmake-build-debug/build.ninja +++ b/cmake-build-debug/build.ninja @@ -84,6 +84,20 @@ build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangma OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman +build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/currentState.c || cmake_object_order_depends_target_pmuw_projekt_notebinder + DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o.d + FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics + INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template + OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir + OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman + +build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/playHangman.c || cmake_object_order_depends_target_pmuw_projekt_notebinder + DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o.d + FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics + INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template + OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir + OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman + # ============================================================================= # Link build statements for EXECUTABLE target pmuw_projekt_notebinder @@ -92,7 +106,7 @@ build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangma ############################################# # Link the executable pmuw_projekt_notebinder -build pmuw_projekt_notebinder: C_EXECUTABLE_LINKER__pmuw_projekt_notebinder_Debug CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o +build pmuw_projekt_notebinder: C_EXECUTABLE_LINKER__pmuw_projekt_notebinder_Debug CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o FLAGS = -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir POST_BUILD = : diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c new file mode 100644 index 0000000..4712c5e --- /dev/null +++ b/src/main/c/Hangman/playHangman.c @@ -0,0 +1,33 @@ +#include "playHangman.h" + +void playHangman(char *wordToGuess) { + int mistakes = 0; + char guessedLetters[30]; //guessed letters + char currentGuess[50]; //current state of the guessed word + + // Initialize the current guess and print the rules + initializeHangman(wordToGuess, currentGuess); + printRules(); + + while (mistakes < MAX_MISTAKES) { + currentState(currentGuess, mistakes); + + // Get a letter from the player + char guess; + printf("\n\t Enter your guess (lower case): "); + scanf(" %c", &guess); + + // Add the guessed letter to the list + guessedLetters[strlen(guessedLetters)] = guess; + + // Check if the guessed letter is in the word + int found = 0; + for (int i = 0; i < strlen(wordToGuess); ++i) { + if (wordToGuess[i] == guess) { + currentGuess[i] = guess; + found = 1; + } + } + + } +} \ No newline at end of file diff --git a/src/main/c/Hangman/playHangman.h b/src/main/c/Hangman/playHangman.h new file mode 100644 index 0000000..c28fb46 --- /dev/null +++ b/src/main/c/Hangman/playHangman.h @@ -0,0 +1,12 @@ +// +// Created by Saba Fazlali on 31.01.24. +// + +#ifndef PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H +#define PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H +#include +#define MAX_MISTAKES 6 +#include "initializeHangman.c" +#include "rules.c" +#include "currentState.c" +#endif //PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H From dcceee5faf9ef8bfc529df270ae539dccb702d56 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 31 Jan 2024 13:42:38 +0100 Subject: [PATCH 08/74] check the validation of the guessed letter --- src/main/c/Hangman/playHangman.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index 4712c5e..20380e5 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -14,9 +14,21 @@ void playHangman(char *wordToGuess) { // Get a letter from the player char guess; - printf("\n\t Enter your guess (lower case): "); + printf("Enter your guess: \n"); scanf(" %c", &guess); + // check if the guess is lower case and is a letter (valid) + if (!isalpha(guess) || isupper(guess)) { + printf("Please enter a valid lowercase alphabet.\n"); + continue; + } + + // Check if the letter has already been guessed by the player + if (strchr(guessedLetters, guess) != NULL) { + printf("You already guessed that letter. Try another letter.\n"); + continue; + } + // Add the guessed letter to the list guessedLetters[strlen(guessedLetters)] = guess; From f2fbc269bb2083be7fbfac4e01a46317b7c7aecc Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 31 Jan 2024 13:50:01 +0100 Subject: [PATCH 09/74] update mistakes --- src/main/c/Hangman/playHangman.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index 20380e5..0fe32f7 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -41,5 +41,11 @@ void playHangman(char *wordToGuess) { } } + // Update mistakes (if the guess is wrong) + if(!found){ + mistakes++; + } + + } } \ No newline at end of file From 575824a102828b2f4bf401c16d72e039250b5dac Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 31 Jan 2024 13:54:24 +0100 Subject: [PATCH 10/74] all letters guessed correctly --- src/main/c/Hangman/playHangman.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index 0fe32f7..178c872 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -46,6 +46,14 @@ void playHangman(char *wordToGuess) { mistakes++; } + // Check if the player guessed all the letters + if (strcmp(currentGuess,wordToGuess) == 0){ + currentState(currentGuess, mistakes); + printf("Bravo! You guessed the word: %s \n", wordToGuess); + break; + } + + } } \ No newline at end of file From fbe98a9f624723744e1b8add7c101ed83b395d3d Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 31 Jan 2024 14:11:25 +0100 Subject: [PATCH 11/74] Game Over --- cmake-build-debug/.ninja_deps | Bin 10232 -> 12840 bytes cmake-build-debug/.ninja_log | 6 ++++++ .../src/main/c/Hangman/word_selector.c.o | Bin 3072 -> 3072 bytes src/main/c/Hangman/playHangman.c | 9 ++++++--- src/main/c/Hangman/playHangman.h | 1 + 5 files changed, 13 insertions(+), 3 deletions(-) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index 884aefbf537551877b2baf6c41e2bbd0018e5860..7d5b5d0938bbe3b64c05a200b6d3367d5925ad09 100644 GIT binary patch delta 565 zcmez2zanMB4|UN3Muvs}1_lNnIhmIM1?$BFf$X5o3uVn2CqGb06HYEIDoV{O2`))2 zN!3f%%V%JiJ6TuWM*vlvVGc-814S@{VfO$3|CcZ@G$a9y+@Aw6J{ibPnY>VTGGo9* zLDR{0svN=vIf<1XiFxU{iFptk7-oU3KoMtPm&V zVoqjND%`B;Fi8SZuYo%qp*1In2)xslDAx2QBP6)MRvdGbV_ zaL)3~yps45y^Kj{HsvkhFrUJdE;Gqi+$uuB49pqJ3paO=>$!}Gp zJ+pwUY#`17VhLFV#v%vrW delta 7 OcmZ3H^22|_4|M<$G6W+4 diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index 0a3593e..d117789 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -7,3 +7,9 @@ 0 106 1706551301992114407 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 1 44 1706122039878920765 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o 69a5bcd8c57a43b3 106 195 1706551302079685763 pmuw_projekt_notebinder fbb48fd3bf0b96c1 +0 213 1706706276607336012 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 +1 214 1706706276607356095 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o c4eef1ff589ab182 +1 214 1706706276608460832 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +1 214 1706706276607344137 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 +1 214 1706706276607374928 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o cdaff7b94c55641c +1 214 1706706276607365429 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o 7d64de4520ec9e97 diff --git a/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o b/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o index d4f2c70953be0c024e5cd4578c85474bcb7f1b00..a81ae5130f1cae010503c93b8dbee5158b1c90e5 100644 GIT binary patch delta 41 xcmZpWXpq>z&(6p^S%BS(Uurf30|O`1#F{`x1_nmC&6(_x%#4zo4|CZv0syla2$KK+ delta 41 xcmZpWXpq>z&(6p`S%BS(Uv4%70|O`1#F{`x1_nl@&6(_x%#5;|4|CZv0sypC2%`W1 diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index 178c872..e90d030 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -46,14 +46,17 @@ void playHangman(char *wordToGuess) { mistakes++; } - // Check if the player guessed all the letters + // Win: Check if the player guessed all the letters if (strcmp(currentGuess,wordToGuess) == 0){ currentState(currentGuess, mistakes); printf("Bravo! You guessed the word: %s \n", wordToGuess); break; } - - + // Lose: Print the answer + game over + if (mistakes == MAX_MISTAKES){ + currentState(currentGuess, mistakes); + printf("Oops! You have no more guesses :( \n The answer was: %s \n", wordToGuess); + } } } \ No newline at end of file diff --git a/src/main/c/Hangman/playHangman.h b/src/main/c/Hangman/playHangman.h index c28fb46..6a96e42 100644 --- a/src/main/c/Hangman/playHangman.h +++ b/src/main/c/Hangman/playHangman.h @@ -9,4 +9,5 @@ #include "initializeHangman.c" #include "rules.c" #include "currentState.c" +#include "drawHangman.c" #endif //PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H From 4bd1c49cc370b1a7ffc74a886b4d50379c1d17ed Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Thu, 1 Feb 2024 15:35:14 +0100 Subject: [PATCH 12/74] draw hangman based on mistakes --- cmake-build-debug/.ninja_deps | Bin 12840 -> 13436 bytes cmake-build-debug/.ninja_log | 2 ++ .../Testing/Temporary/LastTest.log | 4 ++-- src/main/c/Hangman/currentState.c | 1 + src/main/c/Hangman/currentState.h | 1 + src/main/c/Hangman/drawHangman.c | 2 +- src/main/c/Hangman/playHangman.c | 13 +++++++------ src/main/c/Hangman/playHangman.h | 7 ++----- 8 files changed, 16 insertions(+), 14 deletions(-) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index 7d5b5d0938bbe3b64c05a200b6d3367d5925ad09..b396b92a0d4c72c2842617482a283e1f842a0f49 100644 GIT binary patch delta 77 zcmZ3H@+V`1hLPwJ28M=M1_lOpBh^)V4zCxF1G4ibFO;1ux`L6RAr;8${`VX#lLlm` YgJdQL=!dWd0(n7`4duEgn`kNk001)?OaK4? delta 7 Ocmey9u_9%Ih7kY|#RGc) diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index d117789..5f3acae 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -13,3 +13,5 @@ 1 214 1706706276607344137 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 1 214 1706706276607374928 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o cdaff7b94c55641c 1 214 1706706276607365429 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o 7d64de4520ec9e97 +1 43 1706797998872539655 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 +2 56 1706797998885305995 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index f24ee92..4dbb2b2 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Jan 31 13:25 CET +Start testing: Feb 01 15:14 CET ---------------------------------------------------------- -End testing: Jan 31 13:25 CET +End testing: Feb 01 15:14 CET diff --git a/src/main/c/Hangman/currentState.c b/src/main/c/Hangman/currentState.c index 6ee9bac..e4bc459 100644 --- a/src/main/c/Hangman/currentState.c +++ b/src/main/c/Hangman/currentState.c @@ -3,4 +3,5 @@ void currentState(char *currentGuess, int mistakes) { printf("Current Word: %s \n", currentGuess); printf("Mistakes Made: %d/6 \n", mistakes); + drawHangman(mistakes); } \ No newline at end of file diff --git a/src/main/c/Hangman/currentState.h b/src/main/c/Hangman/currentState.h index 41a99ec..dbf10bf 100644 --- a/src/main/c/Hangman/currentState.h +++ b/src/main/c/Hangman/currentState.h @@ -1,4 +1,5 @@ #ifndef PMUW_PROJEKT_NOTEBINDER_CURRENTSTATE_H #define PMUW_PROJEKT_NOTEBINDER_CURRENTSTATE_H #include +#include "drawHangman.c" #endif //PMUW_PROJEKT_NOTEBINDER_CURRENTSTATE_H diff --git a/src/main/c/Hangman/drawHangman.c b/src/main/c/Hangman/drawHangman.c index 4a78ad5..46bed5b 100644 --- a/src/main/c/Hangman/drawHangman.c +++ b/src/main/c/Hangman/drawHangman.c @@ -72,7 +72,7 @@ void drawHangman(int incorrectGuesses) { printf("=========\n"); } - if (incorrectGuesses >= 7) { + if (incorrectGuesses >= 6) { printf(" \n"); printf(" __ _ __ _ _ __ ___ ___ _____ _____ _ __ \n"); printf(" / _` |/ _` | '_ ` _ \\ / _ \\ / _ \\ \\ / / _ \\ '__|\n"); diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index e90d030..31cfb79 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -1,9 +1,10 @@ #include "playHangman.h" + void playHangman(char *wordToGuess) { int mistakes = 0; - char guessedLetters[30]; //guessed letters - char currentGuess[50]; //current state of the guessed word + char guessedLetters[30]; //Guessed letters + char currentGuess[50]; //Current state of the guessed word // Initialize the current guess and print the rules initializeHangman(wordToGuess, currentGuess); @@ -17,7 +18,7 @@ void playHangman(char *wordToGuess) { printf("Enter your guess: \n"); scanf(" %c", &guess); - // check if the guess is lower case and is a letter (valid) + // Check if the guess is lower case and is a letter (valid) if (!isalpha(guess) || isupper(guess)) { printf("Please enter a valid lowercase alphabet.\n"); continue; @@ -42,19 +43,19 @@ void playHangman(char *wordToGuess) { } // Update mistakes (if the guess is wrong) - if(!found){ + if (!found) { mistakes++; } // Win: Check if the player guessed all the letters - if (strcmp(currentGuess,wordToGuess) == 0){ + if (strcmp(currentGuess, wordToGuess) == 0) { currentState(currentGuess, mistakes); printf("Bravo! You guessed the word: %s \n", wordToGuess); break; } // Lose: Print the answer + game over - if (mistakes == MAX_MISTAKES){ + if (mistakes == MAX_MISTAKES) { currentState(currentGuess, mistakes); printf("Oops! You have no more guesses :( \n The answer was: %s \n", wordToGuess); } diff --git a/src/main/c/Hangman/playHangman.h b/src/main/c/Hangman/playHangman.h index 6a96e42..ca1348e 100644 --- a/src/main/c/Hangman/playHangman.h +++ b/src/main/c/Hangman/playHangman.h @@ -1,7 +1,3 @@ -// -// Created by Saba Fazlali on 31.01.24. -// - #ifndef PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H #define PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H #include @@ -10,4 +6,5 @@ #include "rules.c" #include "currentState.c" #include "drawHangman.c" -#endif //PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H +#include "word_selector.c" +#endif //PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H \ No newline at end of file From a08379baf9a857fb4aed8a6b3c3f1627b09d4bd6 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Fri, 2 Feb 2024 10:29:46 +0100 Subject: [PATCH 13/74] Draw hangman test --- CMakeLists.txt | 2 ++ cmake-build-debug/.ninja_deps | Bin 13436 -> 12956 bytes cmake-build-debug/.ninja_log | 19 +++++++--------- .../Testing/Temporary/LastTest.log | 4 ++-- cmake-build-debug/build.ninja | 9 +++++++- src/main/c/Hangman/Test/test_drawHangman.c | 21 ++++++++++++++++++ src/main/c/Hangman/Test/test_drawHangman.h | 4 ++++ 7 files changed, 45 insertions(+), 14 deletions(-) create mode 100644 src/main/c/Hangman/Test/test_drawHangman.c create mode 100644 src/main/c/Hangman/Test/test_drawHangman.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 1856cfe..763f8e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,4 +23,6 @@ add_executable(pmuw_projekt_notebinder src/main/c/Hangman/currentState.h src/main/c/Hangman/playHangman.c src/main/c/Hangman/playHangman.h + src/main/c/Hangman/Test/test_drawHangman.c + src/main/c/Hangman/Test/test_drawHangman.h ) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index b396b92a0d4c72c2842617482a283e1f842a0f49..3b1c1d1566359ee9a4ad08b47ee6fac69c956f0e 100644 GIT binary patch delta 577 zcmey9F(-Ay9OX?Ks~9J{sTNHx(e|7?RgYhC!TmFA=t>m|>F2`E4WGUh_fNC4^!*e3HbpkTdtB9NT~ zHbX(%Zt^NkA;vkA3$=ZKEIuZN*-$30bOysLsODs#hW$AZ%_%^3DpYd-<4mCHXvP^p zGJ+$6fnhpOLk!40lS_4kS*O8yS9OFLr%wFn&6!+MS&*ui!7ydwM;{I-XY%BUy5WqI zCQsxEpX{K=AvqDKZ3QDkLmJSg?tjn0-cARyGeEYoW&&ARlLIxS4YPr)93ajGVhRJRBi|^U|?v71qwaSun>xSyiPoB z@V^@9GRB^ z1?$C=f$S8pQ+Tuj7-vn6)ry`RqZP@K!N4#Bs5}PbuE|RJ!mQJgctT7W(76+Lt3Jb!3Z4j9Rpek?>PJW`70kt(yf3+b#TVbZN o8>z0^b9lWt!t@o45dU=ldk&Vt;vc*wgIxo35sH5%8|rNa0Q0l9L;wH) diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index 5f3acae..5be403a 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -1,17 +1,14 @@ # ninja log v5 1 38 1706122217155672196 CMakeFiles/pmuw_projekt_notebinder.dir/test/Hangman/word_selector_test.c.o e932f546d59a9d76 -0 40 1706703919580754893 build.ninja f2183aada2fc9ffc +2 56 1706797998885305995 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +0 40 1706865968377952833 build.ninja f2183aada2fc9ffc 1 38 1706122372717341436 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d -0 106 1706551301992128657 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o cdaff7b94c55641c -1 145 1706549408123039155 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 -0 106 1706551301992114407 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 -1 44 1706122039878920765 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o 69a5bcd8c57a43b3 -106 195 1706551302079685763 pmuw_projekt_notebinder fbb48fd3bf0b96c1 -0 213 1706706276607336012 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 -1 214 1706706276607356095 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o c4eef1ff589ab182 -1 214 1706706276608460832 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 -1 214 1706706276607344137 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 1 214 1706706276607374928 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o cdaff7b94c55641c +0 213 1706706276607336012 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 1 214 1706706276607365429 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o 7d64de4520ec9e97 1 43 1706797998872539655 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 -2 56 1706797998885305995 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +1 44 1706122039878920765 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o 69a5bcd8c57a43b3 +106 195 1706551302079685763 pmuw_projekt_notebinder fbb48fd3bf0b96c1 +1 214 1706706276607356095 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o c4eef1ff589ab182 +1 114 1706866005935734705 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_drawHangman.c.o b4d90a6b54ad1664 +1 115 1706866005935735539 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o c4eef1ff589ab182 diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index 4dbb2b2..b9be6e3 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Feb 01 15:14 CET +Start testing: Feb 02 10:26 CET ---------------------------------------------------------- -End testing: Feb 01 15:14 CET +End testing: Feb 02 10:26 CET diff --git a/cmake-build-debug/build.ninja b/cmake-build-debug/build.ninja index 8c168ac..d97c4a5 100644 --- a/cmake-build-debug/build.ninja +++ b/cmake-build-debug/build.ninja @@ -98,6 +98,13 @@ build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o: OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman +build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_drawHangman.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/Test/test_drawHangman.c || cmake_object_order_depends_target_pmuw_projekt_notebinder + DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_drawHangman.c.o.d + FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics + INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template + OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir + OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test + # ============================================================================= # Link build statements for EXECUTABLE target pmuw_projekt_notebinder @@ -106,7 +113,7 @@ build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o: ############################################# # Link the executable pmuw_projekt_notebinder -build pmuw_projekt_notebinder: C_EXECUTABLE_LINKER__pmuw_projekt_notebinder_Debug CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o +build pmuw_projekt_notebinder: C_EXECUTABLE_LINKER__pmuw_projekt_notebinder_Debug CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_drawHangman.c.o FLAGS = -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir POST_BUILD = : diff --git a/src/main/c/Hangman/Test/test_drawHangman.c b/src/main/c/Hangman/Test/test_drawHangman.c new file mode 100644 index 0000000..c22e956 --- /dev/null +++ b/src/main/c/Hangman/Test/test_drawHangman.c @@ -0,0 +1,21 @@ +#include "test_drawHangman.h" +void test_drawHangman(int mistakes){ + switch (mistakes) { + case 0: + drawHangman(0); + case 1: + drawHangman(1); + case 2: + drawHangman(2); + case 3: + drawHangman(3); + case 4: + drawHangman(4); + case 5: + drawHangman(5); + case 6: + drawHangman(6); + case 10: // More than 6 mistakes + drawHangman(10); + } +} \ No newline at end of file diff --git a/src/main/c/Hangman/Test/test_drawHangman.h b/src/main/c/Hangman/Test/test_drawHangman.h new file mode 100644 index 0000000..2c0ba83 --- /dev/null +++ b/src/main/c/Hangman/Test/test_drawHangman.h @@ -0,0 +1,4 @@ +#ifndef PMUW_PROJEKT_NOTEBINDER_TEST_DRAWHANGMAN_H +#define PMUW_PROJEKT_NOTEBINDER_TEST_DRAWHANGMAN_H +#include "drawHangman.c" +#endif //PMUW_PROJEKT_NOTEBINDER_TEST_DRAWHANGMAN_H From 3ff2b71e3f6ba93ddc78c6ac8efbbe3ec33e7f2e Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Fri, 2 Feb 2024 16:34:24 +0100 Subject: [PATCH 14/74] win/lose message added --- CMakeLists.txt | 2 ++ cmake-build-debug/.ninja_deps | Bin 12956 -> 12788 bytes cmake-build-debug/.ninja_log | 11 +++++------ .../Testing/Temporary/LastTest.log | 4 ++-- cmake-build-debug/build.ninja | 9 ++++++++- src/main/c/Hangman/drawHangman.c | 16 +++++++++------- src/main/c/Hangman/playHangman.c | 9 +++++++++ 7 files changed, 35 insertions(+), 16 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 763f8e7..a83ec3e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,4 +25,6 @@ add_executable(pmuw_projekt_notebinder src/main/c/Hangman/playHangman.h src/main/c/Hangman/Test/test_drawHangman.c src/main/c/Hangman/Test/test_drawHangman.h + src/main/c/Hangman/Test/test_currentState.c + src/main/c/Hangman/Test/test_currentState.h ) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index 3b1c1d1566359ee9a4ad08b47ee6fac69c956f0e..df97cc577c88d495e15633ebfcc2b144956f5e17 100644 GIT binary patch delta 25 hcmbP}`XzZoiss}uh8q|ICJLHPwo~QU?4`Ac9RQSF3G4s> delta 50 zcmey8JSTNSil*oi28M=Y1_p-xIWjK;3f7CK0NJUN7s^ha9HC)1nOB== 6) { - printf(" \n"); - printf(" __ _ __ _ _ __ ___ ___ _____ _____ _ __ \n"); - printf(" / _` |/ _` | '_ ` _ \\ / _ \\ / _ \\ \\ / / _ \\ '__|\n"); - printf(" | (_| | (_| | | | | | | __/ | (_) \\ V / __/ | \n"); - printf(" \\__, |\\__,_|_| |_| |_|\\___| \\___/ \\_/ \\___|_| \n"); - printf(" |___/ \n"); - + printf("\n" + " _____ ____ \n" + " / ____| / __ \\ \n" + " | | __ __ _ _ __ ___ ___ | | | |_ _____ _ __ \n" + " | | |_ |/ _` | '_ ` _ \\ / _ \\ | | | \\ \\ / / _ \\ '__| \n" + " | |__| | (_| | | | | | | __/ | |__| |\\ V / __/ | \n" + " \\_____|\\__,_|_| |_| |_|\\___| \\____/ \\_/ \\___|_| \n" + " \n" + " \n"); } } \ No newline at end of file diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index 31cfb79..6930fdd 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -51,6 +51,15 @@ void playHangman(char *wordToGuess) { if (strcmp(currentGuess, wordToGuess) == 0) { currentState(currentGuess, mistakes); printf("Bravo! You guessed the word: %s \n", wordToGuess); + printf("\n" + " __ __ _ _ _ _ \n" + " \\ \\ / / | | | | (_) | |\n" + " \\ \\_/ /__ _ _ __ _ _ __ ___ | |_| |__ ___ __ ___ _ __ _ __ ___ _ __| |\n" + " \\ / _ \\| | | | / _` | '__/ _ \\ | __| '_ \\ / _ \\ \\ \\ /\\ / / | '_ \\| '_ \\ / _ \\ '__| |\n" + " | | (_) | |_| | | (_| | | | __/ | |_| | | | __/ \\ V V /| | | | | | | | __/ | |_|\n" + " |_|\\___/ \\__,_| \\__,_|_| \\___| \\__|_| |_|\\___| \\_/\\_/ |_|_| |_|_| |_|\\___|_| (_)\n" + " \n" + " "); break; } From f10e07d76a2d08bb9dc7cf31b8df837203f4cbd1 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Fri, 2 Feb 2024 16:51:38 +0100 Subject: [PATCH 15/74] check single letter --- src/main/c/Hangman/playHangman.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index 6930fdd..78298f9 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -24,6 +24,12 @@ void playHangman(char *wordToGuess) { continue; } + // Check if the guess is a single letter + if (strlen(&guess) != 1) { + printf("Please enter only one letter.\n"); + continue; + } + // Check if the letter has already been guessed by the player if (strchr(guessedLetters, guess) != NULL) { printf("You already guessed that letter. Try another letter.\n"); From 924e747d2a2fe156b1c7ad462e8425700e45a6a2 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Fri, 2 Feb 2024 17:22:39 +0100 Subject: [PATCH 16/74] handle upper case letters --- src/main/c/Hangman/playHangman.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index 78298f9..19ab800 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -1,5 +1,14 @@ #include "playHangman.h" +// Converts the letter to lower case +char toLower(char ch) { + // Convert uppercase letter to lowercase manually + if (ch >= 'A' && ch <= 'Z') { + return ch + ('a' - 'A'); + } + return ch; +} + void playHangman(char *wordToGuess) { int mistakes = 0; @@ -19,11 +28,14 @@ void playHangman(char *wordToGuess) { scanf(" %c", &guess); // Check if the guess is lower case and is a letter (valid) - if (!isalpha(guess) || isupper(guess)) { - printf("Please enter a valid lowercase alphabet.\n"); + if (!isalpha(guess)) { + printf("Please enter a valid alphabet.\n"); continue; } + // Convert uppercase letter to lowercase + guess = toLower(guess); + // Check if the guess is a single letter if (strlen(&guess) != 1) { printf("Please enter only one letter.\n"); From db912f56fcea6da0a78492afd2fe5860a5afe388 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Fri, 2 Feb 2024 17:49:16 +0100 Subject: [PATCH 17/74] problem with multiple letters --- src/main/c/Hangman/playHangman.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index 19ab800..abd40b6 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -9,6 +9,11 @@ char toLower(char ch) { return ch; } +// Ignores all inputs after the first character +void ignoreExtraInput() { + int c; + while ((c = getchar()) != '\n' && c != EOF); +} void playHangman(char *wordToGuess) { int mistakes = 0; @@ -26,6 +31,7 @@ void playHangman(char *wordToGuess) { char guess; printf("Enter your guess: \n"); scanf(" %c", &guess); + ignoreExtraInput(); // Check if the guess is lower case and is a letter (valid) if (!isalpha(guess)) { From 6bc2c951db0b7642dab195711fd0a87942ad9b0c Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Fri, 2 Feb 2024 17:56:18 +0100 Subject: [PATCH 18/74] bug with multiple input fixed --- src/main/c/Hangman/playHangman.c | 42 +++++++++++++++++++++++++++----- 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index abd40b6..ed0e32c 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -9,12 +9,30 @@ char toLower(char ch) { return ch; } -// Ignores all inputs after the first character +// Ignores the inputs with more than one letter void ignoreExtraInput() { int c; while ((c = getchar()) != '\n' && c != EOF); } +// Function to get a single character input from the user +char getSingleCharInput() { + char input[3]; // Buffer for input (including null terminator and newline character) + + // Read a line of input (up to 2 characters) and consume the rest + if (fgets(input, sizeof(input), stdin) == NULL) { + return '\0'; // Error or end of file + } + + ignoreExtraInput(); // Ignore extra characters + + // Check if only one character is entered + if (strlen(input) == 2 && input[1] == '\n') { + return input[0]; + } else { + return '\0'; // More than one character entered + } +} void playHangman(char *wordToGuess) { int mistakes = 0; char guessedLetters[30]; //Guessed letters @@ -27,30 +45,42 @@ void playHangman(char *wordToGuess) { while (mistakes < MAX_MISTAKES) { currentState(currentGuess, mistakes); - // Get a letter from the player + // Get a letter from the user char guess; printf("Enter your guess: \n"); - scanf(" %c", &guess); - ignoreExtraInput(); + + // Function to get a single character input and check for errors + guess = getSingleCharInput(); + + // Check if a valid character is entered + if (guess == '\0') { + printf("Invalid input. Please enter a single letter.\n"); + continue; + } + + // Convert uppercase letter to lowercase + guess = toLower(guess); // Check if the guess is lower case and is a letter (valid) if (!isalpha(guess)) { printf("Please enter a valid alphabet.\n"); + ignoreExtraInput(); continue; } - // Convert uppercase letter to lowercase - guess = toLower(guess); // Check if the guess is a single letter if (strlen(&guess) != 1) { printf("Please enter only one letter.\n"); + ignoreExtraInput(); continue; } + // Check if the letter has already been guessed by the player if (strchr(guessedLetters, guess) != NULL) { printf("You already guessed that letter. Try another letter.\n"); + ignoreExtraInput(); continue; } From 4cdeaa26753bda87dc3f3f4e06db39708aecdae4 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Fri, 2 Feb 2024 18:00:46 +0100 Subject: [PATCH 19/74] bug with new line in input fixed --- src/main/c/Hangman/playHangman.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index ed0e32c..ec36659 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -24,7 +24,10 @@ char getSingleCharInput() { return '\0'; // Error or end of file } - ignoreExtraInput(); // Ignore extra characters + // Check if the last character is a newline, if not, consume the rest of the line + if (input[strlen(input) - 1] != '\n') { + ignoreExtraInput(); + } // Check if only one character is entered if (strlen(input) == 2 && input[1] == '\n') { From d51e8e9705c37468f3726032d654a00b35e3a572 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Tue, 6 Feb 2024 13:48:44 +0100 Subject: [PATCH 20/74] get input bugs fixed --- CMakeLists.txt | 2 -- cmake-build-debug/Testing/Temporary/LastTest.log | 4 ++-- src/main/c/Hangman/playHangman.c | 4 +--- src/main/c/main.h | 3 ++- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a83ec3e..763f8e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,4 @@ add_executable(pmuw_projekt_notebinder src/main/c/Hangman/playHangman.h src/main/c/Hangman/Test/test_drawHangman.c src/main/c/Hangman/Test/test_drawHangman.h - src/main/c/Hangman/Test/test_currentState.c - src/main/c/Hangman/Test/test_currentState.h ) diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index 36c41e2..5481496 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Feb 02 10:46 CET +Start testing: Feb 06 11:59 CET ---------------------------------------------------------- -End testing: Feb 02 10:46 CET +End testing: Feb 06 11:59 CET diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index ec36659..e55ee12 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -51,8 +51,6 @@ void playHangman(char *wordToGuess) { // Get a letter from the user char guess; printf("Enter your guess: \n"); - - // Function to get a single character input and check for errors guess = getSingleCharInput(); // Check if a valid character is entered @@ -64,7 +62,7 @@ void playHangman(char *wordToGuess) { // Convert uppercase letter to lowercase guess = toLower(guess); - // Check if the guess is lower case and is a letter (valid) + // Check if the guess is a letter (valid) if (!isalpha(guess)) { printf("Please enter a valid alphabet.\n"); ignoreExtraInput(); diff --git a/src/main/c/main.h b/src/main/c/main.h index 71870e0..899f8f6 100644 --- a/src/main/c/main.h +++ b/src/main/c/main.h @@ -1,6 +1,7 @@ #ifndef MAIN_H #define MAIN_H - +#include "playHangman.h" +#include "playHangman.c" int main(); #endif // MAIN_H \ No newline at end of file From 0ff75961c60e4dcecefe85636cb82d9d55a68ec2 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Tue, 6 Feb 2024 16:05:02 +0100 Subject: [PATCH 21/74] running error fixed --- CMakeLists.txt | 6 --- cmake-build-debug/.ninja_deps | Bin 12788 -> 20184 bytes cmake-build-debug/.ninja_log | 35 ++++++++++++------ .../Testing/Temporary/LastTest.log | 4 +- cmake-build-debug/build.ninja | 30 +-------------- src/main/c/Hangman/Test/test_playHangman.c | 19 ++++++++++ src/main/c/Hangman/currentState.c | 7 ---- src/main/c/Hangman/currentState.h | 5 --- src/main/c/Hangman/drawHangman.c | 6 +++ src/main/c/Hangman/initializeHangman.c | 5 +++ src/main/c/Hangman/playHangman.h | 23 +++++++++--- src/main/c/Hangman/rules.c | 7 ---- src/main/c/Hangman/rules.h | 4 -- src/main/c/main.c | 5 ++- src/main/c/main.h | 3 +- 15 files changed, 79 insertions(+), 80 deletions(-) create mode 100644 src/main/c/Hangman/Test/test_playHangman.c delete mode 100644 src/main/c/Hangman/currentState.c delete mode 100644 src/main/c/Hangman/currentState.h delete mode 100644 src/main/c/Hangman/rules.c delete mode 100644 src/main/c/Hangman/rules.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 763f8e7..455aa81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,14 +15,8 @@ add_executable(pmuw_projekt_notebinder src/main/c/main.h src/main/c/Hangman/drawHangman.c src/main/c/Hangman/drawHangman.h - src/main/c/Hangman/rules.c - src/main/c/Hangman/rules.h src/main/c/Hangman/initializeHangman.c src/main/c/Hangman/initializeHangman.h - src/main/c/Hangman/currentState.c - src/main/c/Hangman/currentState.h src/main/c/Hangman/playHangman.c src/main/c/Hangman/playHangman.h - src/main/c/Hangman/Test/test_drawHangman.c - src/main/c/Hangman/Test/test_drawHangman.h ) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index df97cc577c88d495e15633ebfcc2b144956f5e17..3bcb602487d3be52859d5953ed7adbacb6584329 100644 GIT binary patch delta 1170 zcmd7QOGq106b9gXO{2C(N3k&r9g|v1i!x(c73v~8#kkQveD@JUe8gg7>H~4-rW*|^ zTo($)7YZ$eG{Y>^g|wT3D?ub6K3WPDT6C%1mH6Lu9I6X(>Ea_d=iGDdfjP&X?I4XD zKQu2AGW3cNQtjW2^;RmD*EqY_yvPKeX~Dlk(;uE;pYKnZLx_10`<@h!Sz2*!vQHB)z08r}{*iruvem_v}m)r*eKt^@VR${>HQVatd?WXDj;F z7(^Ybk@i`Mykg$QT6g1fZk!B6Q_=6=$L33aR8%5NYE_TKHJ(LPlvnBT9}8-rEFPa? zN77^JVh;IJHt)e-ehOzDLU}A)ex;iy4OLlPm);!LrZRk8+8w)iGn2m>&~8}i$Lh(8 zH-rgfaf!@~R{UIcD(bB0pvL&Nv)@u-p${n+JcH*@3w2Nr{Av7<(&(OJRV$@lUY2uN F*(u-W_q+fA delta 8 PcmcaHm+?#ThA)Ny6_Ny_ diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index c60e4a8..4eb5881 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -1,13 +1,26 @@ # ninja log v5 -0 40 1706867178156302406 build.ninja f2183aada2fc9ffc -1 214 1706706276607374928 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o cdaff7b94c55641c -0 213 1706706276607336012 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 -1 214 1706706276607365429 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o 7d64de4520ec9e97 -1 43 1706797998872539655 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 -1 44 1706122039878920765 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o 69a5bcd8c57a43b3 -1 38 1706122217155672196 CMakeFiles/pmuw_projekt_notebinder.dir/test/Hangman/word_selector_test.c.o e932f546d59a9d76 -106 195 1706551302079685763 pmuw_projekt_notebinder fbb48fd3bf0b96c1 +0 32 1707224707015552741 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_playHangman.c.o c78eb198389ea64b +2 48 1707224297294010118 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_drawHangman.c.o b4d90a6b54ad1664 +1 40 1707224901227175471 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 1 38 1706122372717341436 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d -2 56 1706797998885305995 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 -1 115 1706866005935735539 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o c4eef1ff589ab182 -1 114 1706866005935734705 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_drawHangman.c.o b4d90a6b54ad1664 +1 33 1707224901218890256 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o c4eef1ff589ab182 +106 195 1706551302079685763 pmuw_projekt_notebinder fbb48fd3bf0b96c1 +1 38 1706122217155672196 CMakeFiles/pmuw_projekt_notebinder.dir/test/Hangman/word_selector_test.c.o e932f546d59a9d76 +1 44 1706122039878920765 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o 69a5bcd8c57a43b3 +1 38 1707224901221200228 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 +1 214 1706706276607365429 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o 7d64de4520ec9e97 +0 213 1706706276607336012 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 +2 47 1707224297291255019 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o cdaff7b94c55641c +0 42 1707224957969670299 build.ninja f2183aada2fc9ffc +0 34 1707224957969670299 build.ninja f2183aada2fc9ffc +1 29 1707224958003312078 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o 7d64de4520ec9e97 +1 34 1707224958007844146 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +0 32 1707225145761047265 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +1 31 1707225193573982892 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +0 34 1707225362817701877 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +0 45 1707225516452726019 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +1 32 1707225552742056223 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +32 62 1707225552772258606 pmuw_projekt_notebinder a5668107eb06d295 +0 32 1707225688396107422 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d +0 28 1707225694194160949 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d +28 61 1707225694227136765 pmuw_projekt_notebinder a5668107eb06d295 diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index 5481496..bf59ee4 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Feb 06 11:59 CET +Start testing: Feb 06 14:23 CET ---------------------------------------------------------- -End testing: Feb 06 11:59 CET +End testing: Feb 06 14:23 CET diff --git a/cmake-build-debug/build.ninja b/cmake-build-debug/build.ninja index 0264c76..be724d5 100644 --- a/cmake-build-debug/build.ninja +++ b/cmake-build-debug/build.ninja @@ -70,13 +70,6 @@ build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o: OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman -build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/rules.c || cmake_object_order_depends_target_pmuw_projekt_notebinder - DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o.d - FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics - INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template - OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir - OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman - build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/initializeHangman.c || cmake_object_order_depends_target_pmuw_projekt_notebinder DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o.d FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics @@ -84,13 +77,6 @@ build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangma OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman -build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/currentState.c || cmake_object_order_depends_target_pmuw_projekt_notebinder - DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o.d - FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics - INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template - OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir - OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman - build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/playHangman.c || cmake_object_order_depends_target_pmuw_projekt_notebinder DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o.d FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics @@ -98,20 +84,6 @@ build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o: OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman -build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_drawHangman.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/Test/test_drawHangman.c || cmake_object_order_depends_target_pmuw_projekt_notebinder - DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_drawHangman.c.o.d - FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics - INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template - OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir - OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test - -build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_currentState.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/Test/test_currentState.c || cmake_object_order_depends_target_pmuw_projekt_notebinder - DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_currentState.c.o.d - FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics - INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template - OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir - OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test - # ============================================================================= # Link build statements for EXECUTABLE target pmuw_projekt_notebinder @@ -120,7 +92,7 @@ build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_curren ############################################# # Link the executable pmuw_projekt_notebinder -build pmuw_projekt_notebinder: C_EXECUTABLE_LINKER__pmuw_projekt_notebinder_Debug CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_drawHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_currentState.c.o +build pmuw_projekt_notebinder: C_EXECUTABLE_LINKER__pmuw_projekt_notebinder_Debug CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o FLAGS = -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir POST_BUILD = : diff --git a/src/main/c/Hangman/Test/test_playHangman.c b/src/main/c/Hangman/Test/test_playHangman.c new file mode 100644 index 0000000..482eb2c --- /dev/null +++ b/src/main/c/Hangman/Test/test_playHangman.c @@ -0,0 +1,19 @@ +#include "playHangman.c" +#include +#include + + +// Custom assert function to compare expected and actual values +void assert_equal(const char *test_name, const char *expected, const char *actual) { + if (strcmp(expected, actual) == 0) { + printf("[PASS] %s\n", test_name); + } else { + printf("[FAIL] %s - Expected: \"%s\", Actual: \"%s\"\n", test_name, expected, actual); + } +} + +// Test function for playHangman() +void test_playHangman() { + char wordToGuess[] = "test"; + //playHangman(wordToGuess); +} \ No newline at end of file diff --git a/src/main/c/Hangman/currentState.c b/src/main/c/Hangman/currentState.c deleted file mode 100644 index e4bc459..0000000 --- a/src/main/c/Hangman/currentState.c +++ /dev/null @@ -1,7 +0,0 @@ -#include "currentState.h" - -void currentState(char *currentGuess, int mistakes) { - printf("Current Word: %s \n", currentGuess); - printf("Mistakes Made: %d/6 \n", mistakes); - drawHangman(mistakes); -} \ No newline at end of file diff --git a/src/main/c/Hangman/currentState.h b/src/main/c/Hangman/currentState.h deleted file mode 100644 index dbf10bf..0000000 --- a/src/main/c/Hangman/currentState.h +++ /dev/null @@ -1,5 +0,0 @@ -#ifndef PMUW_PROJEKT_NOTEBINDER_CURRENTSTATE_H -#define PMUW_PROJEKT_NOTEBINDER_CURRENTSTATE_H -#include -#include "drawHangman.c" -#endif //PMUW_PROJEKT_NOTEBINDER_CURRENTSTATE_H diff --git a/src/main/c/Hangman/drawHangman.c b/src/main/c/Hangman/drawHangman.c index 483e4ec..12b074a 100644 --- a/src/main/c/Hangman/drawHangman.c +++ b/src/main/c/Hangman/drawHangman.c @@ -83,4 +83,10 @@ void drawHangman(int incorrectGuesses) { " \n" " \n"); } +} + +void currentState(char *currentGuess, int mistakes) { + printf("Current Word: %s \n", currentGuess); + printf("Mistakes Made: %d/6 \n", mistakes); + drawHangman(mistakes); } \ No newline at end of file diff --git a/src/main/c/Hangman/initializeHangman.c b/src/main/c/Hangman/initializeHangman.c index 221e50e..9ea56a2 100644 --- a/src/main/c/Hangman/initializeHangman.c +++ b/src/main/c/Hangman/initializeHangman.c @@ -10,4 +10,9 @@ void initializeHangman(char *wordToGuess, char *currentGuess) { } } currentGuess[wordLength] = '\0'; +} + +void printRules(){ + printf("Rules: \n"); + printf(" - You are allowed a maximum of 6 mistakes.\n"); } \ No newline at end of file diff --git a/src/main/c/Hangman/playHangman.h b/src/main/c/Hangman/playHangman.h index ca1348e..aad634c 100644 --- a/src/main/c/Hangman/playHangman.h +++ b/src/main/c/Hangman/playHangman.h @@ -1,10 +1,21 @@ #ifndef PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H #define PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H + #include + +// Include declarations from corresponding header files +#include "initializeHangman.h" +#include "drawHangman.h" +#include "word_selector.h" + +// Include function implementations directly from .c files +void initializeHangman(char *wordToGuess, char *currentGuess); +void printRules(); +void drawHangman(int incorrectGuesses); +void currentState(char *currentGuess, int mistakes); +const char* selectRandomWord(); +const char wordsList[NUM_WORDS][MAX_WORD_LENGTH + 1]; + #define MAX_MISTAKES 6 -#include "initializeHangman.c" -#include "rules.c" -#include "currentState.c" -#include "drawHangman.c" -#include "word_selector.c" -#endif //PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H \ No newline at end of file + +#endif // PMUW_PROJEKT_NOTEBINDER_PLAYHANGMAN_H diff --git a/src/main/c/Hangman/rules.c b/src/main/c/Hangman/rules.c deleted file mode 100644 index f7802bb..0000000 --- a/src/main/c/Hangman/rules.c +++ /dev/null @@ -1,7 +0,0 @@ -#include "rules.h" - -void printRules(){ - printf("Rules: \n"); - printf(" - You are allowed a maximum of 6 mistakes.\n"); - printf(" - All alphabet are in lower case.\n"); -} \ No newline at end of file diff --git a/src/main/c/Hangman/rules.h b/src/main/c/Hangman/rules.h deleted file mode 100644 index 35b01a1..0000000 --- a/src/main/c/Hangman/rules.h +++ /dev/null @@ -1,4 +0,0 @@ -#ifndef PMUW_PROJEKT_NOTEBINDER_RULES_H -#define PMUW_PROJEKT_NOTEBINDER_RULES_H -#include -#endif //PMUW_PROJEKT_NOTEBINDER_RULES_H diff --git a/src/main/c/main.c b/src/main/c/main.c index 90f28f1..2a8a9b3 100644 --- a/src/main/c/main.c +++ b/src/main/c/main.c @@ -2,7 +2,10 @@ #include #include -//#include "Template/game100.h" +#include "Hangman/playHangman.h" +#include "Hangman/word_selector.h" +#include "Hangman/drawHangman.h" +#include "Hangman/initializeHangman.h" int main(){ bool running = true; diff --git a/src/main/c/main.h b/src/main/c/main.h index 899f8f6..71870e0 100644 --- a/src/main/c/main.h +++ b/src/main/c/main.h @@ -1,7 +1,6 @@ #ifndef MAIN_H #define MAIN_H -#include "playHangman.h" -#include "playHangman.c" + int main(); #endif // MAIN_H \ No newline at end of file From 20874e564f0ac3527854e096941125ade4edaad0 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Tue, 6 Feb 2024 17:27:16 +0100 Subject: [PATCH 22/74] solving errors --- .idea/inspectionProfiles/Project_Default.xml | 6 ++++++ cmake-build-debug/.ninja_deps | Bin 20184 -> 23432 bytes cmake-build-debug/.ninja_log | 9 +++++++++ .../src/main/c/main.c.o | Bin 3816 -> 4096 bytes .../Testing/Temporary/LastTest.log | 4 ++-- src/main/c/Hangman/playHangman.h | 2 ++ src/main/c/main.c | 2 +- 7 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 .idea/inspectionProfiles/Project_Default.xml diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..e0035c9 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index 3bcb602487d3be52859d5953ed7adbacb6584329..e5a48ee2c18db5215f32cc146adc2401781b52b8 100644 GIT binary patch delta 198 zcmcaHm$73zp3Mx{9Ov4^IC+gX2YbU45P#$5`Lec*lYjX5 zfCcyUom)2tNsxa5P&ZIBLxYP$$Z8}B=|G@h91v#$@f4^c&&yF}Kado`?N;6s0h9pS d%|8LESiF+q>7pR0{S*8=;EH8FaRDX3iUDqUM3(>n delta 9 QcmeC!&Uj-kNrrM0)c{paRVfZ-843! zmP$rZK$W0ScU`GMRJ5X~6{>`Q7YYaoo~Q(UN4)egJRlH4Y9E=oTQ?yRquZVR=9}G_ z{h3?qd#nGB-j`@;>sB3yr-A^P&ZoPhJ>mn8ho8ADYWGR5ZMPXY zqMY><9F`AjrM`2@dQq+Thw0I0LI5FoPTOriq$2NE9;fB6TFHK$dwyND+D*AbFGVdi z`+jA8$&x4ZefH2M^E>i}Ub3f^^|EsQOggOO+)>tkWjz=GU^u=bkFi2J<@3x@mCO>d zu7u@}Y$W6l1H=(eL;${)+}Nu5KhoxV}8;$*gBf)?MEA)5XGVs=*m^TOZ!}Y!T(Iq7wn4i@|c8R-~7jLuVBCQ48PIbq+qw?C7)xY1iLN2_c`sf zV4$AEdME}y2j`7o(=i;*bcIcz!ObP^_6hJ)c0$oWJJIUfskb`VTYBfsU4#PXu@4L@ zzhRGRjiR=-2zdhVK~&t}`LFi+w`$^zqsvE{mHB2%J}U+|Wx!;{O70+6@?U6wc#&Ytec7+Rbh1LFMedYh_xwByYgOkhV?|FY(y3n+d_n|x3c8v;-bse75h9Q1KAl*7wKXm@C3kvrVdY`a`zcux{+k!Zv=Hifc zNE^E=+cx2Xi=Vp7Lur%4W1Dbp6Q;$fUG7DhU9Ynj!>Rm+hYhpMQge%QwbpdCapY+I8LU!yI(%5|=USHj)xy{abgXLX&kv#fpZeB~3MHlugLb z`Y%L+V4%S^915i`$wP%a_|V!Xp${!6)Cb=qg%W&_^+8h#1;Lk|b7wA1TRbrLJKy=v z%$%J$JJ<7#*00LxTM-Csz}9#xvUvPZwkH0GTI4q30PTynd(xrsrPkrT!lKxMO1zbN zW#(Kl(ucTDlv>a8bh5fpA32(@c>o@MEqYSVq>dC!#$kLcN~yfk(MuZO67H}{>2FMQ zn~DD6;uY&q>ZkvNGx*RdrPfUJJCnQ@eOdD7O#yimU5f#51!bI)1%Jh;PmK!n!`XUC z&EcxdCypfmQWW_#2{4b!ZWlJbYjYNvAvP$!R^~Ux7DbT#D?ovE&)|Z3NBn^I)H?p`WLlzoz}hU6`{M`Vea!%FT%<&r ztDeLcPFIpI$a;^cNV>9yJ0hJOO|G0aXDdG-#Xd=&7O=kHtWB<5z^RB|NV#&!WN9Vs z%DevxG`sRa82F9nW?Z?7zeIdH>&kWfJ>s9qx$@=zwvu3a41lW><34{QBlL}0i&wWY zi?ZT&)2eK5YpLGNlE;Yvs*OO|YUhtPqwNB}cen53*5W~}6d30T&^O5bx!G^8sVu-= z@_T6n`x18GmRJEli!Hy&YjP%UVR~w(3DvMIzQ044Od00yL7uTEgf^E zMEpWUS&rc_j?xPQcL2<(c}(I1EirpPi_W5 Date: Tue, 6 Feb 2024 21:14:02 +0100 Subject: [PATCH 23/74] test drawHangman --- src/main/c/Hangman/Test/test_drawHangman.c | 21 ------------------- test/Hangman/test_drawHangman.c | 12 +++++++++++ .../Test => test/Hangman}/test_drawHangman.h | 0 .../Test => test/Hangman}/test_playHangman.c | 1 - 4 files changed, 12 insertions(+), 22 deletions(-) delete mode 100644 src/main/c/Hangman/Test/test_drawHangman.c create mode 100644 test/Hangman/test_drawHangman.c rename {src/main/c/Hangman/Test => test/Hangman}/test_drawHangman.h (100%) rename {src/main/c/Hangman/Test => test/Hangman}/test_playHangman.c (99%) diff --git a/src/main/c/Hangman/Test/test_drawHangman.c b/src/main/c/Hangman/Test/test_drawHangman.c deleted file mode 100644 index c22e956..0000000 --- a/src/main/c/Hangman/Test/test_drawHangman.c +++ /dev/null @@ -1,21 +0,0 @@ -#include "test_drawHangman.h" -void test_drawHangman(int mistakes){ - switch (mistakes) { - case 0: - drawHangman(0); - case 1: - drawHangman(1); - case 2: - drawHangman(2); - case 3: - drawHangman(3); - case 4: - drawHangman(4); - case 5: - drawHangman(5); - case 6: - drawHangman(6); - case 10: // More than 6 mistakes - drawHangman(10); - } -} \ No newline at end of file diff --git a/test/Hangman/test_drawHangman.c b/test/Hangman/test_drawHangman.c new file mode 100644 index 0000000..6eb9faf --- /dev/null +++ b/test/Hangman/test_drawHangman.c @@ -0,0 +1,12 @@ +#include +#include +#include "drawHangman.h" +#include "playHangman.h" + +void test_drawHangman() { + // Test each case of incorrectGuesses + printf("Testing drawHangman(0):\n"); + drawHangman(0); + printf("\n"); + +} \ No newline at end of file diff --git a/src/main/c/Hangman/Test/test_drawHangman.h b/test/Hangman/test_drawHangman.h similarity index 100% rename from src/main/c/Hangman/Test/test_drawHangman.h rename to test/Hangman/test_drawHangman.h diff --git a/src/main/c/Hangman/Test/test_playHangman.c b/test/Hangman/test_playHangman.c similarity index 99% rename from src/main/c/Hangman/Test/test_playHangman.c rename to test/Hangman/test_playHangman.c index 482eb2c..2b4c51b 100644 --- a/src/main/c/Hangman/Test/test_playHangman.c +++ b/test/Hangman/test_playHangman.c @@ -2,7 +2,6 @@ #include #include - // Custom assert function to compare expected and actual values void assert_equal(const char *test_name, const char *expected, const char *actual) { if (strcmp(expected, actual) == 0) { From e4b7b0dbfd8a5ab3eaada626aabd91ddbff9ebf5 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Tue, 6 Feb 2024 21:15:51 +0100 Subject: [PATCH 24/74] test drawHangman (more test cases) --- test/Hangman/test_drawHangman.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/test/Hangman/test_drawHangman.c b/test/Hangman/test_drawHangman.c index 6eb9faf..debca49 100644 --- a/test/Hangman/test_drawHangman.c +++ b/test/Hangman/test_drawHangman.c @@ -9,4 +9,32 @@ void test_drawHangman() { drawHangman(0); printf("\n"); + printf("Testing drawHangman(1):\n"); + drawHangman(1); + printf("\n"); + + printf("Testing drawHangman(2):\n"); + drawHangman(2); + printf("\n"); + + printf("Testing drawHangman(3):\n"); + drawHangman(3); + printf("\n"); + + printf("Testing drawHangman(4):\n"); + drawHangman(4); + printf("\n"); + + printf("Testing drawHangman(5):\n"); + drawHangman(5); + printf("\n"); + + printf("Testing drawHangman(6):\n"); + drawHangman(6); + printf("\n"); + + printf("Testing drawHangman(7):\n"); + drawHangman(7); + printf("\n"); + } \ No newline at end of file From 8e35c626367c14b970f02758dc941851ef019cd5 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Tue, 6 Feb 2024 21:23:24 +0100 Subject: [PATCH 25/74] bug with single-letter-check fixed --- cmake-build-debug/.ninja_deps | Bin 23432 -> 23832 bytes cmake-build-debug/.ninja_log | 2 ++ .../Testing/Temporary/LastTest.log | 4 ++-- src/main/c/Hangman/playHangman.c | 8 -------- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index e5a48ee2c18db5215f32cc146adc2401781b52b8..44b6d3eeed46916022fe71a6a5182d84f5b4b66a 100644 GIT binary patch delta 29 lcmeC!&NyQi Date: Tue, 6 Feb 2024 21:39:32 +0100 Subject: [PATCH 26/74] rules explained --- cmake-build-debug/.ninja_deps | Bin 23832 -> 24452 bytes cmake-build-debug/.ninja_log | 3 +++ src/main/c/Hangman/initializeHangman.c | 12 +++++++++++- src/main/c/Hangman/playHangman.c | 2 +- 4 files changed, 15 insertions(+), 2 deletions(-) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index 44b6d3eeed46916022fe71a6a5182d84f5b4b66a..d9e775224281dcb27378e91d3186bd0701636184 100644 GIT binary patch delta 44 zcmbQSi?L-t;|7V?$u^E0Y~^lRL9-GjdpVxt>tSSQNMm4N@R?-+6xtl;+QbL|Sz`{q delta 9 QcmZqK&p2Zj;|7UX02F@%y#N3J diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index a7916c1..db26d5f 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -35,3 +35,6 @@ 45 72 1707236593357601081 pmuw_projekt_notebinder a5668107eb06d295 0 44 1707250874478682419 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 44 70 1707250874504270369 pmuw_projekt_notebinder a5668107eb06d295 +1 192 1707251949669860983 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o 7d64de4520ec9e97 +1 193 1707251949670799948 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +193 280 1707251949757039868 pmuw_projekt_notebinder a5668107eb06d295 diff --git a/src/main/c/Hangman/initializeHangman.c b/src/main/c/Hangman/initializeHangman.c index 9ea56a2..011799a 100644 --- a/src/main/c/Hangman/initializeHangman.c +++ b/src/main/c/Hangman/initializeHangman.c @@ -13,6 +13,16 @@ void initializeHangman(char *wordToGuess, char *currentGuess) { } void printRules(){ - printf("Rules: \n"); + printf("Welcome to hangman game!\n"); + printf("How to play: \n"); + printf(" - A word be randomly selected from the list of words.\n"); + printf(" - A series of dashes will be displayed, each representing a letter in the secret word.\n"); + printf(" - You are allowed a maximum of 6 mistakes.\n"); + printf(" - You will start guessing letters one at a time.\n"); + printf(" - Each guess should be a single letter of the alphabet, either uppercase or lowercase.\n"); + printf(" - After each guess, the computer will check if the letter you guessed is in the secret word.\n"); + printf(" - If the guessed letter is in the word, the computer will reveal all occurrences of that letter in the word.\n"); + printf(" - If the guessed letter is not in the word, the computer will count the incorrect guesses.\n"); + printf(" - Wrong guesses are represented by drawing parts of a hangman figure.\n"); printf(" - You are allowed a maximum of 6 mistakes.\n"); } \ No newline at end of file diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index 9923dab..7ee3ee3 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -36,6 +36,7 @@ char getSingleCharInput() { return '\0'; // More than one character entered } } + void playHangman(char *wordToGuess) { int mistakes = 0; char guessedLetters[30]; //Guessed letters @@ -69,7 +70,6 @@ void playHangman(char *wordToGuess) { continue; } - // Check if the letter has already been guessed by the player if (strchr(guessedLetters, guess) != NULL) { printf("You already guessed that letter. Try another letter.\n"); From ca77bb5af24735f9c82c7b5164a222e838bfcee0 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Tue, 6 Feb 2024 21:57:29 +0100 Subject: [PATCH 27/74] display rules before playing --- cmake-build-debug/.ninja_deps | Bin 24452 -> 26052 bytes cmake-build-debug/.ninja_log | 8 ++++++++ .../Testing/Temporary/LastTest.log | 4 ++-- src/main/c/Hangman/playHangman.c | 14 +++++++++++++- 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index d9e775224281dcb27378e91d3186bd0701636184..a2c5a66c5fefa43a1efcacca25b7d40b1ab878c1 100644 GIT binary patch delta 89 zcmZqK&v@iC Date: Tue, 6 Feb 2024 22:10:03 +0100 Subject: [PATCH 28/74] display rules - separate function --- cmake-build-debug/.ninja_deps | Bin 26052 -> 29296 bytes cmake-build-debug/.ninja_log | 16 ++++++++++++++++ .../Testing/Temporary/LastTest.log | 4 ++-- src/main/c/Hangman/initializeHangman.c | 15 +++++++++++++++ src/main/c/Hangman/playHangman.c | 13 +------------ src/main/c/Hangman/playHangman.h | 2 +- 6 files changed, 35 insertions(+), 15 deletions(-) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index a2c5a66c5fefa43a1efcacca25b7d40b1ab878c1..87365018838c3994db427ae371f53e3b27a8e2d8 100644 GIT binary patch delta 156 zcmX?dn(@OE#tlbOd3zWc8qydT7_R?}a@ewYVth9v>oT36w{}CAH;(ddKM7 Date: Tue, 6 Feb 2024 22:11:20 +0100 Subject: [PATCH 29/74] displayRules: bug of 3rd condition fixed --- src/main/c/Hangman/initializeHangman.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/c/Hangman/initializeHangman.c b/src/main/c/Hangman/initializeHangman.c index 4dc25e6..0259565 100644 --- a/src/main/c/Hangman/initializeHangman.c +++ b/src/main/c/Hangman/initializeHangman.c @@ -39,5 +39,6 @@ void displayRules(){ printf("Let's get started!\n"); } else { printf("Please enter either 1 or 2 to continue: \n"); + displayRules(); } } \ No newline at end of file From 310c40a57a4629290ae930c9339389db160e2ee0 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 7 Feb 2024 01:03:03 +0100 Subject: [PATCH 30/74] getting input method changed --- cmake-build-debug/.ninja_deps | Bin 29296 -> 38316 bytes cmake-build-debug/.ninja_log | 80 +++++------------- .../Testing/Temporary/LastTest.log | 4 +- src/main/c/Hangman/playHangman.c | 12 +-- 4 files changed, 27 insertions(+), 69 deletions(-) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index 87365018838c3994db427ae371f53e3b27a8e2d8..c82727a0759cbdc3efa6fedcc3899dbce9cb51d4 100644 GIT binary patch delta 445 zcmezHgmKMkrVRx}yf+va8uA$!7}|Eo9V?r>u<-okfNTy{2XonbEt?zjx*1uylo&PU zf|+b@B$7QsQa8uBHZk(`Ffufx0rlCLta!8rO>FwnIE(FQV#2JNmS54tTf%m*wxb}j1$qs%&vB<*pDVw zX&Wo?22G58YveKEbW}J0sCfTI6HRPeCIeG6nwU=FwSRGFV&7-4jNF4J_U_}qBhS#p N)`lNp Date: Wed, 7 Feb 2024 01:06:26 +0100 Subject: [PATCH 31/74] refactoring + some bugs fixed --- src/main/c/Hangman/playHangman.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index bc6141e..86865f5 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -55,22 +55,32 @@ void playHangman(char *wordToGuess) { printf("Enter your guess: \n"); scanf("%s", input); - // Check if a valid character is entered - if (guess == '\0') { + // Check if the input is a single letter + if(strlen(input) > 1) { printf("Invalid input. Please enter a single letter.\n"); continue; } + // Check if the input is an alphabet + char guess = input[0]; + if (!isalpha(guess)) { + printf("Please enter a valid alphabet.\n"); + continue; + } + // Convert uppercase letter to lowercase guess = toLower(guess); - // Check if the guess is a letter (valid) - if (!isalpha(guess)) { - printf("Please enter a valid alphabet.\n"); - ignoreExtraInput(); + // Check if the letter has already been guessed by the player + if (strchr(guessedLetters, guess) != NULL) { + printf("You already guessed that letter. Try another letter.\n"); continue; } + // Add the guessed letter to the list + guessedLetters[strlen(guessedLetters)] = guess; + + // Check if the letter has already been guessed by the player if (strchr(guessedLetters, guess) != NULL) { printf("You already guessed that letter. Try another letter.\n"); From cdd703a1131a04721fa8d45e53d8e35852b5efb7 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 7 Feb 2024 01:12:22 +0100 Subject: [PATCH 32/74] make the code cleaner + debugging --- src/main/c/Hangman/playHangman.c | 48 ++++---------------------------- 1 file changed, 5 insertions(+), 43 deletions(-) diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index 86865f5..dc64e50 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -9,37 +9,9 @@ char toLower(char ch) { return ch; } -// Ignores the inputs with more than one letter -void ignoreExtraInput() { - int c; - while ((c = getchar()) != '\n' && c != EOF); -} - -// Function to get a single character input from the user -char getSingleCharInput() { - char input[3]; // Buffer for input (including null terminator and newline character) - - // Read a line of input (up to 2 characters) and consume the rest - if (fgets(input, sizeof(input), stdin) == NULL) { - return '\0'; // Error or end of file - } - - // Check if the last character is a newline, if not, consume the rest of the line - if (input[strlen(input) - 1] != '\n') { - ignoreExtraInput(); - } - - // Check if only one character is entered - if (strlen(input) == 2 && input[1] == '\n') { - return input[0]; - } else { - return '\0'; // More than one character entered - } -} - void playHangman(char *wordToGuess) { int mistakes = 0; - char guessedLetters[30]; //Guessed letters + char guessedLetters[30] = ""; //Guessed letters char currentGuess[50]; //Current state of the guessed word displayRules(); @@ -55,13 +27,11 @@ void playHangman(char *wordToGuess) { printf("Enter your guess: \n"); scanf("%s", input); - // Check if the input is a single letter if(strlen(input) > 1) { printf("Invalid input. Please enter a single letter.\n"); continue; } - // Check if the input is an alphabet char guess = input[0]; if (!isalpha(guess)) { printf("Please enter a valid alphabet.\n"); @@ -80,17 +50,6 @@ void playHangman(char *wordToGuess) { // Add the guessed letter to the list guessedLetters[strlen(guessedLetters)] = guess; - - // Check if the letter has already been guessed by the player - if (strchr(guessedLetters, guess) != NULL) { - printf("You already guessed that letter. Try another letter.\n"); - ignoreExtraInput(); - continue; - } - - // Add the guessed letter to the list - guessedLetters[strlen(guessedLetters)] = guess; - // Check if the guessed letter is in the word int found = 0; for (int i = 0; i < strlen(wordToGuess); ++i) { @@ -125,6 +84,9 @@ void playHangman(char *wordToGuess) { if (mistakes == MAX_MISTAKES) { currentState(currentGuess, mistakes); printf("Oops! You have no more guesses :( \n The answer was: %s \n", wordToGuess); + break; } + + currentState(currentGuess, mistakes); } -} +} \ No newline at end of file From 6d89e784aea3192bae6ffa2d9dc09bf2712ea287 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 7 Feb 2024 01:39:44 +0100 Subject: [PATCH 33/74] test displayRules --- cmake-build-debug/.ninja_deps | Bin 38316 -> 38716 bytes cmake-build-debug/.ninja_log | 2 ++ .../Testing/Temporary/LastTest.log | 4 +-- test/Hangman/test_playHangman.c | 31 ++++++++++-------- 4 files changed, 21 insertions(+), 16 deletions(-) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index c82727a0759cbdc3efa6fedcc3899dbce9cb51d4..ad32c4ec4524529a6b8eeae7125ce3d329ed0701 100644 GIT binary patch delta 25 hcmZ3pnrY8ErVVSRPQFvZ!6qV~aqUXZ<~Y|TMgW^*3o-xz delta 9 Rcmdn9j%m$mrVVSR0st3>1h)VH diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index e2bb7e3..1ced4ca 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -20,3 +20,5 @@ 41 68 1707259974621052571 pmuw_projekt_notebinder a5668107eb06d295 0 41 1707260143202490285 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 41 66 1707260143227530868 pmuw_projekt_notebinder a5668107eb06d295 +2 209 1707265395136143124 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +209 296 1707265395223868349 pmuw_projekt_notebinder a5668107eb06d295 diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index 47dd361..e5ab0e9 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Feb 06 23:55 CET +Start testing: Feb 07 01:39 CET ---------------------------------------------------------- -End testing: Feb 06 23:55 CET +End testing: Feb 07 01:39 CET diff --git a/test/Hangman/test_playHangman.c b/test/Hangman/test_playHangman.c index 2b4c51b..7e01f23 100644 --- a/test/Hangman/test_playHangman.c +++ b/test/Hangman/test_playHangman.c @@ -1,18 +1,21 @@ -#include "playHangman.c" -#include #include +#include "playHangman.h" -// Custom assert function to compare expected and actual values -void assert_equal(const char *test_name, const char *expected, const char *actual) { - if (strcmp(expected, actual) == 0) { - printf("[PASS] %s\n", test_name); - } else { - printf("[FAIL] %s - Expected: \"%s\", Actual: \"%s\"\n", test_name, expected, actual); - } -} -// Test function for playHangman() -void test_playHangman() { - char wordToGuess[] = "test"; - //playHangman(wordToGuess); +void test_displayRules() { + // Simulate user input: 1, 2, and an invalid input + printf("Test Case 1: User enters '1' (YES)\n"); + printf("Expected Output: \"Let's get started!\"\n"); + printf("Actual Output: "); + displayRules(); // Call displayRules() with input 1 + + printf("\nTest Case 2: User enters '2' (NO)\n"); + printf("Expected Output: Output of printRules()\n"); + printf("Actual Output: "); + displayRules(); // Call displayRules() with input 2 + + printf("\nTest Case 3: User enters an invalid input\n"); + printf("Expected Output: \"Please enter either 1 or 2 to continue:\"\n"); + printf("Actual Output: "); + displayRules(); // Call displayRules() with invalid input } \ No newline at end of file From 0ba06ef885ada58077bd8e22a9b36676252d09e0 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 7 Feb 2024 01:43:57 +0100 Subject: [PATCH 34/74] test toLower --- .../Testing/Temporary/LastTest.log | 4 ++-- test/Hangman/test_playHangman.c | 24 ++++++++++++++++++- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index e5ab0e9..d4630a9 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Feb 07 01:39 CET +Start testing: Feb 07 01:43 CET ---------------------------------------------------------- -End testing: Feb 07 01:39 CET +End testing: Feb 07 01:43 CET diff --git a/test/Hangman/test_playHangman.c b/test/Hangman/test_playHangman.c index 7e01f23..cfc47b0 100644 --- a/test/Hangman/test_playHangman.c +++ b/test/Hangman/test_playHangman.c @@ -1,5 +1,7 @@ #include -#include "playHangman.h" +#include "playHangman.c" +#include + void test_displayRules() { @@ -18,4 +20,24 @@ void test_displayRules() { printf("Expected Output: \"Please enter either 1 or 2 to continue:\"\n"); printf("Actual Output: "); displayRules(); // Call displayRules() with invalid input +} + +void test_toLower() { + printf("Test Case 1: Lowercase letter 'a'\n"); + printf("Expected Output: 'a'\n"); + char result = toLower('a'); + printf("Actual Output: '%c'\n", result); + assert(result == 'a'); + + printf("\nTest Case 2: Uppercase letter 'B'\n"); + printf("Expected Output: 'b'\n"); + result = toLower('B'); + printf("Actual Output: '%c'\n", result); + assert(result == 'b'); + + printf("\nTest Case 3: Non-alphabetic character '#'\n"); + printf("Expected Output: '#'\n"); + result = toLower('?'); + printf("Actual Output: '%c'\n", result); + assert(result == '?'); } \ No newline at end of file From 994e9f666b70e5662891004fbd345a264351cc62 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 7 Feb 2024 01:47:31 +0100 Subject: [PATCH 35/74] test initializeHangman --- test/Hangman/test_playHangman.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/Hangman/test_playHangman.c b/test/Hangman/test_playHangman.c index cfc47b0..3f7ba5a 100644 --- a/test/Hangman/test_playHangman.c +++ b/test/Hangman/test_playHangman.c @@ -40,4 +40,12 @@ void test_toLower() { result = toLower('?'); printf("Actual Output: '%c'\n", result); assert(result == '?'); +} + +void test_initializeHangman() { + char wordToGuess[] = "hangman"; + char currentGuess[8]; + initializeHangman(wordToGuess, currentGuess); + assert(strcmp(currentGuess, "_______") == 0); + printf("initializeHangman test passed!\n"); } \ No newline at end of file From 6e079cedfa5cdcfbd01fa99bcee9cd21faf2a0c4 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 7 Feb 2024 01:52:18 +0100 Subject: [PATCH 36/74] new test case for word with space --- cmake-build-debug/.ninja_deps | Bin 38716 -> 39088 bytes cmake-build-debug/.ninja_log | 2 ++ .../Testing/Temporary/LastTest.log | 4 ++-- src/main/c/Hangman/word_selector.c | 2 +- test/Hangman/test_playHangman.c | 17 +++++++++++------ 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index ad32c4ec4524529a6b8eeae7125ce3d329ed0701..9978f2d783bcd1807b0d667abcbd5b1b9be116d4 100644 GIT binary patch delta 40 vcmdn9j%mY2rVTdJMGF`i8Uh#?7^Xho{nR^eqj(^Y9kh9&tU2T42Pzr>H75>H delta 9 Qcmdn6k!jC5rVTdJ0T#prQvd(} diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index 1ced4ca..5e1153a 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -22,3 +22,5 @@ 41 66 1707260143227530868 pmuw_projekt_notebinder a5668107eb06d295 2 209 1707265395136143124 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 209 296 1707265395223868349 pmuw_projekt_notebinder a5668107eb06d295 +0 192 1707267006006028181 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 +192 278 1707267006091837249 pmuw_projekt_notebinder a5668107eb06d295 diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index d4630a9..cf33378 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Feb 07 01:43 CET +Start testing: Feb 07 01:50 CET ---------------------------------------------------------- -End testing: Feb 07 01:43 CET +End testing: Feb 07 01:50 CET diff --git a/src/main/c/Hangman/word_selector.c b/src/main/c/Hangman/word_selector.c index 157fb93..5b2b914 100644 --- a/src/main/c/Hangman/word_selector.c +++ b/src/main/c/Hangman/word_selector.c @@ -14,7 +14,7 @@ const char wordsList[NUM_WORDS][MAX_WORD_LENGTH + 1] = { "year", "dealer", "patience", - "initiative", + "table tennis", "pollution", "awareness", "problem", diff --git a/test/Hangman/test_playHangman.c b/test/Hangman/test_playHangman.c index 3f7ba5a..94e9743 100644 --- a/test/Hangman/test_playHangman.c +++ b/test/Hangman/test_playHangman.c @@ -2,8 +2,6 @@ #include "playHangman.c" #include - - void test_displayRules() { // Simulate user input: 1, 2, and an invalid input printf("Test Case 1: User enters '1' (YES)\n"); @@ -43,9 +41,16 @@ void test_toLower() { } void test_initializeHangman() { - char wordToGuess[] = "hangman"; - char currentGuess[8]; - initializeHangman(wordToGuess, currentGuess); - assert(strcmp(currentGuess, "_______") == 0); + // Test case 1: Word with alphabets only + char wordToGuess1[] = "hangman"; + char currentGuess1[8]; // Make sure this size is enough to accommodate the wordToGuess and the null terminator + initializeHangman(wordToGuess1, currentGuess1); + assert(strcmp(currentGuess1, "_______") == 0); + + // Test case 2: Word with spaces (e.g: table tennis) + char wordToGuess2[] = "hello world"; + char currentGuess2[12]; // Make sure this size is enough to accommodate the wordToGuess and the null terminator + initializeHangman(wordToGuess2, currentGuess2); + assert(strcmp(currentGuess2, "_____ _____") == 0); printf("initializeHangman test passed!\n"); } \ No newline at end of file From 298f84f7be401b44fc7a27583ecec0c85f518c71 Mon Sep 17 00:00:00 2001 From: Saba Fazlali Date: Wed, 7 Feb 2024 02:06:35 +0100 Subject: [PATCH 37/74] End message changed --- cmake-build-debug/.ninja_deps | Bin 39088 -> 40056 bytes cmake-build-debug/.ninja_log | 6 ++++++ .../src/main/c/Hangman/word_selector.c.o | Bin 3072 -> 3072 bytes .../Testing/Temporary/LastTest.log | 4 ++-- src/main/c/Hangman/drawHangman.c | 13 +++++-------- src/main/c/Hangman/playHangman.c | 13 +++++-------- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps index 9978f2d783bcd1807b0d667abcbd5b1b9be116d4..ef1dc81ee98d1ae0e73e1fa750426d1b0c3f2617 100644 GIT binary patch delta 64 zcmdn6k?F?{rVSfr@bxewLuHF}h@cEW7Ff_yh Q)tu+&pQ4#R`Jde^03wJN`Tzg` delta 9 RcmeydgK5J?rVSfr000^^1r7iJ diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log index 5e1153a..8480529 100644 --- a/cmake-build-debug/.ninja_log +++ b/cmake-build-debug/.ninja_log @@ -24,3 +24,9 @@ 209 296 1707265395223868349 pmuw_projekt_notebinder a5668107eb06d295 0 192 1707267006006028181 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 192 278 1707267006091837249 pmuw_projekt_notebinder a5668107eb06d295 +1 203 1707267786560704417 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +204 289 1707267786646774332 pmuw_projekt_notebinder a5668107eb06d295 +1 37 1707267864900519056 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 +38 63 1707267864925012751 pmuw_projekt_notebinder a5668107eb06d295 +1 29 1707267958118485967 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 +29 55 1707267958144023054 pmuw_projekt_notebinder a5668107eb06d295 diff --git a/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o b/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o index a81ae5130f1cae010503c93b8dbee5158b1c90e5..32246661cc6bb4bf24faf5444d652756aa46bb6a 100644 GIT binary patch delta 25 gcmZpWXpq>jmzAd^F)1fip(HggFSB^_Nmg?<0C&;}CIA2c delta 25 gcmZpWXpq>jmz5_oFS8^wu_UuBm4RXNNmg?<0CtxMqW}N^ diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log index cf33378..4fa8644 100644 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ b/cmake-build-debug/Testing/Temporary/LastTest.log @@ -1,3 +1,3 @@ -Start testing: Feb 07 01:50 CET +Start testing: Feb 07 02:05 CET ---------------------------------------------------------- -End testing: Feb 07 01:50 CET +End testing: Feb 07 02:05 CET diff --git a/src/main/c/Hangman/drawHangman.c b/src/main/c/Hangman/drawHangman.c index 12b074a..5ccf2e7 100644 --- a/src/main/c/Hangman/drawHangman.c +++ b/src/main/c/Hangman/drawHangman.c @@ -74,14 +74,11 @@ void drawHangman(int incorrectGuesses) { if (incorrectGuesses >= 6) { printf("\n" - " _____ ____ \n" - " / ____| / __ \\ \n" - " | | __ __ _ _ __ ___ ___ | | | |_ _____ _ __ \n" - " | | |_ |/ _` | '_ ` _ \\ / _ \\ | | | \\ \\ / / _ \\ '__| \n" - " | |__| | (_| | | | | | | __/ | |__| |\\ V / __/ | \n" - " \\_____|\\__,_|_| |_| |_|\\___| \\____/ \\_/ \\___|_| \n" - " \n" - " \n"); + " ___ ___ _ \n" + " / __|__ _ _ __ ___ / _ \\__ _____ _ _| |\n" + " | (_ / _` | ' \\/ -_) | (_) \\ V / -_) '_|_|\n" + " \\___\\__,_|_|_|_\\___| \\___/ \\_/\\___|_| (_)\n" + " \n"); } } diff --git a/src/main/c/Hangman/playHangman.c b/src/main/c/Hangman/playHangman.c index dc64e50..93d9998 100644 --- a/src/main/c/Hangman/playHangman.c +++ b/src/main/c/Hangman/playHangman.c @@ -69,14 +69,11 @@ void playHangman(char *wordToGuess) { currentState(currentGuess, mistakes); printf("Bravo! You guessed the word: %s \n", wordToGuess); printf("\n" - " __ __ _ _ _ _ \n" - " \\ \\ / / | | | | (_) | |\n" - " \\ \\_/ /__ _ _ __ _ _ __ ___ | |_| |__ ___ __ ___ _ __ _ __ ___ _ __| |\n" - " \\ / _ \\| | | | / _` | '__/ _ \\ | __| '_ \\ / _ \\ \\ \\ /\\ / / | '_ \\| '_ \\ / _ \\ '__| |\n" - " | | (_) | |_| | | (_| | | | __/ | |_| | | | __/ \\ V V /| | | | | | | | __/ | |_|\n" - " |_|\\___/ \\__,_| \\__,_|_| \\___| \\__|_| |_|\\___| \\_/\\_/ |_|_| |_|_| |_|\\___|_| (_)\n" - " \n" - " "); + " __ __ __ __ _ \n" + " \\ \\ / /__ _ _ \\ \\ / /__ _ _ | |\n" + " \\ V / _ \\ || | \\ \\/\\/ / _ \\ ' \\|_|\n" + " |_|\\___/\\_,_| \\_/\\_/\\___/_||_(_)\n" + " \n"); break; } From f1a9b0c4e8e2b814588acf8197fba7af58ce3035 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:25:21 +0000 Subject: [PATCH 38/74] Delete .gitignore --- .idea/.gitignore | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 .idea/.gitignore diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml From 801e993bb021416a869c943d9a6f9d1a60c2b5fd Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:25:26 +0000 Subject: [PATCH 39/74] Delete misc.xml --- .idea/misc.xml | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 .idea/misc.xml diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 79b3c94..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file From 911e86f63fb26dd47151b5810abd588d28f11ae9 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:25:46 +0000 Subject: [PATCH 40/74] Delete Project_Default.xml --- .idea/inspectionProfiles/Project_Default.xml | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 .idea/inspectionProfiles/Project_Default.xml diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index e0035c9..0000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file From bb4daaaa55641469c575df20348f62bd85836682 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:26:19 +0000 Subject: [PATCH 41/74] Delete modules.xml --- .idea/modules.xml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 .idea/modules.xml diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 8160237..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file From 7c20e1bf9d3c814e8e178574aa91dd07c2544c89 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:26:23 +0000 Subject: [PATCH 42/74] Delete pmuw_projekt_notebinder.iml --- .idea/pmuw_projekt_notebinder.iml | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 .idea/pmuw_projekt_notebinder.iml diff --git a/.idea/pmuw_projekt_notebinder.iml b/.idea/pmuw_projekt_notebinder.iml deleted file mode 100644 index f08604b..0000000 --- a/.idea/pmuw_projekt_notebinder.iml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file From a5f4a8b2f73a2077692fb903a2cb2fe190122a91 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:26:30 +0000 Subject: [PATCH 43/74] Delete vcs.xml --- .idea/vcs.xml | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 .idea/vcs.xml diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1dd..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file From 799704a1ffe1412cd4c786e7ac372b609f87ac69 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:26:45 +0000 Subject: [PATCH 44/74] Delete cmake_install.cmake --- cmake-build-debug/cmake_install.cmake | 49 --------------------------- 1 file changed, 49 deletions(-) delete mode 100644 cmake-build-debug/cmake_install.cmake diff --git a/cmake-build-debug/cmake_install.cmake b/cmake-build-debug/cmake_install.cmake deleted file mode 100644 index 5798851..0000000 --- a/cmake-build-debug/cmake_install.cmake +++ /dev/null @@ -1,49 +0,0 @@ -# Install script for directory: /Users/saba/CLionProjects/pmuw_projekt_notebinder - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "Debug") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "FALSE") -endif() - -# Set default install directory permissions. -if(NOT DEFINED CMAKE_OBJDUMP) - set(CMAKE_OBJDUMP "/Library/Developer/CommandLineTools/usr/bin/objdump") -endif() - -if(CMAKE_INSTALL_COMPONENT) - set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") -else() - set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") -endif() - -string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT - "${CMAKE_INSTALL_MANIFEST_FILES}") -file(WRITE "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/${CMAKE_INSTALL_MANIFEST}" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") From a82c38f668eb4e505b461a94c295b8762aa66231 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:26:52 +0000 Subject: [PATCH 45/74] Delete build.ninja --- cmake-build-debug/build.ninja | 171 ---------------------------------- 1 file changed, 171 deletions(-) delete mode 100644 cmake-build-debug/build.ninja diff --git a/cmake-build-debug/build.ninja b/cmake-build-debug/build.ninja deleted file mode 100644 index be724d5..0000000 --- a/cmake-build-debug/build.ninja +++ /dev/null @@ -1,171 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.26 - -# This file contains all the build statements describing the -# compilation DAG. - -# ============================================================================= -# Write statements declared in CMakeLists.txt: -# -# Which is the root file. -# ============================================================================= - -# ============================================================================= -# Project: pmuw_projekt_notebinder -# Configurations: Debug -# ============================================================================= - -############################################# -# Minimal version of Ninja required by this file - -ninja_required_version = 1.5 - - -############################################# -# Set configuration variable for custom commands. - -CONFIGURATION = Debug -# ============================================================================= -# Include auxiliary files. - - -############################################# -# Include rules file. - -include CMakeFiles/rules.ninja - -# ============================================================================= - -############################################# -# Logical path to working directory; prefix for absolute paths. - -cmake_ninja_workdir = /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/ -# ============================================================================= -# Object build statements for EXECUTABLE target pmuw_projekt_notebinder - - -############################################# -# Order-only phony target for pmuw_projekt_notebinder - -build cmake_object_order_depends_target_pmuw_projekt_notebinder: phony || CMakeFiles/pmuw_projekt_notebinder.dir - -build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/word_selector.c || cmake_object_order_depends_target_pmuw_projekt_notebinder - DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o.d - FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics - INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template - OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir - OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman - -build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/main.c || cmake_object_order_depends_target_pmuw_projekt_notebinder - DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o.d - FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics - INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template - OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir - OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c - -build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/drawHangman.c || cmake_object_order_depends_target_pmuw_projekt_notebinder - DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o.d - FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics - INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template - OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir - OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman - -build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/initializeHangman.c || cmake_object_order_depends_target_pmuw_projekt_notebinder - DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o.d - FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics - INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template - OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir - OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman - -build CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o: C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug /Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman/playHangman.c || cmake_object_order_depends_target_pmuw_projekt_notebinder - DEP_FILE = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o.d - FLAGS = -g -std=gnu11 -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics - INCLUDES = -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Hangman -I/Users/saba/CLionProjects/pmuw_projekt_notebinder/src/main/c/Template - OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir - OBJECT_FILE_DIR = CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman - - -# ============================================================================= -# Link build statements for EXECUTABLE target pmuw_projekt_notebinder - - -############################################# -# Link the executable pmuw_projekt_notebinder - -build pmuw_projekt_notebinder: C_EXECUTABLE_LINKER__pmuw_projekt_notebinder_Debug CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o - FLAGS = -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk - OBJECT_DIR = CMakeFiles/pmuw_projekt_notebinder.dir - POST_BUILD = : - PRE_LINK = : - TARGET_FILE = pmuw_projekt_notebinder - TARGET_PDB = pmuw_projekt_notebinder.dbg - - -############################################# -# Utility command for edit_cache - -build CMakeFiles/edit_cache.util: CUSTOM_COMMAND - COMMAND = cd /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available. - DESC = No interactive CMake dialog available... - restat = 1 - -build edit_cache: phony CMakeFiles/edit_cache.util - - -############################################# -# Utility command for rebuild_cache - -build CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND - COMMAND = cd /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug && /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --regenerate-during-build -S/Users/saba/CLionProjects/pmuw_projekt_notebinder -B/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug - DESC = Running CMake to regenerate build system... - pool = console - restat = 1 - -build rebuild_cache: phony CMakeFiles/rebuild_cache.util - -# ============================================================================= -# Target aliases. - -# ============================================================================= -# Folder targets. - -# ============================================================================= - -############################################# -# Folder: /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug - -build all: phony pmuw_projekt_notebinder - -# ============================================================================= -# Built-in targets - - -############################################# -# Re-run CMake if any of its inputs changed. - -build build.ninja: RERUN_CMAKE | /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCInformation.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCommonLanguageInclude.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeGenericSystem.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeInitializeConfigs.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeLanguageInformation.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeSystemSpecificInformation.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeSystemSpecificInitialize.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/AppleClang-C.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/CMakeCommonCompilerMacros.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/Clang.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/GNU.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Apple-AppleClang-C.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Apple-Clang-C.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Apple-Clang.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Darwin-Initialize.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Darwin.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/UnixPaths.cmake /Users/saba/CLionProjects/pmuw_projekt_notebinder/CMakeLists.txt CMakeCache.txt CMakeFiles/3.26.4/CMakeCCompiler.cmake CMakeFiles/3.26.4/CMakeSystem.cmake - pool = console - - -############################################# -# A missing CMake input file is not an error. - -build /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCInformation.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCommonLanguageInclude.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeGenericSystem.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeInitializeConfigs.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeLanguageInformation.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeSystemSpecificInformation.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeSystemSpecificInitialize.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/AppleClang-C.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/CMakeCommonCompilerMacros.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/Clang.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/GNU.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Apple-AppleClang-C.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Apple-Clang-C.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Apple-Clang.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Darwin-Initialize.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Darwin.cmake /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/UnixPaths.cmake /Users/saba/CLionProjects/pmuw_projekt_notebinder/CMakeLists.txt CMakeCache.txt CMakeFiles/3.26.4/CMakeCCompiler.cmake CMakeFiles/3.26.4/CMakeSystem.cmake: phony - - -############################################# -# Clean all the built files. - -build clean: CLEAN - - -############################################# -# Print all primary targets available. - -build help: HELP - - -############################################# -# Make the all target the default. - -default all From f74e198d4f740dce364e3bd727dce48081cfa8c2 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:26:57 +0000 Subject: [PATCH 46/74] Delete CMakeCache.txt --- cmake-build-debug/CMakeCache.txt | 328 ------------------------------- 1 file changed, 328 deletions(-) delete mode 100644 cmake-build-debug/CMakeCache.txt diff --git a/cmake-build-debug/CMakeCache.txt b/cmake-build-debug/CMakeCache.txt deleted file mode 100644 index 7718973..0000000 --- a/cmake-build-debug/CMakeCache.txt +++ /dev/null @@ -1,328 +0,0 @@ -# This is the CMakeCache file. -# For build in directory: /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug -# It was generated by CMake: /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -# You can edit this file to change values found and used by cmake. -# If you do not want to change any of the values, simply exit the editor. -# If you do want to change a value, simply edit, save, and exit the editor. -# The syntax for the file is as follows: -# KEY:TYPE=VALUE -# KEY is the name of a variable in the cache. -# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. -# VALUE is the current value for the KEY. - -######################## -# EXTERNAL cache entries -######################## - -//Path to a program. -CMAKE_ADDR2LINE:FILEPATH=CMAKE_ADDR2LINE-NOTFOUND - -//Path to a program. -CMAKE_AR:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ar - -//Choose the type of build, options are: None Debug Release RelWithDebInfo -// MinSizeRel ... -CMAKE_BUILD_TYPE:STRING=Debug - -//Enable colored diagnostics throughout. -CMAKE_COLOR_DIAGNOSTICS:BOOL=ON - -//C compiler -CMAKE_C_COMPILER:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/cc - -//Flags used by the C compiler during all build types. -CMAKE_C_FLAGS:STRING= - -//Flags used by the C compiler during DEBUG builds. -CMAKE_C_FLAGS_DEBUG:STRING=-g - -//Flags used by the C compiler during MINSIZEREL builds. -CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG - -//Flags used by the C compiler during RELEASE builds. -CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG - -//Flags used by the C compiler during RELWITHDEBINFO builds. -CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG - -//Path to a program. -CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND - -//Flags used by the linker during all build types. -CMAKE_EXE_LINKER_FLAGS:STRING= - -//Flags used by the linker during DEBUG builds. -CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= - -//Flags used by the linker during MINSIZEREL builds. -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during RELEASE builds. -CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= - -//Flags used by the linker during RELWITHDEBINFO builds. -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -//Enable/Disable output of compile commands during generation. -CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= - -//Value Computed by CMake. -CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/pkgRedirects - -//Path to a program. -CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool - -//Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=/usr/local - -//Path to a program. -CMAKE_LINKER:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ld - -//No help, variable specified on the command line. -CMAKE_MAKE_PROGRAM:UNINITIALIZED=/Applications/CLion.app/Contents/bin/ninja/mac/ninja - -//Flags used by the linker during the creation of modules during -// all build types. -CMAKE_MODULE_LINKER_FLAGS:STRING= - -//Flags used by the linker during the creation of modules during -// DEBUG builds. -CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= - -//Flags used by the linker during the creation of modules during -// MINSIZEREL builds. -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during the creation of modules during -// RELEASE builds. -CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= - -//Flags used by the linker during the creation of modules during -// RELWITHDEBINFO builds. -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -//Path to a program. -CMAKE_NM:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/nm - -//Path to a program. -CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND - -//Path to a program. -CMAKE_OBJDUMP:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/objdump - -//Build architectures for OSX -CMAKE_OSX_ARCHITECTURES:STRING= - -//Minimum OS X version to target for deployment (at runtime); newer -// APIs weak linked. Set to empty string for default value. -CMAKE_OSX_DEPLOYMENT_TARGET:STRING= - -//The product will be built against the headers and libraries located -// inside the indicated SDK. -CMAKE_OSX_SYSROOT:PATH=/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk - -//Value Computed by CMake -CMAKE_PROJECT_DESCRIPTION:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_HOMEPAGE_URL:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_NAME:STATIC=pmuw_projekt_notebinder - -//Path to a program. -CMAKE_RANLIB:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/ranlib - -//Path to a program. -CMAKE_READELF:FILEPATH=CMAKE_READELF-NOTFOUND - -//Flags used by the linker during the creation of shared libraries -// during all build types. -CMAKE_SHARED_LINKER_FLAGS:STRING= - -//Flags used by the linker during the creation of shared libraries -// during DEBUG builds. -CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= - -//Flags used by the linker during the creation of shared libraries -// during MINSIZEREL builds. -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during the creation of shared libraries -// during RELEASE builds. -CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= - -//Flags used by the linker during the creation of shared libraries -// during RELWITHDEBINFO builds. -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -//If set, runtime paths are not added when installing shared libraries, -// but are added when building. -CMAKE_SKIP_INSTALL_RPATH:BOOL=NO - -//If set, runtime paths are not added when using shared libraries. -CMAKE_SKIP_RPATH:BOOL=NO - -//Flags used by the linker during the creation of static libraries -// during all build types. -CMAKE_STATIC_LINKER_FLAGS:STRING= - -//Flags used by the linker during the creation of static libraries -// during DEBUG builds. -CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= - -//Flags used by the linker during the creation of static libraries -// during MINSIZEREL builds. -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during the creation of static libraries -// during RELEASE builds. -CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= - -//Flags used by the linker during the creation of static libraries -// during RELWITHDEBINFO builds. -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -//Path to a program. -CMAKE_STRIP:FILEPATH=/Library/Developer/CommandLineTools/usr/bin/strip - -//If this value is on, makefiles will be generated without the -// .SILENT directive, and all commands will be echoed to the console -// during the make. This is useful for debugging only. With Visual -// Studio IDE projects all commands are done without /nologo. -CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE - -//Value Computed by CMake -pmuw_projekt_notebinder_BINARY_DIR:STATIC=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug - -//Value Computed by CMake -pmuw_projekt_notebinder_IS_TOP_LEVEL:STATIC=ON - -//Value Computed by CMake -pmuw_projekt_notebinder_SOURCE_DIR:STATIC=/Users/saba/CLionProjects/pmuw_projekt_notebinder - - -######################## -# INTERNAL cache entries -######################## - -//ADVANCED property for variable: CMAKE_ADDR2LINE -CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_AR -CMAKE_AR-ADVANCED:INTERNAL=1 -//This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug -//Major version of cmake used to create the current loaded cache -CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 -//Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=26 -//Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=4 -//Path to CMake executable. -CMAKE_COMMAND:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -//Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/bin/cpack -//Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/bin/ctest -//ADVANCED property for variable: CMAKE_C_COMPILER -CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS -CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG -CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL -CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE -CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO -CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_DLLTOOL -CMAKE_DLLTOOL-ADVANCED:INTERNAL=1 -//Executable file format -CMAKE_EXECUTABLE_FORMAT:INTERNAL=MACHO -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS -CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG -CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE -CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS -CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 -//Name of external makefile project generator. -CMAKE_EXTRA_GENERATOR:INTERNAL= -//Name of generator. -CMAKE_GENERATOR:INTERNAL=Ninja -//Generator instance identifier. -CMAKE_GENERATOR_INSTANCE:INTERNAL= -//Name of generator platform. -CMAKE_GENERATOR_PLATFORM:INTERNAL= -//Name of generator toolset. -CMAKE_GENERATOR_TOOLSET:INTERNAL= -//Source directory with the top level CMakeLists.txt file for this -// project -CMAKE_HOME_DIRECTORY:INTERNAL=/Users/saba/CLionProjects/pmuw_projekt_notebinder -//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL -CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_LINKER -CMAKE_LINKER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS -CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG -CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE -CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_NM -CMAKE_NM-ADVANCED:INTERNAL=1 -//number of local generators -CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 -//ADVANCED property for variable: CMAKE_OBJCOPY -CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_OBJDUMP -CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 -//Platform information initialized -CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RANLIB -CMAKE_RANLIB-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_READELF -CMAKE_READELF-ADVANCED:INTERNAL=1 -//Path to CMake installation. -CMAKE_ROOT:INTERNAL=/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS -CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG -CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE -CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH -CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_RPATH -CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS -CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG -CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE -CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STRIP -CMAKE_STRIP-ADVANCED:INTERNAL=1 -//uname command -CMAKE_UNAME:INTERNAL=/usr/bin/uname -//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE -CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 - From 212f8c5f165c24be1111404d686a44da662e2944 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:27:04 +0000 Subject: [PATCH 47/74] Delete rules.ninja --- cmake-build-debug/CMakeFiles/rules.ninja | 64 ------------------------ 1 file changed, 64 deletions(-) delete mode 100644 cmake-build-debug/CMakeFiles/rules.ninja diff --git a/cmake-build-debug/CMakeFiles/rules.ninja b/cmake-build-debug/CMakeFiles/rules.ninja deleted file mode 100644 index 8064d52..0000000 --- a/cmake-build-debug/CMakeFiles/rules.ninja +++ /dev/null @@ -1,64 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Ninja" Generator, CMake Version 3.26 - -# This file contains all the rules used to get the outputs files -# built from the input files. -# It is included in the main 'build.ninja'. - -# ============================================================================= -# Project: pmuw_projekt_notebinder -# Configurations: Debug -# ============================================================================= -# ============================================================================= - -############################################# -# Rule for compiling C files. - -rule C_COMPILER__pmuw_projekt_notebinder_unscanned_Debug - depfile = $DEP_FILE - deps = gcc - command = /Library/Developer/CommandLineTools/usr/bin/cc $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in - description = Building C object $out - - -############################################# -# Rule for linking C executable. - -rule C_EXECUTABLE_LINKER__pmuw_projekt_notebinder_Debug - command = $PRE_LINK && /Library/Developer/CommandLineTools/usr/bin/cc $FLAGS -Wl,-search_paths_first -Wl,-headerpad_max_install_names $LINK_FLAGS $in -o $TARGET_FILE $LINK_PATH $LINK_LIBRARIES && $POST_BUILD - description = Linking C executable $TARGET_FILE - restat = $RESTAT - - -############################################# -# Rule for running custom commands. - -rule CUSTOM_COMMAND - command = $COMMAND - description = $DESC - - -############################################# -# Rule for re-running cmake. - -rule RERUN_CMAKE - command = /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --regenerate-during-build -S/Users/saba/CLionProjects/pmuw_projekt_notebinder -B/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug - description = Re-running CMake... - generator = 1 - - -############################################# -# Rule for cleaning all built files. - -rule CLEAN - command = /Applications/CLion.app/Contents/bin/ninja/mac/ninja $FILE_ARG -t clean $TARGETS - description = Cleaning all built files... - - -############################################# -# Rule for printing all primary targets available. - -rule HELP - command = /Applications/CLion.app/Contents/bin/ninja/mac/ninja -t targets - description = All primary targets available: - From 551f1c6e71707ec6c7b3332f59656089cc1a03ea Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:27:09 +0000 Subject: [PATCH 48/74] Delete cmake.check_cache --- cmake-build-debug/CMakeFiles/cmake.check_cache | 1 - 1 file changed, 1 deletion(-) delete mode 100644 cmake-build-debug/CMakeFiles/cmake.check_cache diff --git a/cmake-build-debug/CMakeFiles/cmake.check_cache b/cmake-build-debug/CMakeFiles/cmake.check_cache deleted file mode 100644 index 3dccd73..0000000 --- a/cmake-build-debug/CMakeFiles/cmake.check_cache +++ /dev/null @@ -1 +0,0 @@ -# This file is generated by cmake for dependency checking of the CMakeCache.txt file From a1da1f220963e0f611d26bd1d48bb5dcad19d542 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:27:49 +0000 Subject: [PATCH 49/74] Delete .ninja_log --- cmake-build-debug/.ninja_log | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 cmake-build-debug/.ninja_log diff --git a/cmake-build-debug/.ninja_log b/cmake-build-debug/.ninja_log deleted file mode 100644 index 8480529..0000000 --- a/cmake-build-debug/.ninja_log +++ /dev/null @@ -1,32 +0,0 @@ -# ninja log v5 -0 34 1707224957969670299 build.ninja f2183aada2fc9ffc -2 47 1707224297291255019 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/rules.c.o cdaff7b94c55641c -0 213 1706706276607336012 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 -1 32 1707253996019693702 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/initializeHangman.c.o 7d64de4520ec9e97 -1 38 1707224901221200228 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 -1 44 1706122039878920765 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o 69a5bcd8c57a43b3 -1 38 1706122217155672196 CMakeFiles/pmuw_projekt_notebinder.dir/test/Hangman/word_selector_test.c.o e932f546d59a9d76 -200 287 1707259374410346914 pmuw_projekt_notebinder a5668107eb06d295 -1 33 1707224901218890256 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/currentState.c.o c4eef1ff589ab182 -0 200 1707259374323394998 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 -0 32 1707253441401953897 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o f1dbf76e6b4bc97d -2 48 1707224297294010118 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_drawHangman.c.o b4d90a6b54ad1664 -0 32 1707224707015552741 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/Test/test_playHangman.c.o c78eb198389ea64b -0 39 1707259391450177836 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 -39 64 1707259391474674538 pmuw_projekt_notebinder a5668107eb06d295 -1 202 1707259792405928951 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 -202 292 1707259792495398099 pmuw_projekt_notebinder a5668107eb06d295 -0 41 1707259974595310062 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 -41 68 1707259974621052571 pmuw_projekt_notebinder a5668107eb06d295 -0 41 1707260143202490285 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 -41 66 1707260143227530868 pmuw_projekt_notebinder a5668107eb06d295 -2 209 1707265395136143124 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 -209 296 1707265395223868349 pmuw_projekt_notebinder a5668107eb06d295 -0 192 1707267006006028181 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o fab41de4b8cc0421 -192 278 1707267006091837249 pmuw_projekt_notebinder a5668107eb06d295 -1 203 1707267786560704417 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 -204 289 1707267786646774332 pmuw_projekt_notebinder a5668107eb06d295 -1 37 1707267864900519056 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/playHangman.c.o f2e2af7048638ee6 -38 63 1707267864925012751 pmuw_projekt_notebinder a5668107eb06d295 -1 29 1707267958118485967 CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/drawHangman.c.o de5f7edc6c2379d7 -29 55 1707267958144023054 pmuw_projekt_notebinder a5668107eb06d295 From 402080ec25f52615aac3111e8073b699c09ab7d2 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:27:54 +0000 Subject: [PATCH 50/74] Delete .ninja_deps --- cmake-build-debug/.ninja_deps | Bin 40056 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 cmake-build-debug/.ninja_deps diff --git a/cmake-build-debug/.ninja_deps b/cmake-build-debug/.ninja_deps deleted file mode 100644 index ef1dc81ee98d1ae0e73e1fa750426d1b0c3f2617..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 40056 zcmeHQdvp}l9iH$k2nHK5wDJ-}jioyz1cX);k^n&hL=xqpu$k;mvO{)fw==VZ_)j^f zFHfZiii*fXDJWogL=?2(qZO#2#Rmo{S`g*o1GQ>VsDl0O>|EGv<>Yne>?K~$`DBiq z^ZoApzTfNKJBfXJ>zY18@v9NDV;f15h6B0dlnQl}7F10+5{g!OBSv_JT48zhu%(u2 zx?eRse$9|g!zYInO_yVTczm9)Bz=c}^1&hBVycEIn@Xu7=N4#Ty^xUjtn*U-Kb>?2 zT!n^!c{Sv&a;wGf{ z0w@?V<^F=ww@?qf5i4M*ivR2beF50`H*A%#v}NllduJ-%pk`Wj z?tbQi22R*WpEA~f@_qu|+g+18PJpBPRM`muy7ijJyvUZsfSB-Jz1V zc+Vw%JsPz8{UPwP?3r}Neb*)5o2pvjHC4Mf9b~w6uMaa&Nb{4TcL2O@Xc{gnvjg*A zZuy1=4eItgu)%6(F;!pGz{oP_mtC@f zcR?4A&1t(}!;Lx`bqd{1@UyBH#7~B5hNFg0B_g~8?uPa&au$e&B>RGjUM^=2@(l0{ zsB<`|+igYqdm}g-a^^^AcQEwv**H13^^vx_#7{S(+g#$Oo6r|s;-?$Xzq!B<_lJ~O zu^jrV3;blCLk+wDepWpozSdY;NSzrwdX%1r4OV$dTa2pvH3f6!bKqt*1CrK4d7ovt zX4@~682xrDxLNreb*BP{ys~#fQBIYmPB6#~3hLJu*kIMGs14$u1T)fK82eu_d;zll zXTaOg`deSERD!{A*v<@5g<@S2$W9M9R?zYcEzs^1G zz}iN{YJGK@%nT$}tHD_U|1!Jda`rzyRHBO5SS39U8*bET@(#qr8kgRI@S73UNBp#! zq3^Mywr}lMxwLNFcE=9Bq3dHV*-#Bb4?Frk3LC8E!kBODBPwYnc$vk`+4EQ8`xyTU z@U!Z@=gxOy+Wr~b5%d63y9#=C|FAH!KK*7qPXt6CXnY?ig5OAt-2&VSOah2@Q-G}PkjrMhib}4(#z!FEB60EgwQ>->9crFEa)24a( zggY-o)vY2+vD8>XEylYuo4xANOAoom9gr4*yBhiAgGOKGoZfYR%7%15o>dMtqj}yu z?IJ;?s%|ZOkfnd?&`Z)nx42OY9{{&KN3f{jnyy(IzP!9cJ?otN-Q^G52Y$P*6*T|* zSs$6tG0-kx$ccM@oAh3AvYG?Q8H}@3=^pA|2Jat#mQ;zeSu(=T2mdO}YGugfyUrZ5 zdu2JE5jxz}V-0JX0i19CsleX_fe=9YD&1G>c&0su)-75m=v>Onc|hVBK;rC2Vyx-& z!uKRFK6syp7}$sUj!)mELGxohnfjWyp4=4eNzZM%&x%#kk}dqpTW5rY-|mLrO2Exz z<~om=x$fHt{0TNle~;i@YHp16_g~@J0BD}@76){`A0K)BJ9BgmxAQ$&X9@iHai_2B zb<#S-n?LD%cd&hIowQE!woV$4G+x`K_m(W^&wISGszG%|N7SG>?$n1mX6|y|M&OUI zu>o_4iCigey`g#;G_~*?1xU@m2`xWAb!6DXw3ZqIaeWf1@vr% z+!v4;n&v_mJSW~QT#5fi=O)@ae+cskogIHSb)Bsl^#S!&yk3bKQBC7@B))B|UR3Ku zO^Aj>7os24q$%?Qt=WF?kUcN0K{w->oM~Ptvm?!~n$aJWydd(6i~GO&=6$MJ&$b)2 zmxN{)gl5%FA3L&6SNAxYiMp7)JNEi=jLyDYjQxwH{2K1hHdkOzLGCvEHK*D+aG}iv^xS9niOSl}(1^}Syv0&e=C*}S{AKlc)_%8^7=IUP z+)-@~E#Ek2D95#-sprk)uK7aR8<4ywu|(<@)uy`7z3cLXHm-jISl@i|ecGIuH0H9P z(1t5*<~jYQ_4bu--z~IBx;CVi&2cp8m9l#LLZM00HCX^XAd9qg?#RQNp+^dyd7CwP zInRr~!%plGMA@|^PE=jysCbbKHEe)!DXV^1Bmu7vlPrjXCp$V;Bx4&O@ z^ua=Y_sihTUgJ>-M{E)Ya(*Q-JexX)G~2C zrZsEep&j2W^NRh-0K|GGkOd3`vH_MqJ6@k2^lqE z;ZF)ZxY6U${-^eD5qfZ=$G+{IH}4dBBwY`>x9asqyA>y(M@#x{lFllJb2IFB6ML)V z?yczAqqelj)(1RO2(%NPWJt6eqMvtDa^xxT`O!N<4`bSPp*Jb^L9^B-|?t-@OW(hsG z(c_+eX`kc>J-E^1rmJ2Xp$a{?(c{kYU8nyb^x#I1+LyCa<_kTz(PMD!ovWS~dT^sh z)v#&Zjtf1w(WCuSQ+A}4i~S%k`@xg5K0BTv^x!5xHfd6;+k_t6=+R%( z*p?$>^&0X2>4Yzu`m^ncKM#Gr-&sq)>3JlzVtGnffa)=CTkXL#p-0kt_6q0s Uo4=Zxx*!93(BE;)+wVU4AIjR=_5c6? From ce38a5073a3b6bc0c113b16663b4ed2b86b81927 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:28:00 +0000 Subject: [PATCH 51/74] Delete LastTest.log --- cmake-build-debug/Testing/Temporary/LastTest.log | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 cmake-build-debug/Testing/Temporary/LastTest.log diff --git a/cmake-build-debug/Testing/Temporary/LastTest.log b/cmake-build-debug/Testing/Temporary/LastTest.log deleted file mode 100644 index 4fa8644..0000000 --- a/cmake-build-debug/Testing/Temporary/LastTest.log +++ /dev/null @@ -1,3 +0,0 @@ -Start testing: Feb 07 02:05 CET ----------------------------------------------------------- -End testing: Feb 07 02:05 CET From 01890b8938aef481a48c355c6bd889b7828ddd13 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:28:15 +0000 Subject: [PATCH 52/74] Delete clion-environment.txt --- cmake-build-debug/CMakeFiles/clion-environment.txt | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 cmake-build-debug/CMakeFiles/clion-environment.txt diff --git a/cmake-build-debug/CMakeFiles/clion-environment.txt b/cmake-build-debug/CMakeFiles/clion-environment.txt deleted file mode 100644 index b7d7a44..0000000 --- a/cmake-build-debug/CMakeFiles/clion-environment.txt +++ /dev/null @@ -1,3 +0,0 @@ -ToolSet: 1.0 (local)Options: - -Options:-DCMAKE_MAKE_PROGRAM=/Applications/CLion.app/Contents/bin/ninja/mac/ninja \ No newline at end of file From 90ef88fb657ab659e5d9239cb562552e524cf22e Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:28:19 +0000 Subject: [PATCH 53/74] Delete clion-Debug-log.txt --- cmake-build-debug/CMakeFiles/clion-Debug-log.txt | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 cmake-build-debug/CMakeFiles/clion-Debug-log.txt diff --git a/cmake-build-debug/CMakeFiles/clion-Debug-log.txt b/cmake-build-debug/CMakeFiles/clion-Debug-log.txt deleted file mode 100644 index 7126f32..0000000 --- a/cmake-build-debug/CMakeFiles/clion-Debug-log.txt +++ /dev/null @@ -1,4 +0,0 @@ -/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_MAKE_PROGRAM=/Applications/CLion.app/Contents/bin/ninja/mac/ninja -G Ninja -S /Users/saba/CLionProjects/pmuw_projekt_notebinder -B /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug --- Configuring done (0.0s) --- Generating done (0.0s) --- Build files have been written to: /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug From 9b86a92a100ea8c39dd3beab34aaf677479d0ee4 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:28:23 +0000 Subject: [PATCH 54/74] Delete TargetDirectories.txt --- cmake-build-debug/CMakeFiles/TargetDirectories.txt | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 cmake-build-debug/CMakeFiles/TargetDirectories.txt diff --git a/cmake-build-debug/CMakeFiles/TargetDirectories.txt b/cmake-build-debug/CMakeFiles/TargetDirectories.txt deleted file mode 100644 index 43a6cf4..0000000 --- a/cmake-build-debug/CMakeFiles/TargetDirectories.txt +++ /dev/null @@ -1,3 +0,0 @@ -/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir -/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/edit_cache.dir -/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/rebuild_cache.dir From f3091a6c4d83b7a23a72c736a2e6eb5df07800f0 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:28:27 +0000 Subject: [PATCH 55/74] Delete CMakeConfigureLog.yaml --- .../CMakeFiles/CMakeConfigureLog.yaml | 192 ------------------ 1 file changed, 192 deletions(-) delete mode 100644 cmake-build-debug/CMakeFiles/CMakeConfigureLog.yaml diff --git a/cmake-build-debug/CMakeFiles/CMakeConfigureLog.yaml b/cmake-build-debug/CMakeFiles/CMakeConfigureLog.yaml deleted file mode 100644 index 23e7ec2..0000000 --- a/cmake-build-debug/CMakeFiles/CMakeConfigureLog.yaml +++ /dev/null @@ -1,192 +0,0 @@ - ---- -events: - - - kind: "message-v1" - backtrace: - - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineSystem.cmake:204 (message)" - - "CMakeLists.txt:2 (project)" - message: | - The system is: Darwin - 23.2.0 - arm64 - - - kind: "message-v1" - backtrace: - - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:2 (project)" - message: | - Compiling the C compiler identification source file "CMakeCCompilerId.c" failed. - Compiler: /Library/Developer/CommandLineTools/usr/bin/cc - Build flags: - Id flags: - - The output was: - 1 - ld: library 'System' not found - clang: error: linker command failed with exit code 1 (use -v to see invocation) - - - - - kind: "message-v1" - backtrace: - - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)" - - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)" - - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)" - - "CMakeLists.txt:2 (project)" - message: | - Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. - Compiler: /Library/Developer/CommandLineTools/usr/bin/cc - Build flags: - Id flags: -c - - The output was: - 0 - - - Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.o" - - The C compiler identification is AppleClang, found in: - /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.o - - - - kind: "try_compile-v1" - backtrace: - - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)" - - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" - - "CMakeLists.txt:2 (project)" - checks: - - "Detecting C compiler ABI info" - directories: - source: "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy" - binary: "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy" - cmakeVariables: - CMAKE_C_FLAGS: "" - CMAKE_C_FLAGS_DEBUG: "-g" - CMAKE_EXE_LINKER_FLAGS: "" - CMAKE_OSX_ARCHITECTURES: "" - CMAKE_OSX_DEPLOYMENT_TARGET: "" - CMAKE_OSX_SYSROOT: "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk" - buildResult: - variable: "CMAKE_C_ABI_COMPILED" - cached: true - stdout: | - Change Dir: /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy - - Run Build Command(s):/Applications/CLion.app/Contents/bin/ninja/mac/ninja -v cmTC_66165 && [1/2] /Library/Developer/CommandLineTools/usr/bin/cc -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics -v -Wl,-v -MD -MT CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCCompilerABI.c - Apple clang version 15.0.0 (clang-1500.1.0.2.5) - Target: arm64-apple-darwin23.2.0 - Thread model: posix - InstalledDir: /Library/Developer/CommandLineTools/usr/bin - clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument] - "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple arm64-apple-macosx14.0.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -ffp-contract=on -fno-rounding-math -funwind-tables=1 -fobjc-msgsend-selector-stubs -target-sdk-version=14.2 -fvisibility-inlines-hidden-static-local-var -target-cpu apple-m1 -target-feature +v8.5a -target-feature +crc -target-feature +lse -target-feature +rdm -target-feature +crypto -target-feature +dotprod -target-feature +fp-armv8 -target-feature +neon -target-feature +fp16fml -target-feature +ras -target-feature +rcpc -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-feature +sm4 -target-feature +sha3 -target-feature +sha2 -target-feature +aes -target-abi darwinpcs -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=lldb -target-linker-version 1022.1 -v -fcoverage-compilation-dir=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0 -dependency-file CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -sys-header-deps -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include -internal-externc-isystem /Library/Developer/CommandLineTools/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fdebug-compilation-dir=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fmax-type-align=16 -fcommon -fcolor-diagnostics -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -mllvm -disable-aligned-alloc-awareness=1 -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -x c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCCompilerABI.c - clang -cc1 version 15.0.0 (clang-1500.1.0.2.5) default target arm64-apple-darwin23.2.0 - ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/local/include" - ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/Library/Frameworks" - #include "..." search starts here: - #include <...> search starts here: - /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include - /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include - /Library/Developer/CommandLineTools/usr/include - /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/System/Library/Frameworks (framework directory) - End of search list. - [2/2] : && /Library/Developer/CommandLineTools/usr/bin/cc -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -o cmTC_66165 && : - Apple clang version 15.0.0 (clang-1500.1.0.2.5) - Target: arm64-apple-darwin23.2.0 - Thread model: posix - InstalledDir: /Library/Developer/CommandLineTools/usr/bin - "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 14.0.0 14.2 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -o cmTC_66165 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/lib/darwin/libclang_rt.osx.a - @(#)PROGRAM:ld PROJECT:dyld-1022.1 - BUILD 13:21:42 Nov 10 2023 - configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h - will use ld-classic for: armv6 armv7 armv7s arm64_32 i386 armv6m armv7k armv7m armv7em - LTO support using: LLVM version 15.0.0 (static support for 29, runtime is 29) - TAPI support using: Apple TAPI version 15.0.0 (tapi-1500.0.12.8) - Library search paths: - Framework search paths: - - exitCode: 0 - - - kind: "message-v1" - backtrace: - - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:127 (message)" - - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" - - "CMakeLists.txt:2 (project)" - message: | - Parsed C implicit include dir info: rv=done - found start of include info - found start of implicit include info - add: [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include] - add: [/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include] - add: [/Library/Developer/CommandLineTools/usr/include] - end of search list found - collapse include dir [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include] ==> [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include] - collapse include dir [/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include] - collapse include dir [/Library/Developer/CommandLineTools/usr/include] ==> [/Library/Developer/CommandLineTools/usr/include] - implicit include dirs: [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include;/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include;/Library/Developer/CommandLineTools/usr/include] - - - - - kind: "message-v1" - backtrace: - - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:152 (message)" - - "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)" - - "CMakeLists.txt:2 (project)" - message: | - Parsed C implicit link information: - link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)] - ignore line: [Change Dir: /Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy] - ignore line: [] - ignore line: [Run Build Command(s):/Applications/CLion.app/Contents/bin/ninja/mac/ninja -v cmTC_66165 && [1/2] /Library/Developer/CommandLineTools/usr/bin/cc -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -fcolor-diagnostics -v -Wl -v -MD -MT CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -MF CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o.d -o CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCCompilerABI.c] - ignore line: [Apple clang version 15.0.0 (clang-1500.1.0.2.5)] - ignore line: [Target: arm64-apple-darwin23.2.0] - ignore line: [Thread model: posix] - ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin] - ignore line: [clang: warning: -Wl -v: 'linker' input unused [-Wunused-command-line-argument]] - ignore line: [ "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple arm64-apple-macosx14.0.0 -Wundef-prefix=TARGET_OS_ -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mframe-pointer=non-leaf -fno-strict-return -ffp-contract=on -fno-rounding-math -funwind-tables=1 -fobjc-msgsend-selector-stubs -target-sdk-version=14.2 -fvisibility-inlines-hidden-static-local-var -target-cpu apple-m1 -target-feature +v8.5a -target-feature +crc -target-feature +lse -target-feature +rdm -target-feature +crypto -target-feature +dotprod -target-feature +fp-armv8 -target-feature +neon -target-feature +fp16fml -target-feature +ras -target-feature +rcpc -target-feature +zcm -target-feature +zcz -target-feature +fullfp16 -target-feature +sm4 -target-feature +sha3 -target-feature +sha2 -target-feature +aes -target-abi darwinpcs -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=lldb -target-linker-version 1022.1 -v -fcoverage-compilation-dir=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0 -dependency-file CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o.d -skip-unused-modulemap-deps -MT CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -sys-header-deps -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -internal-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/local/include -internal-isystem /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include -internal-externc-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include -internal-externc-isystem /Library/Developer/CommandLineTools/usr/include -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-final-dtor-non-final-class -Wno-extra-semi-stmt -Wno-misleading-indentation -Wno-quoted-include-in-framework-header -Wno-implicit-fallthrough -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-elaborated-enum-base -Wno-reserved-identifier -Wno-gnu-folding-constant -fdebug-compilation-dir=/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-fNJdfy -ferror-limit 19 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fgnuc-version=4.2.1 -fmax-type-align=16 -fcommon -fcolor-diagnostics -clang-vendor-feature=+disableNonDependentMemberExprInCurrentInstantiation -fno-odr-hash-protocols -clang-vendor-feature=+enableAggressiveVLAFolding -clang-vendor-feature=+revert09abecef7bbf -clang-vendor-feature=+thisNoAlignAttr -clang-vendor-feature=+thisNoNullAttr -mllvm -disable-aligned-alloc-awareness=1 -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -x c /Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCCompilerABI.c] - ignore line: [clang -cc1 version 15.0.0 (clang-1500.1.0.2.5) default target arm64-apple-darwin23.2.0] - ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/local/include"] - ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/Library/Frameworks"] - ignore line: [#include "..." search starts here:] - ignore line: [#include <...> search starts here:] - ignore line: [ /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include] - ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include] - ignore line: [ /Library/Developer/CommandLineTools/usr/include] - ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/System/Library/Frameworks (framework directory)] - ignore line: [End of search list.] - ignore line: [[2/2] : && /Library/Developer/CommandLineTools/usr/bin/cc -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -Wl -search_paths_first -Wl -headerpad_max_install_names -v -Wl -v CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -o cmTC_66165 && :] - ignore line: [Apple clang version 15.0.0 (clang-1500.1.0.2.5)] - ignore line: [Target: arm64-apple-darwin23.2.0] - ignore line: [Thread model: posix] - ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin] - link line: [ "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 14.0.0 14.2 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk -o cmTC_66165 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/lib/darwin/libclang_rt.osx.a] - arg [/Library/Developer/CommandLineTools/usr/bin/ld] ==> ignore - arg [-demangle] ==> ignore - arg [-lto_library] ==> ignore, skip following value - arg [/Library/Developer/CommandLineTools/usr/lib/libLTO.dylib] ==> skip value of -lto_library - arg [-dynamic] ==> ignore - arg [-arch] ==> ignore - arg [arm64] ==> ignore - arg [-platform_version] ==> ignore - arg [macos] ==> ignore - arg [14.0.0] ==> ignore - arg [14.2] ==> ignore - arg [-syslibroot] ==> ignore - arg [/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk] ==> ignore - arg [-o] ==> ignore - arg [cmTC_66165] ==> ignore - arg [-search_paths_first] ==> ignore - arg [-headerpad_max_install_names] ==> ignore - arg [-v] ==> ignore - arg [CMakeFiles/cmTC_66165.dir/CMakeCCompilerABI.c.o] ==> ignore - arg [-lSystem] ==> lib [System] - arg [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/lib/darwin/libclang_rt.osx.a] - remove lib [System] - remove lib [/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/lib/darwin/libclang_rt.osx.a] - implicit libs: [] - implicit objs: [] - implicit dirs: [] - implicit fwks: [] - - -... From 567fa8dad5c83f44c50631db43cb519171cab603 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:30:33 +0000 Subject: [PATCH 56/74] Delete CMakeLists.txt --- CMakeLists.txt | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 455aa81..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,22 +0,0 @@ -cmake_minimum_required(VERSION 3.26) -project(pmuw_projekt_notebinder C) - -set(CMAKE_C_STANDARD 11) - -include_directories(src/main/c) -include_directories(src/main/c/Hangman) -include_directories(src/main/c/Template) - -add_executable(pmuw_projekt_notebinder - - src/main/c/Hangman/word_selector.c - src/main/c/Hangman/word_selector.h - src/main/c/main.c - src/main/c/main.h - src/main/c/Hangman/drawHangman.c - src/main/c/Hangman/drawHangman.h - src/main/c/Hangman/initializeHangman.c - src/main/c/Hangman/initializeHangman.h - src/main/c/Hangman/playHangman.c - src/main/c/Hangman/playHangman.h -) From 7c1675c2e08ff0bd91aa3814a610362b700a3156 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:30:59 +0000 Subject: [PATCH 57/74] Delete cache-v2 --- cmake-build-debug/.cmake/api/v1/query/cache-v2 | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 cmake-build-debug/.cmake/api/v1/query/cache-v2 diff --git a/cmake-build-debug/.cmake/api/v1/query/cache-v2 b/cmake-build-debug/.cmake/api/v1/query/cache-v2 deleted file mode 100644 index e69de29..0000000 From b32c0b4ad02be34fd77bc98f1242cf5de5a97758 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:31:04 +0000 Subject: [PATCH 58/74] Delete cmakeFiles-v1 --- cmake-build-debug/.cmake/api/v1/query/cmakeFiles-v1 | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 cmake-build-debug/.cmake/api/v1/query/cmakeFiles-v1 diff --git a/cmake-build-debug/.cmake/api/v1/query/cmakeFiles-v1 b/cmake-build-debug/.cmake/api/v1/query/cmakeFiles-v1 deleted file mode 100644 index e69de29..0000000 From 41657774053c38defbbaa4703be466764c77d0a1 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:31:09 +0000 Subject: [PATCH 59/74] Delete codemodel-v2 --- cmake-build-debug/.cmake/api/v1/query/codemodel-v2 | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 cmake-build-debug/.cmake/api/v1/query/codemodel-v2 diff --git a/cmake-build-debug/.cmake/api/v1/query/codemodel-v2 b/cmake-build-debug/.cmake/api/v1/query/codemodel-v2 deleted file mode 100644 index e69de29..0000000 From 676f9aa50871f23d211a0db7b3ad3fac39578d67 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:31:13 +0000 Subject: [PATCH 60/74] Delete toolchains-v1 --- cmake-build-debug/.cmake/api/v1/query/toolchains-v1 | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 cmake-build-debug/.cmake/api/v1/query/toolchains-v1 diff --git a/cmake-build-debug/.cmake/api/v1/query/toolchains-v1 b/cmake-build-debug/.cmake/api/v1/query/toolchains-v1 deleted file mode 100644 index e69de29..0000000 From 366032297e2ce46499b026f66cccc196f83e1149 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:31:24 +0000 Subject: [PATCH 61/74] Delete cache-v2-797367ee73be0946ea69.json --- .../reply/cache-v2-797367ee73be0946ea69.json | 1051 ----------------- 1 file changed, 1051 deletions(-) delete mode 100644 cmake-build-debug/.cmake/api/v1/reply/cache-v2-797367ee73be0946ea69.json diff --git a/cmake-build-debug/.cmake/api/v1/reply/cache-v2-797367ee73be0946ea69.json b/cmake-build-debug/.cmake/api/v1/reply/cache-v2-797367ee73be0946ea69.json deleted file mode 100644 index 6598f26..0000000 --- a/cmake-build-debug/.cmake/api/v1/reply/cache-v2-797367ee73be0946ea69.json +++ /dev/null @@ -1,1051 +0,0 @@ -{ - "entries" : - [ - { - "name" : "CMAKE_ADDR2LINE", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Path to a program." - } - ], - "type" : "FILEPATH", - "value" : "CMAKE_ADDR2LINE-NOTFOUND" - }, - { - "name" : "CMAKE_AR", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Path to a program." - } - ], - "type" : "FILEPATH", - "value" : "/Library/Developer/CommandLineTools/usr/bin/ar" - }, - { - "name" : "CMAKE_BUILD_TYPE", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ..." - } - ], - "type" : "STRING", - "value" : "Debug" - }, - { - "name" : "CMAKE_CACHEFILE_DIR", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "This is the directory where this CMakeCache.txt was created" - } - ], - "type" : "INTERNAL", - "value" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug" - }, - { - "name" : "CMAKE_CACHE_MAJOR_VERSION", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Major version of cmake used to create the current loaded cache" - } - ], - "type" : "INTERNAL", - "value" : "3" - }, - { - "name" : "CMAKE_CACHE_MINOR_VERSION", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Minor version of cmake used to create the current loaded cache" - } - ], - "type" : "INTERNAL", - "value" : "26" - }, - { - "name" : "CMAKE_CACHE_PATCH_VERSION", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Patch version of cmake used to create the current loaded cache" - } - ], - "type" : "INTERNAL", - "value" : "4" - }, - { - "name" : "CMAKE_COLOR_DIAGNOSTICS", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Enable colored diagnostics throughout." - } - ], - "type" : "BOOL", - "value" : "ON" - }, - { - "name" : "CMAKE_COMMAND", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Path to CMake executable." - } - ], - "type" : "INTERNAL", - "value" : "/Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake" - }, - { - "name" : "CMAKE_CPACK_COMMAND", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Path to cpack program executable." - } - ], - "type" : "INTERNAL", - "value" : "/Applications/CLion.app/Contents/bin/cmake/mac/bin/cpack" - }, - { - "name" : "CMAKE_CTEST_COMMAND", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Path to ctest program executable." - } - ], - "type" : "INTERNAL", - "value" : "/Applications/CLion.app/Contents/bin/cmake/mac/bin/ctest" - }, - { - "name" : "CMAKE_C_COMPILER", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "C compiler" - } - ], - "type" : "FILEPATH", - "value" : "/Library/Developer/CommandLineTools/usr/bin/cc" - }, - { - "name" : "CMAKE_C_FLAGS", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the C compiler during all build types." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_C_FLAGS_DEBUG", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the C compiler during DEBUG builds." - } - ], - "type" : "STRING", - "value" : "-g" - }, - { - "name" : "CMAKE_C_FLAGS_MINSIZEREL", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the C compiler during MINSIZEREL builds." - } - ], - "type" : "STRING", - "value" : "-Os -DNDEBUG" - }, - { - "name" : "CMAKE_C_FLAGS_RELEASE", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the C compiler during RELEASE builds." - } - ], - "type" : "STRING", - "value" : "-O3 -DNDEBUG" - }, - { - "name" : "CMAKE_C_FLAGS_RELWITHDEBINFO", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the C compiler during RELWITHDEBINFO builds." - } - ], - "type" : "STRING", - "value" : "-O2 -g -DNDEBUG" - }, - { - "name" : "CMAKE_DLLTOOL", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Path to a program." - } - ], - "type" : "FILEPATH", - "value" : "CMAKE_DLLTOOL-NOTFOUND" - }, - { - "name" : "CMAKE_EXECUTABLE_FORMAT", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Executable file format" - } - ], - "type" : "INTERNAL", - "value" : "MACHO" - }, - { - "name" : "CMAKE_EXE_LINKER_FLAGS", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during all build types." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_EXE_LINKER_FLAGS_DEBUG", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during DEBUG builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_EXE_LINKER_FLAGS_MINSIZEREL", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during MINSIZEREL builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_EXE_LINKER_FLAGS_RELEASE", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during RELEASE builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during RELWITHDEBINFO builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_EXPORT_COMPILE_COMMANDS", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Enable/Disable output of compile commands during generation." - } - ], - "type" : "BOOL", - "value" : "" - }, - { - "name" : "CMAKE_EXTRA_GENERATOR", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Name of external makefile project generator." - } - ], - "type" : "INTERNAL", - "value" : "" - }, - { - "name" : "CMAKE_FIND_PACKAGE_REDIRECTS_DIR", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Value Computed by CMake." - } - ], - "type" : "STATIC", - "value" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug/CMakeFiles/pkgRedirects" - }, - { - "name" : "CMAKE_GENERATOR", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Name of generator." - } - ], - "type" : "INTERNAL", - "value" : "Ninja" - }, - { - "name" : "CMAKE_GENERATOR_INSTANCE", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Generator instance identifier." - } - ], - "type" : "INTERNAL", - "value" : "" - }, - { - "name" : "CMAKE_GENERATOR_PLATFORM", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Name of generator platform." - } - ], - "type" : "INTERNAL", - "value" : "" - }, - { - "name" : "CMAKE_GENERATOR_TOOLSET", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Name of generator toolset." - } - ], - "type" : "INTERNAL", - "value" : "" - }, - { - "name" : "CMAKE_HOME_DIRECTORY", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Source directory with the top level CMakeLists.txt file for this project" - } - ], - "type" : "INTERNAL", - "value" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder" - }, - { - "name" : "CMAKE_INSTALL_NAME_TOOL", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Path to a program." - } - ], - "type" : "FILEPATH", - "value" : "/usr/bin/install_name_tool" - }, - { - "name" : "CMAKE_INSTALL_PREFIX", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Install path prefix, prepended onto install directories." - } - ], - "type" : "PATH", - "value" : "/usr/local" - }, - { - "name" : "CMAKE_LINKER", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Path to a program." - } - ], - "type" : "FILEPATH", - "value" : "/Library/Developer/CommandLineTools/usr/bin/ld" - }, - { - "name" : "CMAKE_MAKE_PROGRAM", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "No help, variable specified on the command line." - } - ], - "type" : "UNINITIALIZED", - "value" : "/Applications/CLion.app/Contents/bin/ninja/mac/ninja" - }, - { - "name" : "CMAKE_MODULE_LINKER_FLAGS", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of modules during all build types." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_MODULE_LINKER_FLAGS_DEBUG", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of modules during DEBUG builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of modules during MINSIZEREL builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_MODULE_LINKER_FLAGS_RELEASE", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of modules during RELEASE builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of modules during RELWITHDEBINFO builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_NM", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Path to a program." - } - ], - "type" : "FILEPATH", - "value" : "/Library/Developer/CommandLineTools/usr/bin/nm" - }, - { - "name" : "CMAKE_NUMBER_OF_MAKEFILES", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "number of local generators" - } - ], - "type" : "INTERNAL", - "value" : "1" - }, - { - "name" : "CMAKE_OBJCOPY", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Path to a program." - } - ], - "type" : "FILEPATH", - "value" : "CMAKE_OBJCOPY-NOTFOUND" - }, - { - "name" : "CMAKE_OBJDUMP", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Path to a program." - } - ], - "type" : "FILEPATH", - "value" : "/Library/Developer/CommandLineTools/usr/bin/objdump" - }, - { - "name" : "CMAKE_OSX_ARCHITECTURES", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Build architectures for OSX" - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_OSX_DEPLOYMENT_TARGET", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Minimum OS X version to target for deployment (at runtime); newer APIs weak linked. Set to empty string for default value." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_OSX_SYSROOT", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "The product will be built against the headers and libraries located inside the indicated SDK." - } - ], - "type" : "PATH", - "value" : "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk" - }, - { - "name" : "CMAKE_PLATFORM_INFO_INITIALIZED", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Platform information initialized" - } - ], - "type" : "INTERNAL", - "value" : "1" - }, - { - "name" : "CMAKE_PROJECT_DESCRIPTION", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Value Computed by CMake" - } - ], - "type" : "STATIC", - "value" : "" - }, - { - "name" : "CMAKE_PROJECT_HOMEPAGE_URL", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Value Computed by CMake" - } - ], - "type" : "STATIC", - "value" : "" - }, - { - "name" : "CMAKE_PROJECT_NAME", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Value Computed by CMake" - } - ], - "type" : "STATIC", - "value" : "pmuw_projekt_notebinder" - }, - { - "name" : "CMAKE_RANLIB", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Path to a program." - } - ], - "type" : "FILEPATH", - "value" : "/Library/Developer/CommandLineTools/usr/bin/ranlib" - }, - { - "name" : "CMAKE_READELF", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Path to a program." - } - ], - "type" : "FILEPATH", - "value" : "CMAKE_READELF-NOTFOUND" - }, - { - "name" : "CMAKE_ROOT", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Path to CMake installation." - } - ], - "type" : "INTERNAL", - "value" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26" - }, - { - "name" : "CMAKE_SHARED_LINKER_FLAGS", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of shared libraries during all build types." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_SHARED_LINKER_FLAGS_DEBUG", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of shared libraries during DEBUG builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of shared libraries during MINSIZEREL builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_SHARED_LINKER_FLAGS_RELEASE", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of shared libraries during RELEASE builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of shared libraries during RELWITHDEBINFO builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_SKIP_INSTALL_RPATH", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "If set, runtime paths are not added when installing shared libraries, but are added when building." - } - ], - "type" : "BOOL", - "value" : "NO" - }, - { - "name" : "CMAKE_SKIP_RPATH", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "If set, runtime paths are not added when using shared libraries." - } - ], - "type" : "BOOL", - "value" : "NO" - }, - { - "name" : "CMAKE_STATIC_LINKER_FLAGS", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of static libraries during all build types." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_STATIC_LINKER_FLAGS_DEBUG", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of static libraries during DEBUG builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of static libraries during MINSIZEREL builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_STATIC_LINKER_FLAGS_RELEASE", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of static libraries during RELEASE builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Flags used by the linker during the creation of static libraries during RELWITHDEBINFO builds." - } - ], - "type" : "STRING", - "value" : "" - }, - { - "name" : "CMAKE_STRIP", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "Path to a program." - } - ], - "type" : "FILEPATH", - "value" : "/Library/Developer/CommandLineTools/usr/bin/strip" - }, - { - "name" : "CMAKE_UNAME", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "uname command" - } - ], - "type" : "INTERNAL", - "value" : "/usr/bin/uname" - }, - { - "name" : "CMAKE_VERBOSE_MAKEFILE", - "properties" : - [ - { - "name" : "ADVANCED", - "value" : "1" - }, - { - "name" : "HELPSTRING", - "value" : "If this value is on, makefiles will be generated without the .SILENT directive, and all commands will be echoed to the console during the make. This is useful for debugging only. With Visual Studio IDE projects all commands are done without /nologo." - } - ], - "type" : "BOOL", - "value" : "FALSE" - }, - { - "name" : "pmuw_projekt_notebinder_BINARY_DIR", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Value Computed by CMake" - } - ], - "type" : "STATIC", - "value" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug" - }, - { - "name" : "pmuw_projekt_notebinder_IS_TOP_LEVEL", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Value Computed by CMake" - } - ], - "type" : "STATIC", - "value" : "ON" - }, - { - "name" : "pmuw_projekt_notebinder_SOURCE_DIR", - "properties" : - [ - { - "name" : "HELPSTRING", - "value" : "Value Computed by CMake" - } - ], - "type" : "STATIC", - "value" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder" - } - ], - "kind" : "cache", - "version" : - { - "major" : 2, - "minor" : 0 - } -} From eb322c135bc7181bdd49f8e00d3a662f9f7366a8 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:31:28 +0000 Subject: [PATCH 62/74] Delete cmakeFiles-v1-9ac3996b5bf98606de02.json --- .../cmakeFiles-v1-9ac3996b5bf98606de02.json | 117 ------------------ 1 file changed, 117 deletions(-) delete mode 100644 cmake-build-debug/.cmake/api/v1/reply/cmakeFiles-v1-9ac3996b5bf98606de02.json diff --git a/cmake-build-debug/.cmake/api/v1/reply/cmakeFiles-v1-9ac3996b5bf98606de02.json b/cmake-build-debug/.cmake/api/v1/reply/cmakeFiles-v1-9ac3996b5bf98606de02.json deleted file mode 100644 index 511136f..0000000 --- a/cmake-build-debug/.cmake/api/v1/reply/cmakeFiles-v1-9ac3996b5bf98606de02.json +++ /dev/null @@ -1,117 +0,0 @@ -{ - "inputs" : - [ - { - "path" : "CMakeLists.txt" - }, - { - "isGenerated" : true, - "path" : "cmake-build-debug/CMakeFiles/3.26.4/CMakeSystem.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeSystemSpecificInitialize.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Darwin-Initialize.cmake" - }, - { - "isGenerated" : true, - "path" : "cmake-build-debug/CMakeFiles/3.26.4/CMakeCCompiler.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeSystemSpecificInformation.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeGenericSystem.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeInitializeConfigs.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Darwin.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/UnixPaths.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCInformation.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeLanguageInformation.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/AppleClang-C.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/Clang.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/CMakeCommonCompilerMacros.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/GNU.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Compiler/CMakeCommonCompilerMacros.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Apple-AppleClang-C.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Apple-Clang-C.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/Platform/Apple-Clang.cmake" - }, - { - "isCMake" : true, - "isExternal" : true, - "path" : "/Applications/CLion.app/Contents/bin/cmake/mac/share/cmake-3.26/Modules/CMakeCommonLanguageInclude.cmake" - } - ], - "kind" : "cmakeFiles", - "paths" : - { - "build" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder/cmake-build-debug", - "source" : "/Users/saba/CLionProjects/pmuw_projekt_notebinder" - }, - "version" : - { - "major" : 1, - "minor" : 0 - } -} From b4380a590aabf80002894e95f8dbfbfed2b64faf Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:31:31 +0000 Subject: [PATCH 63/74] Delete directory-.-Debug-f5ebdc15457944623624.json --- .../directory-.-Debug-f5ebdc15457944623624.json | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 cmake-build-debug/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json diff --git a/cmake-build-debug/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json b/cmake-build-debug/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json deleted file mode 100644 index 3a67af9..0000000 --- a/cmake-build-debug/.cmake/api/v1/reply/directory-.-Debug-f5ebdc15457944623624.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "backtraceGraph" : - { - "commands" : [], - "files" : [], - "nodes" : [] - }, - "installers" : [], - "paths" : - { - "build" : ".", - "source" : "." - } -} From 368dc3fa0eabe146b8732793cfcc4a57ea72645f Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:31:35 +0000 Subject: [PATCH 64/74] Delete toolchains-v1-e0f424cc4383644d699f.json --- .../toolchains-v1-e0f424cc4383644d699f.json | 37 ------------------- 1 file changed, 37 deletions(-) delete mode 100644 cmake-build-debug/.cmake/api/v1/reply/toolchains-v1-e0f424cc4383644d699f.json diff --git a/cmake-build-debug/.cmake/api/v1/reply/toolchains-v1-e0f424cc4383644d699f.json b/cmake-build-debug/.cmake/api/v1/reply/toolchains-v1-e0f424cc4383644d699f.json deleted file mode 100644 index 4cbd4c7..0000000 --- a/cmake-build-debug/.cmake/api/v1/reply/toolchains-v1-e0f424cc4383644d699f.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "kind" : "toolchains", - "toolchains" : - [ - { - "compiler" : - { - "id" : "AppleClang", - "implicit" : - { - "includeDirectories" : - [ - "/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include", - "/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include", - "/Library/Developer/CommandLineTools/usr/include" - ], - "linkDirectories" : [], - "linkFrameworkDirectories" : [], - "linkLibraries" : [] - }, - "path" : "/Library/Developer/CommandLineTools/usr/bin/cc", - "version" : "15.0.0.15000100" - }, - "language" : "C", - "sourceFileExtensions" : - [ - "c", - "m" - ] - } - ], - "version" : - { - "major" : 1, - "minor" : 0 - } -} From 9e348a1e614d88aad5a3326589f3e497820642c7 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:31:46 +0000 Subject: [PATCH 65/74] Delete CMakeCCompilerId.c --- .../3.26.4/CompilerIdC/CMakeCCompilerId.c | 866 ------------------ 1 file changed, 866 deletions(-) delete mode 100644 cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.c diff --git a/cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.c b/cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.c deleted file mode 100644 index 88155ff..0000000 --- a/cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.c +++ /dev/null @@ -1,866 +0,0 @@ -#ifdef __cplusplus -# error "A C++ compiler has been selected for C." -#endif - -#if defined(__18CXX) -# define ID_VOID_MAIN -#endif -#if defined(__CLASSIC_C__) -/* cv-qualifiers did not exist in K&R C */ -# define const -# define volatile -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_C) -# define COMPILER_ID "SunPro" -# if __SUNPRO_C >= 0x5100 - /* __SUNPRO_C = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) -# endif - -#elif defined(__HP_cc) -# define COMPILER_ID "HP" - /* __HP_cc = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) - -#elif defined(__DECC) -# define COMPILER_ID "Compaq" - /* __DECC_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) - -#elif defined(__IBMC__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__open_xl__) && defined(__clang__) -# define COMPILER_ID "IBMClang" -# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) -# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) -# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) - - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 -# define COMPILER_ID "XL" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMC__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__TASKING__) -# define COMPILER_ID "Tasking" - # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) - # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) -# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) - -#elif defined(__TINYC__) -# define COMPILER_ID "TinyCC" - -#elif defined(__BCC__) -# define COMPILER_ID "Bruce" - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) -# define COMPILER_ID "LCC" -# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100) -# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100) -# if defined(__LCC_MINOR__) -# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) -# endif -# if defined(__GNUC__) && defined(__GNUC_MINOR__) -# define SIMULATE_ID "GNU" -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif -# endif - -#elif defined(__GNUC__) -# define COMPILER_ID "GNU" -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(_ADI_COMPILER) -# define COMPILER_ID "ADSP" -#if defined(__VERSIONNUM__) - /* __VERSIONNUM__ = 0xVVRRPPTT */ -# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) -# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) -# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) -# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - -#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) -# define COMPILER_ID "SDCC" -# if defined(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) -# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) -# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) -# else - /* SDCC = VRP */ -# define COMPILER_VERSION_MAJOR DEC(SDCC/100) -# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) -# define COMPILER_VERSION_PATCH DEC(SDCC % 10) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -# elif defined(_ADI_COMPILER) -# define PLATFORM_ID "ADSP" - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -# elif defined(__ADSPSHARC__) -# define ARCHITECTURE_ID "SHARC" - -# elif defined(__ADSPBLACKFIN__) -# define ARCHITECTURE_ID "Blackfin" - -#elif defined(__TASKING__) - -# if defined(__CTC__) || defined(__CPTC__) -# define ARCHITECTURE_ID "TriCore" - -# elif defined(__CMCS__) -# define ARCHITECTURE_ID "MCS" - -# elif defined(__CARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__CARC__) -# define ARCHITECTURE_ID "ARC" - -# elif defined(__C51__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__CPCP__) -# define ARCHITECTURE_ID "PCP" - -# else -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#if !defined(__STDC__) && !defined(__clang__) -# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__) -# define C_VERSION "90" -# else -# define C_VERSION -# endif -#elif __STDC_VERSION__ > 201710L -# define C_VERSION "23" -#elif __STDC_VERSION__ >= 201710L -# define C_VERSION "17" -#elif __STDC_VERSION__ >= 201000L -# define C_VERSION "11" -#elif __STDC_VERSION__ >= 199901L -# define C_VERSION "99" -#else -# define C_VERSION "90" -#endif -const char* info_language_standard_default = - "INFO" ":" "standard_default[" C_VERSION "]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -#ifdef ID_VOID_MAIN -void main() {} -#else -# if defined(__CLASSIC_C__) -int main(argc, argv) int argc; char *argv[]; -# else -int main(int argc, char* argv[]) -# endif -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; - require += info_arch[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} -#endif From af75914eeed747cee590761133263463efeef492 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:31:52 +0000 Subject: [PATCH 66/74] Delete CMakeCCompilerId.o --- .../3.26.4/CompilerIdC/CMakeCCompilerId.o | Bin 1712 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.o diff --git a/cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.o b/cmake-build-debug/CMakeFiles/3.26.4/CompilerIdC/CMakeCCompilerId.o deleted file mode 100644 index 7b535879801fc78b203ff53280f4bb26a31c4358..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1712 zcmb_cJ%|%Q6rOnJnKPOwSSSY?u(1l8^A1H>NVq5};qHnQk#LMlvdJxMHes{TD=ZEa zv=O|<%Hj$I!Pdf92{!3G8?lU5cZI!YVf^0CoBUnn&x6_Teecb@eY5k;e*F3U*D)a? z0!EK%jN&0Yk{GZv7+=C{NDn-^oZFx^FwKv^r*W8qFew9jBT&BLg=@vakZZ5Y4%MTQ z88n3csIg4~ZBmw7f$w-V4oEp(PuKA|pPAAt6>__Spp+FWum%+U=CXzCkY{+G7dZ45 z^{C`F`qO(H&ZhmA8(wR;;mQ8ix!zS?)SKvUv=;ePuimuEfoyyC9Iql}J~uk&71v90 zFp0jXWEaS(u`SOdcN#vqC*Yav>BFr>hE2uX7dMRi5I5v)2etEsbek-uNise^i#jaXy zHz=hqaR&Fr_F4{PG{~(iul?c29_vruwS6jBGD1r)rj%nCLnpn6SlTcqUKHM^WOyaV zI(Pww`82sWW9k30b!sk7HW%OiAp*4eHGW Zu9SiUdQnq2p!1r-0ZnTP2bAOy+HW9I5BC57 From 8d8518863bcfd68e407ef8e0c6a59fe84ad6e744 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:31:58 +0000 Subject: [PATCH 67/74] Delete CMakeCCompiler.cmake --- .../CMakeFiles/3.26.4/CMakeCCompiler.cmake | 72 ------------------- 1 file changed, 72 deletions(-) delete mode 100644 cmake-build-debug/CMakeFiles/3.26.4/CMakeCCompiler.cmake diff --git a/cmake-build-debug/CMakeFiles/3.26.4/CMakeCCompiler.cmake b/cmake-build-debug/CMakeFiles/3.26.4/CMakeCCompiler.cmake deleted file mode 100644 index 57ab031..0000000 --- a/cmake-build-debug/CMakeFiles/3.26.4/CMakeCCompiler.cmake +++ /dev/null @@ -1,72 +0,0 @@ -set(CMAKE_C_COMPILER "/Library/Developer/CommandLineTools/usr/bin/cc") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "AppleClang") -set(CMAKE_C_COMPILER_VERSION "15.0.0.15000100") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17") -set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON") -set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17;c_std_23") -set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") -set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") -set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") -set(CMAKE_C17_COMPILE_FEATURES "c_std_17") -set(CMAKE_C23_COMPILE_FEATURES "c_std_23") - -set(CMAKE_C_PLATFORM_ID "Darwin") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "GNU") -set(CMAKE_C_SIMULATE_VERSION "") - - - - -set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar") -set(CMAKE_C_COMPILER_AR "") -set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib") -set(CMAKE_C_COMPILER_RANLIB "") -set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld") -set(CMAKE_MT "") -set(CMAKE_COMPILER_IS_GNUCC ) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS TRUE) -set(CMAKE_C_ABI_COMPILED TRUE) - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -set(CMAKE_C_COMPILER_ID_RUN 1) -set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) -set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) -set(CMAKE_C_LINKER_PREFERENCE 10) - -# Save compiler ABI information. -set(CMAKE_C_SIZEOF_DATA_PTR "8") -set(CMAKE_C_COMPILER_ABI "") -set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN") -set(CMAKE_C_LIBRARY_ARCHITECTURE "") - -if(CMAKE_C_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_C_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") -endif() - -if(CMAKE_C_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") -if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include;/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include;/Library/Developer/CommandLineTools/usr/include") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") From 22a1d7872aec0ad8e8bbcfa331dde1b7dea5cfc9 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:32:02 +0000 Subject: [PATCH 68/74] Delete CMakeDetermineCompilerABI_C.bin --- .../3.26.4/CMakeDetermineCompilerABI_C.bin | Bin 17000 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100755 cmake-build-debug/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_C.bin diff --git a/cmake-build-debug/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_C.bin b/cmake-build-debug/CMakeFiles/3.26.4/CMakeDetermineCompilerABI_C.bin deleted file mode 100755 index d0263cc2b452862d9a24f33016cfc32225bfe328..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17000 zcmeI4Uuau(6vuxzX`v-u8|S8uDrOAkpN_WvX$^(NWNW%cyQI}TgcbLrNp9@jnxv#D zHe+f*id`#WnLcfAgU!muhHRBEhV`W)B3s9BTLq2cLyPzz6^k7#e$UOl?TrxypU;7F zf4_6i?|1GwpPSc{>+8SXuM;6LPlB}CqG(Jz;~ zDlE$5#z85={z$kytl#&R`-EXv!%d2kbdfTvj%5u4%ir@AJf&vLBV_ z8B3=|%+rSO<+{#MJs-o)==AzAbTeV|mW7-LUEV(zQpRldy^R9jwDx9nfAV z37sLOZ$W4NkJRIm3yR;IXc-;JvCh2`~XBzyz286JP>NfC(@G zCcp%k025#WOn?b60Vco%m;e)C0!)AjFaajO1egF5U;<2l2`~XBzyz286JP>NfC(@G zCcp%k025#WOn?b60Vco%m;e)C0!)AjSO^r~5sSsgMZVA|@;^GnpT!1|UuhiAV}|#G zn!dd=wc3h%xxt&SQEDB_*4Qj!Ic@A8V>>++u>x}7T{H7``E4NB73vt#j;ZN{j1Ols z{jKiTga`&gUD1wgPO6!-8t=~p_Q?Z5f1oqy6Nu_}qPeUp)0w!M>F)`I!##fK4|WE8 zLBwgK_)()T>q;}sG~?{WN=ozTBwqcw`Jg%JI%IL`nP9l|@n`*j3(rX;fEMJt2q0D2L%Gz%{+K*W~hfR++lah2|nG(+o= z>xeNQ|B_)(8aBPAK`BjmQ+*GS4W~Jek9lvzODrhv!eoDCCHho;StU}hq~zbkFQeM) zQccCRft09-4QbizkZOkUE~~76UpEhegoer>*#;jfRqVo6MZBn$7&Jmb2fG50$I+z+BHEeTH>#ZtpMUe9=l71oPkc0$ zmlxhX|7j$>u#%Xsy1lq~)E0_V7mr^)er#gt+I07cJ?H)_{^9$frkQEy*Pq=xFHike zJo!^%b@GojZT5vPe#k_B&Mn-Gf3>{pyLVToCO%1RJ27zjy)T!4X`0?1S@4{?SY1e5 G6@LL&JT!>_ From e5755d579015a5a83874701dd4c732a2a2e43d3f Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:32:06 +0000 Subject: [PATCH 69/74] Delete CMakeSystem.cmake --- .../CMakeFiles/3.26.4/CMakeSystem.cmake | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 cmake-build-debug/CMakeFiles/3.26.4/CMakeSystem.cmake diff --git a/cmake-build-debug/CMakeFiles/3.26.4/CMakeSystem.cmake b/cmake-build-debug/CMakeFiles/3.26.4/CMakeSystem.cmake deleted file mode 100644 index d0903e1..0000000 --- a/cmake-build-debug/CMakeFiles/3.26.4/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Darwin-23.2.0") -set(CMAKE_HOST_SYSTEM_NAME "Darwin") -set(CMAKE_HOST_SYSTEM_VERSION "23.2.0") -set(CMAKE_HOST_SYSTEM_PROCESSOR "arm64") - - - -set(CMAKE_SYSTEM "Darwin-23.2.0") -set(CMAKE_SYSTEM_NAME "Darwin") -set(CMAKE_SYSTEM_VERSION "23.2.0") -set(CMAKE_SYSTEM_PROCESSOR "arm64") - -set(CMAKE_CROSSCOMPILING "FALSE") - -set(CMAKE_SYSTEM_LOADED 1) From 99688246c99971dac1e904decca4273517c2611a Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:32:46 +0000 Subject: [PATCH 70/74] Delete word_selector.c.o --- .../src/main/c/Hangman/word_selector.c.o | Bin 3072 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o diff --git a/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o b/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Hangman/word_selector.c.o deleted file mode 100644 index 32246661cc6bb4bf24faf5444d652756aa46bb6a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3072 zcmb7G-D@0G6hE`Ov)RqYZQ4}Zw9u{?OGT31#FQ58M?zCgY{ZyEnkqWX&fcWc%*V1b zn=~Y~p;b^6w5U&guwcOyeDWy>g3=cYidey?{sDavK`4k)>+j6m$!?~Rngi#ak2&{u z&%JZbo%!jn-~MSMQV7ID3Veu%0vOZ@UQGt-hQo*H&^^U-K#|=7ojJ!&kf!n&CQL15ne}<3%{vf}Ih4Df5fw$EBuKM7chr z>E&`w%yGU$rv}HLUkm$F;#`uRF}d%xfH2)PGr}{SX_uXGyhYv|XeAW%i^OZkfyv{R z5n(`t=lQk35yyK%PSRzbi+uR&DTb$4tCr9l-4-6=;&^Y%^O}+vw=?U(U~P!!md_d- z8OOUV@wy~Te^x3Du_0cNUsX5acwtcxMR-&H6VG3$Zn)pBpvZ`>$$XX`if6bs^76I1 zGjBQ-O&c9*Y=!81iC2)$0_vDw(SE#N`HEuu4eQS`9l=xL`@JLazL0nWz+)=?2VNhZ z?F5Hw-JPM#?8=S3t1CA?TfLrGzLh)DV^^*L2@>okqOwd9Go`oJQUAU0Z~m7RB1G z`@lM+&(wslh10l*5U$rNW^8SuYR#P%SZp2Wg3#C5!CDoeTd}n<9VtG5>FZ@n6nx=0 zCiieiRoAlW>oz>(kl)-al ztMX*NLrvx{F6Do}kZ<3yJHJ)ghRZF{Ps#j9$Fa_5bI;`xD8ZznjC9~$f1E}-4x;?j zeNc$fU5GoH%fZvaYA$yaYNiLk+tLF&lX;%cI7HcgN~}4ETDJrMK?|pXWKcw)HY#C! z2mB42pdUgJjQpWUv?K5ZC`vM$jJ_Pn({QBtAhrkNqolqGBfSf;X{BW^M5ZPE3`9$c zJ1HQZtk?r^D!Z;g&n7M}y~5U>tNgr`G1G6rp{8h%FW`b<>CQ}HPSiZqWuf;#PpPL= z*dKVidk>UKJ-zVs^&EJLim!TzDtdZZFCHI7^jOV3D-7Q&R_*${hPQcE%=((+`l5^* zNz{s7%_!Qs=@gCPFjld3r-*i`XdXJj@ZDOELB&xMJyBaI4v9HoxmCwUd~SxV&x-DH-Lxv*!PQ5cnm20Vqi&o*TWH$g z`1s&yZDQoL6WZkIu@jm`b;mPj98oEl=(unf<4D!DPhl?A0(AsiKSvxeJTW+oqYmyd zzRU2R6A=3p3O~5_L5Y#OTIuG6?+(GwcVY1QAfsmC>fkwjV5SI{eN1s&#@tK{7c292 z1_SYZ%lRd7`=;a{6t5NJ3RzlyH}~VmhrcokpDw-beQ+{?0!_5DdXcn=T3*`NJ!g z(a~2tG9^0|wX^lEs-|C5ccf3Md(s!x?APjJ=~1-}s`^Kw4LQ*OLXrIF;ZPpoZ=g!l z&1a5E=x&F^FH^Sg{DkNrIFAYPoT!&=e50fPfNik1 zG{v*Jr78Yt*iDav<8QXP#+q%?8ttO_rY%TzbyGiR9(M$3!D#t*wU2o04Mx5bLH`1% CXTo0q From 483798e77aee921876b8881c46eabf2085bd4069 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:32:57 +0000 Subject: [PATCH 71/74] Delete main.c.o --- .../src/main/c/main.c.o | Bin 4096 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o diff --git a/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o b/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/main.c.o deleted file mode 100644 index 55a7cec38777ce5da2feed0f792408df824da205..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4096 zcmb_fU2Gdw7CtkRaXfb7ki^*}-CfmP3JQqWN$RvwSwllol%`V}C4rVd4P$58xV6V# z&!j)J+E$^vswh)Prr?>B&UeyE1^=3lE@njfJV{#j~vw==B1Y{UF$F1b;{lZ`vSH=tC zJTCe_P=k>^a_m|%j2SCCx8E?c*@|_D=R3M*c=FDwiy{X6Ls;$)Rl5S=ijYCPyuGi) z4)yV#6y9gVdcP6zo@ge*AJdxguxPKdKHi|%|6vjD@8VoMXTPb7XO_za%dpL&<)FVl z-XXDHiz2{BT1}+?60ej!kmK(9coDI_jUr4oB7{}=<@uG(Tz$M`UA({k%6RV4@|x?N z6!FfA`Mmf)4NkpDZ`hr3)kLc^XfE z7r>l$|95%0aoeS@6F_pIx7P2X^yX@vm_SOh#{mH3v z-YWDb9M`P4mJQQ@ZyKmEZSqZk*Ob8`EUyc?k#W=Lw4 zZiuz3N^Jgk?AsHu>pFiMYn9q?FXS}sXx|#WH7X+$6-nCBj^}*?Y+JAc>PAvxw?(56 zLo7z4w?S-7L)_7Rdv`D_d?Wmcv?RXL7TVUO#JGn&h$3l{s|KWY)bqhkK8>C8-$`se zsEPW}y5N^s1-1;)RlH7;FLGy>ru=wS zr$%xIjM6$y3F^!0G!<&>Mkn7(8B;|NkCZVOyd}rIwu8dFvT8x#t&xh?a~oMe8<7`| z-NIV*UudJe#Y}yEm%Ej_TG$bX-2+e?)HFbrXqZbBsnMNIYL}VYJ+-$# zjZZr>2dPfI_NnBG=0U4BJC`ra^m=bU-4in}7ZocVLQC^6of|O%3y5d6kCGk6&^own@m?6;PlbIPuhRwFBq! z-if!kbWMX#fxUwS?&3k9E+C&ZSCj|A4}<>+UIL#7zYqQj%(sAvQ;5Y4LJ#I7)HUaH zEk1mKnfYmC;&t-c6jEWwTLI#AGI6!*J9#?#UFwTiF7f2?`<+L>*bCc1@Snk4YB&XX zZk&-DfgnytHgWz66K@-vIP-;x7tAJp41@`iAifl!2BB6V273dYfG$bW&#`6(b_Gk< zoI^xc=Q9G;7{_pxkjp7N(?^Azob_f+TJ`sbqDg8b63(cqt~Q0nRdrl(=GEqq(lW1V zZ@li)DfGAMsur48a^EYzAOEFR?GF8bvE!kgyFejjdOV~g=hcp#YV*!rs;b-v-5FQq zkg|DPZo=~Yt(gF}5%uc45kxwtG5#|AYT&0zFFz=)Kz^uEGkZDvt^=M0B0KdnK4!RB zw!r=<5H(ak?PKPYu%85?uIk5q%p4JRE&?b`dfCTJLD*-3_$jQ<_?US}*dGAmaCOcm zV1{oGe|G|ijMQ}>Gh@O&3dDx%+kDLY5yw#r>E+4j?H{F_=vIkMi-1E|C?s)w_N{8_a1Gd<_?nK9Cci)NT^YG z%=bahnKpw}K>eCT^(hti;L#^PR&pp1wgkfFKo|^!bRcY^f?F&P1S$lm{ecPrY9Hp# F^dHfkTx$RT From 4c8e3360a0fae5d6fe73c9e36aad31205c70467b Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:33:09 +0000 Subject: [PATCH 72/74] Delete game100.c.o --- .../src/main/c/Template/game100.c.o | Bin 2688 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o diff --git a/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o b/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/src/main/c/Template/game100.c.o deleted file mode 100644 index 123f3d68a0e8a309efd0c037d7e2a1b57dd2602e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2688 zcmb7GO=u)V6n;H3J(;AllV5S8ml3iW51F2c3Cad{GbGXc$%Z6qc16pcPAAT0rhAy~ z$tLXL24O+LgF%G_4|!-;dGPA})T^&v zb-hz=HMYl|FU&o)A96`)Zz%b310LL*?mk6$C3o3lXCvMZD)N?+!+NN!N9X+)JRDjE zHsZZ4Z;)tG$zK$nf@jf?pH;1v9pPFP$H!zN-W?SkUD+UC=3zP#&nsTGIjj+HR@G3i z!q`40p3JXm*^PKX1KwB1#0xg6N1pel!n>jJ`|W@6Y_Ed60#SFbl-wmDX2#S~DKe@) zMwD|sMZ{a&#Qmxd*YN$q`YV@QhnF;-_hp6mzQVf=Jf>~nsVhH(H-Nd*;BYRDO~D`z zV*f3yV~AV}(JUnQDN82aikV}RNdOc2LMN@+!2A}+&6ceVba^(LZJ7_e>iHJZIq9F52ib`PUIOIq{*(c#;_5?0pprB*@a^~1mEL0oZd_E^f|+Tnq<{5&OvR; z60aRO9Z&PZ^LXu2S!~dm{PB8EQyS1yEKEMU+}!LZ_bZR`{py2ePMnvKZrE^ zrB!M$Po9=tu~wb_V!c#e>X%(c_A6EmEmoMDD_j)wlb6QD!o}HfA&C6Iss%zNO}GReDz3}1WN-;-mQ8u#S=qP&h1!+A4zGZ=_<&OJ^#irSF*GbYdF zHeWaF%)8fK@ZY>M0~?=7=EZfzdvOK!fNus#FHbQa8ZL@K|?lyL{9iOM3& j|3Sox6NFuKxJU3TpiP#k98{_Ua?HyyN8)g6sU7|X+R}e= From 2354bdce856d0b3ad0d9cfc12ab7d3abc16bb599 Mon Sep 17 00:00:00 2001 From: fdai7875 Date: Wed, 7 Feb 2024 10:33:14 +0000 Subject: [PATCH 73/74] Delete word_selector_test.c.o --- .../test/Hangman/word_selector_test.c.o | Bin 3840 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/test/Hangman/word_selector_test.c.o diff --git a/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/test/Hangman/word_selector_test.c.o b/cmake-build-debug/CMakeFiles/pmuw_projekt_notebinder.dir/test/Hangman/word_selector_test.c.o deleted file mode 100644 index 5f7e0fabe5b787d239354803f0fb753e174007f0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3840 zcmb7HU2GIp6uz^&vp?OkrL@Rjtc$5c9=6*S2nq7jO3_vp!M21V>ScCzT87TfY-VN) z2uS%!glJ;Xnvj?X4?Msd@d?of4NpXkfd`*7F+LbHG5$mnP!PW}d#AfQ)Ceaz_uO;t zx!*na&N=t)e*M=k|1>ftF%UHo@JVXYV9+9Pob>;oT)Z-HLHPK33}#|rd&Ie`?RSL& z!TIo}k>RTD_b!PJ;f2t@4S+dhi?B%&K5?#Erc(tB;`un|y`3>OBKtFEm%wveTQ|qV za1d{pf&pbJg58aZju2va#>ja=%a_NvlF!@P1nswPNAKWsGvi0agbTv5oDQp=>L7hQ z-5j;ZEr_=~T$%i{z_>2(cH{8G)@Q}Tro91z}g1Usft%bdD+~jn+48ueN|V+=8EsxBaD}UN1yy8zOMiZ;8pU^&`ph| z1oyj5;N2B?w?%wsfG0kA9bPy57J@5dDJ%*GkrUa^VIEl~(M&=T+%_-~eR^Vwm(oZa z4SEkx_m8vd_YO)I?`>qKvBC|^oc8%tXmT*#cx`d~aAHZE#m6sPed6+kt7k7?3{Boh z98P?IHK*bd=1GaS?j7vC2&~heh50wNn7f-M2YtNnW9-h&SkE2I`Tb_>?Bafjt;W7v zD>yxOnACFz`qWZJv9RehtIVy%cE)wXz+fHivuvYKXMs}CM@KbVGga?9iBVNEw7jjj zx@A`V700nuJz!MJj%yXQN)`LQMaz0%9j1)gnpV`z>ZJ*HrCiVhYcp1|tx*k&)qx(+ zlses8tDq@HU~NoCh!0@urtVVg6SdncS%y)r-y}lXr{FlSzP}ri2q|x9#aa_%6WShK zHEIDdj*#3v^?r=0R@u>Oj?x<+)*LrIs_2GRSd(^e;;K8Sm<6l2!?Fu$TXV~{sTI;M zZqMZ!nA9vim1>d0sbhyyzaB}=U9cq8EX_kIhgPz1YM^DqqBY59k|ESWSds=>@L(-v z11+mj2l6s>koE2GTc1qA5~FT1xgOp4N(}ll6HSP#p#w|Ji}oxGr^rsoD5sSyG-JT4 zTJJ+1bDF$W*pGmSc-uqzf*M&T+7sYUNd%Luu5&;p`Q$$ zJ~T?&lRrRXjWka53Ro(>gpp8VGW1S-f_lv~gUz9+qBab2g!R&clU5DI97|7Vwu4$p zcdhE^?C4BC?O8Kjt2#S7x?t($94I!a#2Zp^`Zn{DmIH+Qn7VtF4&hV9kH zU2a;gmd6dO*;y9}lI;h6Q8BY9-U6>=iDl#0jN^8wESu9&ruKnspEjWxRtb|fT1B`Q za=3VhEz5ASLw%c_>=s4cIyBO?5}`PSaTZV?Jv6nbjBA;ESvLw9@1|!IpOe$^n@HV* zO69zFaIkkL9~yXh6Cd8WZ4>8=l}$$3Rx^#&sMachSPh&Ijkc}u955?fe{4hSWC*oED1JV0M`wHVVi+C?wWqrb> zJ$6o>On&v=+K<%q`-gTpZ+|-i+c@|QFvU!HOY2g)w}U}cBV;-S7AC4NGEpfB6IC0T zs2qg}JuM10+swZ#P61LL5;RMF~?T3MMXEW>g@G`QUUV+ z*As=n5_Fgzg&&vXMGd!PIr@UUAi7y@iyo5`SLDagZA4f8BNCEXG^}5d<%U1ywk>iq z923zkax2MWVdEGq;rW;py%IexOIt&Y*eF4t11Iov{tP5;sLV7Z269ssx$Yz+-h1Oj zMZQWeiVVL3B=RcL1BstdxwRF!4);D~M22#O#^*xfCsF1KBygke3R#9k9z{1mVw=%r z!k!iq!t?)7$k!oLUc@xQ*gS9w0RD~Zk`ACtGzg+Mu6CT_P9ZS=_u~raRA)YI61tx+ zG}KgshnI!onIWpFTD?7>=L7n#fSw8Hj92e1uI<-dX7CRBQ^GlSTwKC-iSf}A{+YR> mjJtYKW8xC7KGm?#c5`uu?kdK;)^LlZ6^z<$ukG^MPWCSe Date: Wed, 7 Feb 2024 11:49:09 +0100 Subject: [PATCH 74/74] hangman added to main --- src/main/c/main.c | 72 +++++++++++++++++++++++------------------------ 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/src/main/c/main.c b/src/main/c/main.c index f32de94..bbaaa50 100644 --- a/src/main/c/main.c +++ b/src/main/c/main.c @@ -2,54 +2,54 @@ #include #include -#include "Hangman/playHangman.h" -#include "Hangman/word_selector.h" -#include "Hangman/drawHangman.h" -#include "Hangman/initializeHangman.h" +#include "Snake/snake_start.h" +#include "Minesweeper/minesweeper_start.h" +#include "Pong/pong.h" +#include "playHangman.h" int main(){ bool running = true; while (running){ - + int option = 0; - + system("clear"); printf("Waehlen Sie eine Option:\n"); - printf("\t1.Spiel1 starten\n"); - printf("\t2.Spiel2 starten\n"); - printf("\t3.Spiel3 starten\n"); + printf("\t1.Hangman1 starten\n"); + printf("\t2.Pong starten\n"); + printf("\t3.Snake starten\n"); printf("\t4.Spiel4 starten\n"); - printf("\t100.Template starten\n"); - printf("\t6.Exit\n"); - + printf("\t7.Minesweeper starten\n"); + printf("\t10.Exit\n"); + scanf("%d", &option); getchar(); switch (option){ - case 1: - playHangman(selectRandomWord()); - break; - case 2: - //start_game2(); - break; - case 3: - //start_game3(); - break; - case 4: - //start_game4(); - break; - case 100: - //start_game100(); - break; - case 6: - system("clear"); - running = false; - break; - - default: - break; + case 1: + playHangman(selectRandomWord()); + break; + case 2: + pong(); + break; + case 3: + snake_start(); + break; + case 4: + //start_game4(); + break; + case 7: + minesweeper_start(); + break; + case 10: + system("clear"); + running = false; + break; + + default: + break; } } - return 0; -} \ No newline at end of file + return 0; +}