From 1e07ea74398646ea916dce0d94323d5fdd38494b Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Sun, 21 Mar 2021 18:23:20 +0300 Subject: [PATCH 01/14] basic project scructure --- game/game.cpp | 0 game/game.hpp | 0 game/game_events.cpp | 0 game/game_events.hpp | 0 game/game_map.cpp | 0 game/game_map.hpp | 0 game/game_menu.cpp | 0 game/game_menu.hpp | 0 game/map_entities/action.cpp | 0 game/map_entities/action.hpp | 0 game/map_entities/actions.hpp | 0 game/map_entities/actions/attack_action.cpp | 0 game/map_entities/actions/attack_action.hpp | 0 game/map_entities/cell.cpp | 0 game/map_entities/cell.hpp | 0 game/map_entities/unit_obj.cpp | 0 game/map_entities/unit_obj.hpp | 0 game/player_data.hpp | 0 game/unit/module_builder.cpp | 0 game/unit/module_builder.hpp | 0 game/unit/modules.hpp | 0 game/unit/unit.cpp | 0 game/unit/unit.hpp | 0 game/unit/unit_builder.cpp | 0 game/unit/unit_builder.hpp | 0 game/unit/unit_memory.cpp | 0 game/unit/unit_memory.hpp | 0 game/unit/unit_module.cpp | 0 game/unit/unit_module.hpp | 0 out_api/draw.cpp | 0 out_api/draw.hpp | 0 out_api/game_draw.cpp | 0 out_api/game_draw.hpp | 0 out_api/input.cpp | 0 out_api/input.hpp | 0 out_api/input_controller.cpp | 0 out_api/input_controller.hpp | 0 out_api/menu_draw.cpp | 0 out_api/menu_draw.hpp | 0 39 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 game/game.cpp create mode 100644 game/game.hpp create mode 100644 game/game_events.cpp create mode 100644 game/game_events.hpp create mode 100644 game/game_map.cpp create mode 100644 game/game_map.hpp create mode 100644 game/game_menu.cpp create mode 100644 game/game_menu.hpp create mode 100644 game/map_entities/action.cpp create mode 100644 game/map_entities/action.hpp create mode 100644 game/map_entities/actions.hpp create mode 100644 game/map_entities/actions/attack_action.cpp create mode 100644 game/map_entities/actions/attack_action.hpp create mode 100644 game/map_entities/cell.cpp create mode 100644 game/map_entities/cell.hpp create mode 100644 game/map_entities/unit_obj.cpp create mode 100644 game/map_entities/unit_obj.hpp create mode 100644 game/player_data.hpp create mode 100644 game/unit/module_builder.cpp create mode 100644 game/unit/module_builder.hpp create mode 100644 game/unit/modules.hpp create mode 100644 game/unit/unit.cpp create mode 100644 game/unit/unit.hpp create mode 100644 game/unit/unit_builder.cpp create mode 100644 game/unit/unit_builder.hpp create mode 100644 game/unit/unit_memory.cpp create mode 100644 game/unit/unit_memory.hpp create mode 100644 game/unit/unit_module.cpp create mode 100644 game/unit/unit_module.hpp create mode 100644 out_api/draw.cpp create mode 100644 out_api/draw.hpp create mode 100644 out_api/game_draw.cpp create mode 100644 out_api/game_draw.hpp create mode 100644 out_api/input.cpp create mode 100644 out_api/input.hpp create mode 100644 out_api/input_controller.cpp create mode 100644 out_api/input_controller.hpp create mode 100644 out_api/menu_draw.cpp create mode 100644 out_api/menu_draw.hpp diff --git a/game/game.cpp b/game/game.cpp new file mode 100644 index 0000000..e69de29 diff --git a/game/game.hpp b/game/game.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/game_events.cpp b/game/game_events.cpp new file mode 100644 index 0000000..e69de29 diff --git a/game/game_events.hpp b/game/game_events.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/game_map.cpp b/game/game_map.cpp new file mode 100644 index 0000000..e69de29 diff --git a/game/game_map.hpp b/game/game_map.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/game_menu.cpp b/game/game_menu.cpp new file mode 100644 index 0000000..e69de29 diff --git a/game/game_menu.hpp b/game/game_menu.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/map_entities/action.cpp b/game/map_entities/action.cpp new file mode 100644 index 0000000..e69de29 diff --git a/game/map_entities/action.hpp b/game/map_entities/action.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/map_entities/actions.hpp b/game/map_entities/actions.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/map_entities/actions/attack_action.cpp b/game/map_entities/actions/attack_action.cpp new file mode 100644 index 0000000..e69de29 diff --git a/game/map_entities/actions/attack_action.hpp b/game/map_entities/actions/attack_action.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/map_entities/cell.cpp b/game/map_entities/cell.cpp new file mode 100644 index 0000000..e69de29 diff --git a/game/map_entities/cell.hpp b/game/map_entities/cell.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/map_entities/unit_obj.cpp b/game/map_entities/unit_obj.cpp new file mode 100644 index 0000000..e69de29 diff --git a/game/map_entities/unit_obj.hpp b/game/map_entities/unit_obj.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/player_data.hpp b/game/player_data.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/unit/module_builder.cpp b/game/unit/module_builder.cpp new file mode 100644 index 0000000..e69de29 diff --git a/game/unit/module_builder.hpp b/game/unit/module_builder.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/unit/modules.hpp b/game/unit/modules.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/unit/unit.cpp b/game/unit/unit.cpp new file mode 100644 index 0000000..e69de29 diff --git a/game/unit/unit.hpp b/game/unit/unit.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/unit/unit_builder.cpp b/game/unit/unit_builder.cpp new file mode 100644 index 0000000..e69de29 diff --git a/game/unit/unit_builder.hpp b/game/unit/unit_builder.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/unit/unit_memory.cpp b/game/unit/unit_memory.cpp new file mode 100644 index 0000000..e69de29 diff --git a/game/unit/unit_memory.hpp b/game/unit/unit_memory.hpp new file mode 100644 index 0000000..e69de29 diff --git a/game/unit/unit_module.cpp b/game/unit/unit_module.cpp new file mode 100644 index 0000000..e69de29 diff --git a/game/unit/unit_module.hpp b/game/unit/unit_module.hpp new file mode 100644 index 0000000..e69de29 diff --git a/out_api/draw.cpp b/out_api/draw.cpp new file mode 100644 index 0000000..e69de29 diff --git a/out_api/draw.hpp b/out_api/draw.hpp new file mode 100644 index 0000000..e69de29 diff --git a/out_api/game_draw.cpp b/out_api/game_draw.cpp new file mode 100644 index 0000000..e69de29 diff --git a/out_api/game_draw.hpp b/out_api/game_draw.hpp new file mode 100644 index 0000000..e69de29 diff --git a/out_api/input.cpp b/out_api/input.cpp new file mode 100644 index 0000000..e69de29 diff --git a/out_api/input.hpp b/out_api/input.hpp new file mode 100644 index 0000000..e69de29 diff --git a/out_api/input_controller.cpp b/out_api/input_controller.cpp new file mode 100644 index 0000000..e69de29 diff --git a/out_api/input_controller.hpp b/out_api/input_controller.hpp new file mode 100644 index 0000000..e69de29 diff --git a/out_api/menu_draw.cpp b/out_api/menu_draw.cpp new file mode 100644 index 0000000..e69de29 diff --git a/out_api/menu_draw.hpp b/out_api/menu_draw.hpp new file mode 100644 index 0000000..e69de29 From 7e8b9c12cc08a386a4e468725bb2fc4e9ceed346 Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Sun, 21 Mar 2021 18:29:02 +0300 Subject: [PATCH 02/14] basic project scructure edit + remove cmake files --- .gitignore | 11 - CMakeCache.txt | 438 ----------- CMakeFiles/3.19.7/CMakeCCompiler.cmake | 77 -- CMakeFiles/3.19.7/CMakeCXXCompiler.cmake | 89 --- .../3.19.7/CMakeDetermineCompilerABI_C.bin | Bin 15984 -> 0 bytes .../3.19.7/CMakeDetermineCompilerABI_CXX.bin | Bin 15992 -> 0 bytes CMakeFiles/3.19.7/CMakeSystem.cmake | 15 - .../3.19.7/CompilerIdC/CMakeCCompilerId.c | 691 ------------------ CMakeFiles/3.19.7/CompilerIdC/a.out | Bin 16136 -> 0 bytes .../CompilerIdCXX/CMakeCXXCompilerId.cpp | 680 ----------------- CMakeFiles/3.19.7/CompilerIdCXX/a.out | Bin 16152 -> 0 bytes CMakeFiles/CMakeDirectoryInformation.cmake | 16 - CMakeFiles/CMakeOutput.log | 397 ---------- CMakeFiles/Game.dir/CXX.includecache | 14 - CMakeFiles/Game.dir/DependInfo.cmake | 20 - CMakeFiles/Game.dir/build.make | 119 --- CMakeFiles/Game.dir/cmake_clean.cmake | 10 - CMakeFiles/Game.dir/depend.internal | 5 - CMakeFiles/Game.dir/depend.make | 5 - CMakeFiles/Game.dir/flags.make | 10 - CMakeFiles/Game.dir/link.txt | 1 - CMakeFiles/Game.dir/main.cpp.o | Bin 1808 -> 0 bytes CMakeFiles/Game.dir/progress.make | 3 - CMakeFiles/Makefile.cmake | 123 ---- CMakeFiles/Makefile2 | 125 ---- CMakeFiles/TargetDirectories.txt | 3 - CMakeFiles/cmake.check_cache | 1 - CMakeFiles/progress.marks | 1 - Makefile | 197 ----- bin/Game | Bin 16296 -> 0 bytes cmake_install.cmake | 54 -- {game => src/game}/game.cpp | 0 {game => src/game}/game.hpp | 0 {game => src/game}/game_events.cpp | 0 {game => src/game}/game_events.hpp | 0 {game => src/game}/game_map.cpp | 0 {game => src/game}/game_map.hpp | 0 {game => src/game}/game_menu.cpp | 0 {game => src/game}/game_menu.hpp | 0 {game => src/game}/map_entities/action.cpp | 0 {game => src/game}/map_entities/action.hpp | 0 {game => src/game}/map_entities/actions.hpp | 0 .../map_entities/actions/attack_action.cpp | 0 .../map_entities/actions/attack_action.hpp | 0 {game => src/game}/map_entities/cell.cpp | 0 {game => src/game}/map_entities/cell.hpp | 0 {game => src/game}/map_entities/unit_obj.cpp | 0 {game => src/game}/map_entities/unit_obj.hpp | 0 {game => src/game}/player_data.hpp | 0 {game => src/game}/unit/module_builder.cpp | 0 {game => src/game}/unit/module_builder.hpp | 0 {game => src/game}/unit/modules.hpp | 0 {game => src/game}/unit/unit.cpp | 0 {game => src/game}/unit/unit.hpp | 0 {game => src/game}/unit/unit_builder.cpp | 0 {game => src/game}/unit/unit_builder.hpp | 0 {game => src/game}/unit/unit_memory.cpp | 0 {game => src/game}/unit/unit_memory.hpp | 0 {game => src/game}/unit/unit_module.cpp | 0 {game => src/game}/unit/unit_module.hpp | 0 {out_api => src/out_api}/draw.cpp | 0 {out_api => src/out_api}/draw.hpp | 0 {out_api => src/out_api}/game_draw.cpp | 0 {out_api => src/out_api}/game_draw.hpp | 0 {out_api => src/out_api}/input.cpp | 0 {out_api => src/out_api}/input.hpp | 0 {out_api => src/out_api}/input_controller.cpp | 0 {out_api => src/out_api}/input_controller.hpp | 0 {out_api => src/out_api}/menu_draw.cpp | 0 {out_api => src/out_api}/menu_draw.hpp | 0 70 files changed, 3105 deletions(-) delete mode 100644 CMakeCache.txt delete mode 100644 CMakeFiles/3.19.7/CMakeCCompiler.cmake delete mode 100644 CMakeFiles/3.19.7/CMakeCXXCompiler.cmake delete mode 100755 CMakeFiles/3.19.7/CMakeDetermineCompilerABI_C.bin delete mode 100755 CMakeFiles/3.19.7/CMakeDetermineCompilerABI_CXX.bin delete mode 100644 CMakeFiles/3.19.7/CMakeSystem.cmake delete mode 100644 CMakeFiles/3.19.7/CompilerIdC/CMakeCCompilerId.c delete mode 100755 CMakeFiles/3.19.7/CompilerIdC/a.out delete mode 100644 CMakeFiles/3.19.7/CompilerIdCXX/CMakeCXXCompilerId.cpp delete mode 100755 CMakeFiles/3.19.7/CompilerIdCXX/a.out delete mode 100644 CMakeFiles/CMakeDirectoryInformation.cmake delete mode 100644 CMakeFiles/CMakeOutput.log delete mode 100644 CMakeFiles/Game.dir/CXX.includecache delete mode 100644 CMakeFiles/Game.dir/DependInfo.cmake delete mode 100644 CMakeFiles/Game.dir/build.make delete mode 100644 CMakeFiles/Game.dir/cmake_clean.cmake delete mode 100644 CMakeFiles/Game.dir/depend.internal delete mode 100644 CMakeFiles/Game.dir/depend.make delete mode 100644 CMakeFiles/Game.dir/flags.make delete mode 100644 CMakeFiles/Game.dir/link.txt delete mode 100644 CMakeFiles/Game.dir/main.cpp.o delete mode 100644 CMakeFiles/Game.dir/progress.make delete mode 100644 CMakeFiles/Makefile.cmake delete mode 100644 CMakeFiles/Makefile2 delete mode 100644 CMakeFiles/TargetDirectories.txt delete mode 100644 CMakeFiles/cmake.check_cache delete mode 100644 CMakeFiles/progress.marks delete mode 100644 Makefile delete mode 100755 bin/Game delete mode 100644 cmake_install.cmake rename {game => src/game}/game.cpp (100%) rename {game => src/game}/game.hpp (100%) rename {game => src/game}/game_events.cpp (100%) rename {game => src/game}/game_events.hpp (100%) rename {game => src/game}/game_map.cpp (100%) rename {game => src/game}/game_map.hpp (100%) rename {game => src/game}/game_menu.cpp (100%) rename {game => src/game}/game_menu.hpp (100%) rename {game => src/game}/map_entities/action.cpp (100%) rename {game => src/game}/map_entities/action.hpp (100%) rename {game => src/game}/map_entities/actions.hpp (100%) rename {game => src/game}/map_entities/actions/attack_action.cpp (100%) rename {game => src/game}/map_entities/actions/attack_action.hpp (100%) rename {game => src/game}/map_entities/cell.cpp (100%) rename {game => src/game}/map_entities/cell.hpp (100%) rename {game => src/game}/map_entities/unit_obj.cpp (100%) rename {game => src/game}/map_entities/unit_obj.hpp (100%) rename {game => src/game}/player_data.hpp (100%) rename {game => src/game}/unit/module_builder.cpp (100%) rename {game => src/game}/unit/module_builder.hpp (100%) rename {game => src/game}/unit/modules.hpp (100%) rename {game => src/game}/unit/unit.cpp (100%) rename {game => src/game}/unit/unit.hpp (100%) rename {game => src/game}/unit/unit_builder.cpp (100%) rename {game => src/game}/unit/unit_builder.hpp (100%) rename {game => src/game}/unit/unit_memory.cpp (100%) rename {game => src/game}/unit/unit_memory.hpp (100%) rename {game => src/game}/unit/unit_module.cpp (100%) rename {game => src/game}/unit/unit_module.hpp (100%) rename {out_api => src/out_api}/draw.cpp (100%) rename {out_api => src/out_api}/draw.hpp (100%) rename {out_api => src/out_api}/game_draw.cpp (100%) rename {out_api => src/out_api}/game_draw.hpp (100%) rename {out_api => src/out_api}/input.cpp (100%) rename {out_api => src/out_api}/input.hpp (100%) rename {out_api => src/out_api}/input_controller.cpp (100%) rename {out_api => src/out_api}/input_controller.hpp (100%) rename {out_api => src/out_api}/menu_draw.cpp (100%) rename {out_api => src/out_api}/menu_draw.hpp (100%) diff --git a/.gitignore b/.gitignore index 61b8896..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +0,0 @@ -CMakeLists.txt.user -CMakeCache.txt -CMakeFiles -CMakeScripts -Testing -Makefile -cmake_install.cmake -install_manifest.txt -compile_commands.json -CTestTestfile.cmake -_deps \ No newline at end of file diff --git a/CMakeCache.txt b/CMakeCache.txt deleted file mode 100644 index aa70c2c..0000000 --- a/CMakeCache.txt +++ /dev/null @@ -1,438 +0,0 @@ -# This is the CMakeCache file. -# For build in directory: /home/gnom/Code/Mipt/tp/tp_game -# It was generated by CMake: /usr/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=/usr/bin/addr2line - -//Path to a program. -CMAKE_AR:FILEPATH=/usr/bin/ar - -//Choose the type of build, options are: None Debug Release RelWithDebInfo -// MinSizeRel ... -CMAKE_BUILD_TYPE:STRING= - -//Enable/Disable color output during build. -CMAKE_COLOR_MAKEFILE:BOOL=ON - -//CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++ - -//A wrapper around 'ar' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar - -//A wrapper around 'ranlib' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib - -//Flags used by the CXX compiler during all build types. -CMAKE_CXX_FLAGS:STRING= - -//Flags used by the CXX compiler during DEBUG builds. -CMAKE_CXX_FLAGS_DEBUG:STRING=-g - -//Flags used by the CXX compiler during MINSIZEREL builds. -CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG - -//Flags used by the CXX compiler during RELEASE builds. -CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG - -//Flags used by the CXX compiler during RELWITHDEBINFO builds. -CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG - -//C compiler -CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc - -//A wrapper around 'ar' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar - -//A wrapper around 'ranlib' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib - -//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= - -//Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=/usr/local - -//Path to a program. -CMAKE_LINKER:FILEPATH=/usr/bin/ld - -//Path to a program. -CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make - -//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=/usr/bin/nm - -//Path to a program. -CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy - -//Path to a program. -CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump - -//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=Game - -//Path to a program. -CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib - -//Path to a program. -CMAKE_READELF:FILEPATH=/usr/bin/readelf - -//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=/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 - -//Path to a library. -CURSES_CURSES_LIBRARY:FILEPATH=/usr/lib/libcurses.so - -//Path to a library. -CURSES_FORM_LIBRARY:FILEPATH=/usr/lib/libform.so - -//Path to a file. -CURSES_INCLUDE_PATH:PATH=/usr/include - -//Path to a library. -CURSES_NCURSES_LIBRARY:FILEPATH=/usr/lib/libncurses.so - -//Value Computed by CMake -Game_BINARY_DIR:STATIC=/home/gnom/Code/Mipt/tp/tp_game - -//Value Computed by CMake -Game_SOURCE_DIR:STATIC=/home/gnom/Code/Mipt/tp/tp_game - -//pkg-config executable -PKG_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/pkg-config - -//Path to a library. -pkgcfg_lib_NCURSES_ncursesw:FILEPATH=/usr/lib/libncursesw.so - - -######################## -# 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=/home/gnom/Code/Mipt/tp/tp_game -//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=19 -//Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=7 -//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE -CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 -//Path to CMake executable. -CMAKE_COMMAND:INTERNAL=/usr/bin/cmake -//Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack -//Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest -//ADVANCED property for variable: CMAKE_CXX_COMPILER -CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR -CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB -CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS -CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG -CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL -CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE -CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO -CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_COMPILER -CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_COMPILER_AR -CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB -CMAKE_C_COMPILER_RANLIB-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 -//Path to cache edit program executable. -CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake -//Executable file format -CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF -//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=Unix Makefiles -//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=/home/gnom/Code/Mipt/tp/tp_game -//Install .so files without execute permission. -CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0 -//ADVANCED property for variable: CMAKE_LINKER -CMAKE_LINKER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MAKE_PROGRAM -CMAKE_MAKE_PROGRAM-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=/usr/share/cmake-3.19 -//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 -//ADVANCED property for variable: CURSES_CURSES_LIBRARY -CURSES_CURSES_LIBRARY-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CURSES_FORM_LIBRARY -CURSES_FORM_LIBRARY-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CURSES_INCLUDE_PATH -CURSES_INCLUDE_PATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CURSES_NCURSES_LIBRARY -CURSES_NCURSES_LIBRARY-ADVANCED:INTERNAL=1 -//Details about finding Curses -FIND_PACKAGE_MESSAGE_DETAILS_Curses:INTERNAL=[/usr/lib/libcurses.so][/usr/include][v()] -NCURSES_CFLAGS:INTERNAL=-D_DEFAULT_SOURCE;-D_XOPEN_SOURCE=600 -NCURSES_CFLAGS_I:INTERNAL= -NCURSES_CFLAGS_OTHER:INTERNAL=-D_DEFAULT_SOURCE;-D_XOPEN_SOURCE=600 -NCURSES_FOUND:INTERNAL=1 -NCURSES_INCLUDEDIR:INTERNAL=/usr/include -NCURSES_INCLUDE_DIRS:INTERNAL= -NCURSES_LDFLAGS:INTERNAL=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now;-lncursesw -NCURSES_LDFLAGS_OTHER:INTERNAL=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -NCURSES_LIBDIR:INTERNAL=/usr/lib -NCURSES_LIBRARIES:INTERNAL=ncursesw -NCURSES_LIBRARY_DIRS:INTERNAL= -NCURSES_LIBS:INTERNAL= -NCURSES_LIBS_L:INTERNAL= -NCURSES_LIBS_OTHER:INTERNAL= -NCURSES_LIBS_PATHS:INTERNAL= -NCURSES_MODULE_NAME:INTERNAL=ncurses -NCURSES_PREFIX:INTERNAL=/usr -NCURSES_STATIC_CFLAGS:INTERNAL=-D_DEFAULT_SOURCE;-D_XOPEN_SOURCE=600 -NCURSES_STATIC_CFLAGS_I:INTERNAL= -NCURSES_STATIC_CFLAGS_OTHER:INTERNAL=-D_DEFAULT_SOURCE;-D_XOPEN_SOURCE=600 -NCURSES_STATIC_INCLUDE_DIRS:INTERNAL= -NCURSES_STATIC_LDFLAGS:INTERNAL=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now;-lncursesw -NCURSES_STATIC_LDFLAGS_OTHER:INTERNAL=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -NCURSES_STATIC_LIBDIR:INTERNAL= -NCURSES_STATIC_LIBRARIES:INTERNAL=ncursesw -NCURSES_STATIC_LIBRARY_DIRS:INTERNAL= -NCURSES_STATIC_LIBS:INTERNAL= -NCURSES_STATIC_LIBS_L:INTERNAL= -NCURSES_STATIC_LIBS_OTHER:INTERNAL= -NCURSES_STATIC_LIBS_PATHS:INTERNAL= -NCURSES_VERSION:INTERNAL=6.2.20200212 -NCURSES_ncurses_INCLUDEDIR:INTERNAL= -NCURSES_ncurses_LIBDIR:INTERNAL= -NCURSES_ncurses_PREFIX:INTERNAL= -NCURSES_ncurses_VERSION:INTERNAL= -//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE -PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1 -__pkg_config_arguments_NCURSES:INTERNAL=QUIET;ncurses -__pkg_config_checked_NCURSES:INTERNAL=1 -//ADVANCED property for variable: pkgcfg_lib_NCURSES_ncursesw -pkgcfg_lib_NCURSES_ncursesw-ADVANCED:INTERNAL=1 -prefix_result:INTERNAL=/usr/lib - diff --git a/CMakeFiles/3.19.7/CMakeCCompiler.cmake b/CMakeFiles/3.19.7/CMakeCCompiler.cmake deleted file mode 100644 index b1fb927..0000000 --- a/CMakeFiles/3.19.7/CMakeCCompiler.cmake +++ /dev/null @@ -1,77 +0,0 @@ -set(CMAKE_C_COMPILER "/usr/bin/cc") -set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "GNU") -set(CMAKE_C_COMPILER_VERSION "10.2.0") -set(CMAKE_C_COMPILER_VERSION_INTERNAL "") -set(CMAKE_C_COMPILER_WRAPPER "") -set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") -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") -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_C_PLATFORM_ID "Linux") -set(CMAKE_C_SIMULATE_ID "") -set(CMAKE_C_COMPILER_FRONTEND_VARIANT "") -set(CMAKE_C_SIMULATE_VERSION "") - - - - -set(CMAKE_AR "/usr/bin/ar") -set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar") -set(CMAKE_RANLIB "/usr/bin/ranlib") -set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib") -set(CMAKE_LINKER "/usr/bin/ld") -set(CMAKE_MT "") -set(CMAKE_COMPILER_IS_GNUCC 1) -set(CMAKE_C_COMPILER_LOADED 1) -set(CMAKE_C_COMPILER_WORKS TRUE) -set(CMAKE_C_ABI_COMPILED TRUE) -set(CMAKE_COMPILER_IS_MINGW ) -set(CMAKE_COMPILER_IS_CYGWIN ) -if(CMAKE_COMPILER_IS_CYGWIN) - set(CYGWIN 1) - set(UNIX 1) -endif() - -set(CMAKE_C_COMPILER_ENV_VAR "CC") - -if(CMAKE_COMPILER_IS_MINGW) - set(MINGW 1) -endif() -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 "ELF") -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 "/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed;/usr/include") -set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0;/usr/lib;/lib") -set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/CMakeFiles/3.19.7/CMakeCXXCompiler.cmake b/CMakeFiles/3.19.7/CMakeCXXCompiler.cmake deleted file mode 100644 index 5091344..0000000 --- a/CMakeFiles/3.19.7/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,89 +0,0 @@ -set(CMAKE_CXX_COMPILER "/usr/bin/c++") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "GNU") -set(CMAKE_CXX_COMPILER_VERSION "10.2.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") -set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20") -set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") -set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") -set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") -set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") -set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20") - -set(CMAKE_CXX_PLATFORM_ID "Linux") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "") -set(CMAKE_CXX_SIMULATE_VERSION "") - - - - -set(CMAKE_AR "/usr/bin/ar") -set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar") -set(CMAKE_RANLIB "/usr/bin/ranlib") -set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib") -set(CMAKE_LINKER "/usr/bin/ld") -set(CMAKE_MT "") -set(CMAKE_COMPILER_IS_GNUCXX 1) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS TRUE) -set(CMAKE_CXX_ABI_COMPILED TRUE) -set(CMAKE_COMPILER_IS_MINGW ) -set(CMAKE_COMPILER_IS_CYGWIN ) -if(CMAKE_COMPILER_IS_CYGWIN) - set(CYGWIN 1) - set(UNIX 1) -endif() - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -if(CMAKE_COMPILER_IS_MINGW) - set(MINGW 1) -endif() -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "8") -set(CMAKE_CXX_COMPILER_ABI "ELF") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/10.2.0;/usr/include/c++/10.2.0/x86_64-pc-linux-gnu;/usr/include/c++/10.2.0/backward;/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed;/usr/include") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0;/usr/lib;/lib") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/CMakeFiles/3.19.7/CMakeDetermineCompilerABI_C.bin b/CMakeFiles/3.19.7/CMakeDetermineCompilerABI_C.bin deleted file mode 100755 index 683af4de283585b5766013f3f364a68cecefb3a3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15984 zcmeHOZERat89sKJHigDx+XXkodEEr0eIL=lwY6y!RaYT;FrPk{lfH`+N$iMeS2u(t_BEoCxU>nvj*Dy;6}za|0WV5@K*W<{!dFz{ z>BbnzIK`|_rQCK?V&}$w(FbxJoQ_^Iv;R$fhhe8#ZdBBT57@KM$dByZv$K%xDddaQsh+9m-k!aC!j)2Zx77r0SA;GeQ~M7dQ~pzG zjyc%-l&_)emolkXiFG&8#bIar7rt})^2rNpFFkwfhn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9oG)k(lQPkl}9QSabq3DFbq0pf#C1~jHah58c%dIv`mF7 z(-UTTgwQP8IF4MtNar{vRoEI#W5sHCvRsIaHcO) zf!Btx$9fQmbu`)!J>ZjM&udMTvEBq~QklE`LaSNIa7{kUdp0x!W(5b+27OUm$CQKsGUdK2dx-TEj4e@C_*4tuO` zBVi&bLC-F&l)=A20>1aCAL~e*SG_3rkH;S;*ddN@62~gA$GNz9S=fZw$dOe)1!YAw1ArohV J%fMAs{{o*82p#|c diff --git a/CMakeFiles/3.19.7/CMakeDetermineCompilerABI_CXX.bin b/CMakeFiles/3.19.7/CMakeDetermineCompilerABI_CXX.bin deleted file mode 100755 index c606383b52c2aef33b28de6f177a75ba369c66be..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15992 zcmeHOUu+yl8J|1Hi9_SF6YSJY3f_iFI22#(kQz6Y(>tHf-V^5}BsM7oXS=>z+o#?i zbGH}S6%->wq-$`AKx!je1Qq20i3f_rpC@oI3Mo&?11PA1IH(b!N>dkFWJ>De`)0oH zvbQ}~zyl9-N4opX{JuXk^Udtu?Cs1Kqwzt%&nGz5i30*lTC-w8B$)X)WdK5=S2V)+ z-D0QM2;~iuQ}U1kkg9aqUyTjK*8!qk8)j)1({G>%xyJS}<~bp9DJ|Qc`(W z;9)*O^{qD!4HSPy3a{9cPL22M+mlXqrc>GCOy^8*PiN1*U?CUWE9=E}b-@Sc)X>3E z;hz(W$g#ao_^Qf&DuaqlsM`V`3_IHIdZz7;d$0WTiMkVi{KWYmO?JHcOz1r7U_a0& z>R>_+Kb%m;ALjlY90a9ZH59Qvtp<;^Z>zy$-C7ME$FCMI3}Z5r%NhmS%-e<`jM&Jq zk+kyGWU63W`H|sBI+wLZ%<;6PWVIzmV#YKkQdu*ddJGf|7_9{P%$TXHfO5f3Chofr zN2~{nnM!Ul0jgN)Mn0kVp?Iu6V(bm>4c-qe$4Q|k28^S45=uOuiaS!9QFazMOnhDQ z_0+so@o*cJiTOoxpoOY=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o>!XFUt_VY8~vHg!w`zmNfNl3sFl=*Dq_Qa+h(z8l*hSb;lMuJJ^c!}@NZ_Xa0vIH7#$-A-Zl;Z- zoy!*tvp6FXxy*FhvaKZCRBCGAM*oyy=JV#PVP)<7teD7~8Oul(GnrX1ag+>fNtJ43 z*nHHAJp6D3YDuN7e7HXrOiWJ;<1_K@o>X=sXE^@tM7CFw&@=EncqBX=HKGRx@T7tP zcRwSl6R8gz5yrr$4~BEW|MeK!hll~l}4gFbrJ#u zM4>2~`tIj0)Nu;b#mIvnX{(NGVEt7Ms&$~F=AjJ{EX-zXa~#mlE1cq7Dhr1{rbSTB ztjTOKIGxW;TX}odL5&wva2zLGPr(%OB(LkDz(w?DI>3+NGx?ZkN6?@;F^c+d&!GCka612kUitQtVqcBX{KW?dtMJPYOF};wm$~^-(d~K?dNqNBln-zh3@v7V2^7; zw&!&t;~A%!!oKi>xqtKj|%4GNev`7LmMJCnQq7eMH=U+)|v z`*7F)3zz+rrZgFU$cBU*f2LoA46Y67va75+`JAI$pUaHD1=}WvePtaN1QHVKsnYE- z^H)KDW6$;T`jF49^7&Mpf0)>g^KX}FVby^~j>PtiuYt^IFG8f;rI4>v zVk`Bt{VE8Y_PkDOBYSSA+n&p7kU?MEeqOhAkUiJK`dF7U)d7JVsaHg7?>=kE_D-zK z-HNpkA#%7v4ch@Sj0Lxc>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(__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(__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(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) -# define COMPILER_ID "Fujitsu" - -#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(__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(__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(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) -# define COMPILER_ID "ADSP" -#if defined(__VISUALDSPVERSION__) - /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ -# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) -# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 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__)) -# 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(__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 - -#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_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" - -# 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 - -#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 components. */ -#ifdef 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'}; -#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__) -# if (defined(_MSC_VER) && !defined(__clang__)) \ - || (defined(__ibmxl__) || defined(__IBMC__)) -# define C_DIALECT "90" -# else -# define C_DIALECT -# endif -#elif __STDC_VERSION__ >= 201000L -# define C_DIALECT "11" -#elif __STDC_VERSION__ >= 199901L -# define C_DIALECT "99" -#else -# define C_DIALECT "90" -#endif -const char* info_language_dialect_default = - "INFO" ":" "dialect_default[" C_DIALECT "]"; - -/*--------------------------------------------------------------------------*/ - -#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_dialect_default[argc]; - (void)argv; - return require; -} -#endif diff --git a/CMakeFiles/3.19.7/CompilerIdC/a.out b/CMakeFiles/3.19.7/CompilerIdC/a.out deleted file mode 100755 index 79d0af28ba16e8175d254066fb8ef5d14f5851fd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16136 zcmeHOUu;`f89#QKHigDXLld%gkh{Wzix$@nZSjWE+DV*VOHNx_hY8Z`a%0~l*8C^f z*C-j3Rmv!{N}$?=m{2EGfDlN1=w9}~154FuXySntiBW_K<;W<99?AZl@Av&V=YIEG``mlac`TkB_4|B+ON-beP|`XT6D37kgem}05fSb1 zeXrOe)`Gl7a!Man09sWp`Wvy0_!dC)>%~eFyjRiChAP}cMD$y&M6p9q7zG^%`n95h zWH;`jeloJY-kyfeP&D~n$0yJL3Zv5xyAljZwFvHMM2*@D60#qP=ocZs2>CIdruG;) zpO_Q;L@1wbjDikJRDKKL_M0a^H;#}!BesF%@T+#_y|j0b{LW}HjBw-qiWZFA-e?DneU&E?C#&aGgK~y24ut7uP}UY zOzqo0F8s&DGIH$i6TSx7PcoRug0`FBgK0e3HCHU8aqPES8IZ2tO<)X!(o z29E<{q74@0@WTal{9*1tLA;!`CWhEvR}(%3oYsU-ufk)Wwl=XBhLN5(jp=N`%w-?7 zK!il6jk0Z)Y$I=G3j$@#^KP*(nHU;220{a&UBXDD#*BC%@jHypfkoZWKp z@^_RQ@X*VEmjN#WUIx4jcp30A;AP-_m4Ux?eDocC@miaHqV+f1h0wpYZ2N03>x(b6 zotMXf`WwXg4|9(ottqJbCeKf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p b/CMakeFiles/3.19.7/CompilerIdCXX/CMakeCXXCompilerId.cpp deleted file mode 100644 index 607ad2f..0000000 --- a/CMakeFiles/3.19.7/CompilerIdCXX/CMakeCXXCompilerId.cpp +++ /dev/null @@ -1,680 +0,0 @@ -/* This source file must have a .cpp extension so that all C++ compilers - recognize the extension without flags. Borland does not know .cxx for - example. */ -#ifndef __cplusplus -# error "A C compiler has been selected for C++." -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__COMO__) -# define COMPILER_ID "Comeau" - /* __COMO_VERSION__ = VRR */ -# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) -# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) - -#elif 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 */ -# 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 -# 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(__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_CC) -# define COMPILER_ID "SunPro" -# if __SUNPRO_CC >= 0x5100 - /* __SUNPRO_CC = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# endif - -#elif defined(__HP_aCC) -# define COMPILER_ID "HP" - /* __HP_aCC = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) - -#elif defined(__DECCXX) -# define COMPILER_ID "Compaq" - /* __DECCXX_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) - -#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#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(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 -# define COMPILER_ID "XL" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#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(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) -# define COMPILER_ID "Fujitsu" - -#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(__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(__GNUC__) || defined(__GNUG__) -# define COMPILER_ID "GNU" -# if defined(__GNUC__) -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# else -# define COMPILER_VERSION_MAJOR DEC(__GNUG__) -# endif -# 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(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) -# define COMPILER_ID "ADSP" -#if defined(__VISUALDSPVERSION__) - /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ -# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) -# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 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__)) -# 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 - - -/* 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(__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 - -#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_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" - -# 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 - -#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 components. */ -#ifdef 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'}; -#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(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L -# if defined(__INTEL_CXX11_MODE__) -# if defined(__cpp_aggregate_nsdmi) -# define CXX_STD 201402L -# else -# define CXX_STD 201103L -# endif -# else -# define CXX_STD 199711L -# endif -#elif defined(_MSC_VER) && defined(_MSVC_LANG) -# define CXX_STD _MSVC_LANG -#else -# define CXX_STD __cplusplus -#endif - -const char* info_language_dialect_default = "INFO" ":" "dialect_default[" -#if CXX_STD > 201703L - "20" -#elif CXX_STD >= 201703L - "17" -#elif CXX_STD >= 201402L - "14" -#elif CXX_STD >= 201103L - "11" -#else - "98" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -int main(int argc, char* argv[]) -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[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_dialect_default[argc]; - (void)argv; - return require; -} diff --git a/CMakeFiles/3.19.7/CompilerIdCXX/a.out b/CMakeFiles/3.19.7/CompilerIdCXX/a.out deleted file mode 100755 index 1417e2cd7457dbacfb624dceb3b784494961e9c8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16152 zcmeHOZ)_Y#6`woDi39Q3DRJT^1uq35hvJKE($p<-a%cOTJ?WgJi9-XfyIJ3@?S=be z_VyyXq7ca?^prY8n{(G0(L ziA`c9lvhYj$zuvYs?zyzEjAI~0El+&n5lzzDH`ffiCc(>cFU!M*dR!Zg8G4WjVPe9 z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Pc&SGLcRk~ef{$&v0 z*wbZSowxG7THZg4=N~4v<8izK9LA6BdH>vbnviv(kteY|)SWpr!?01417iLFGYlF AOaK4? diff --git a/CMakeFiles/CMakeDirectoryInformation.cmake b/CMakeFiles/CMakeDirectoryInformation.cmake deleted file mode 100644 index a5c575e..0000000 --- a/CMakeFiles/CMakeDirectoryInformation.cmake +++ /dev/null @@ -1,16 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.19 - -# Relative path conversion top directories. -set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/gnom/Code/Mipt/tp/tp_game") -set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/gnom/Code/Mipt/tp/tp_game") - -# Force unix paths in dependencies. -set(CMAKE_FORCE_UNIX_PATHS 1) - - -# The C and CXX include file regular expressions for this directory. -set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") -set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") -set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) -set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git a/CMakeFiles/CMakeOutput.log b/CMakeFiles/CMakeOutput.log deleted file mode 100644 index 69424a1..0000000 --- a/CMakeFiles/CMakeOutput.log +++ /dev/null @@ -1,397 +0,0 @@ -The system is: Linux - 5.9.16-1-MANJARO - x86_64 -Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. -Compiler: /usr/bin/cc -Build flags: -Id flags: - -The output was: -0 - - -Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" - -The C compiler identification is GNU, found in "/home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/3.19.7/CompilerIdC/a.out" - -Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. -Compiler: /usr/bin/c++ -Build flags: -Id flags: - -The output was: -0 - - -Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" - -The CXX compiler identification is GNU, found in "/home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/3.19.7/CompilerIdCXX/a.out" - -Detecting C compiler ABI info compiled with the following output: -Change Dir: /home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/CMakeTmp - -Run Build Command(s):/usr/bin/make cmTC_133b5/fast && /usr/bin/make -f CMakeFiles/cmTC_133b5.dir/build.make CMakeFiles/cmTC_133b5.dir/build -make[1]: Entering directory '/home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/CMakeTmp' -Building C object CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o -/usr/bin/cc -v -o CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.19/Modules/CMakeCCompilerABI.c -Using built-in specs. -COLLECT_GCC=/usr/bin/cc -Target: x86_64-pc-linux-gnu -Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc -Thread model: posix -Supported LTO compression algorithms: zlib zstd -gcc version 10.2.0 (GCC) -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' - /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/cc1 -quiet -v /usr/share/cmake-3.19/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o -version -o /tmp/ccCSZqI9.s -GNU C17 (GCC) version 10.2.0 (x86_64-pc-linux-gnu) - compiled by GNU C version 10.2.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.21-GMP - -GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 -ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/include" -#include "..." search starts here: -#include <...> search starts here: - /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include - /usr/local/include - /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed - /usr/include -End of search list. -GNU C17 (GCC) version 10.2.0 (x86_64-pc-linux-gnu) - compiled by GNU C version 10.2.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.21-GMP - -GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 -Compiler executable checksum: 1bfc39bab4733e0e3f89254efa5bbd30 -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' - as -v --64 -o CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o /tmp/ccCSZqI9.s -GNU assembler version 2.36.1 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.36.1 -COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/ -LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../:/lib/:/usr/lib/ -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' -Linking C executable cmTC_133b5 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_133b5.dir/link.txt --verbose=1 -/usr/bin/cc -v CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o -o cmTC_133b5 -Using built-in specs. -COLLECT_GCC=/usr/bin/cc -COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper -Target: x86_64-pc-linux-gnu -Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc -Thread model: posix -Supported LTO compression algorithms: zlib zstd -gcc version 10.2.0 (GCC) -COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/ -LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../:/lib/:/usr/lib/ -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_133b5' '-mtune=generic' '-march=x86-64' - /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cctx4Suf.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_133b5 /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../.. CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/crtn.o -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_133b5' '-mtune=generic' '-march=x86-64' -make[1]: Leaving directory '/home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/CMakeTmp' - - - -Parsed C implicit include dir info from above output: rv=done - found start of include info - found start of implicit include info - add: [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include] - add: [/usr/local/include] - add: [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed] - add: [/usr/include] - end of search list found - collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include] - collapse include dir [/usr/local/include] ==> [/usr/local/include] - collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed] - collapse include dir [/usr/include] ==> [/usr/include] - implicit include dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed;/usr/include] - - -Parsed C implicit link information from above output: - link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] - ignore line: [Change Dir: /home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/CMakeTmp] - ignore line: [] - ignore line: [Run Build Command(s):/usr/bin/make cmTC_133b5/fast && /usr/bin/make -f CMakeFiles/cmTC_133b5.dir/build.make CMakeFiles/cmTC_133b5.dir/build] - ignore line: [make[1]: Entering directory '/home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/CMakeTmp'] - ignore line: [Building C object CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o] - ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.19/Modules/CMakeCCompilerABI.c] - ignore line: [Using built-in specs.] - ignore line: [COLLECT_GCC=/usr/bin/cc] - ignore line: [Target: x86_64-pc-linux-gnu] - ignore line: [Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c c++ ada fortran go lto objc obj-c++ d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc] - ignore line: [Thread model: posix] - ignore line: [Supported LTO compression algorithms: zlib zstd] - ignore line: [gcc version 10.2.0 (GCC) ] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] - ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/cc1 -quiet -v /usr/share/cmake-3.19/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o -version -o /tmp/ccCSZqI9.s] - ignore line: [GNU C17 (GCC) version 10.2.0 (x86_64-pc-linux-gnu)] - ignore line: [ compiled by GNU C version 10.2.0 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.1 isl version isl-0.21-GMP] - ignore line: [] - ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] - ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/include"] - ignore line: [#include "..." search starts here:] - ignore line: [#include <...> search starts here:] - ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include] - ignore line: [ /usr/local/include] - ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed] - ignore line: [ /usr/include] - ignore line: [End of search list.] - ignore line: [GNU C17 (GCC) version 10.2.0 (x86_64-pc-linux-gnu)] - ignore line: [ compiled by GNU C version 10.2.0 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.1 isl version isl-0.21-GMP] - ignore line: [] - ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] - ignore line: [Compiler executable checksum: 1bfc39bab4733e0e3f89254efa5bbd30] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] - ignore line: [ as -v --64 -o CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o /tmp/ccCSZqI9.s] - ignore line: [GNU assembler version 2.36.1 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.36.1] - ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/] - ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../:/lib/:/usr/lib/] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] - ignore line: [Linking C executable cmTC_133b5] - ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_133b5.dir/link.txt --verbose=1] - ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o -o cmTC_133b5 ] - ignore line: [Using built-in specs.] - ignore line: [COLLECT_GCC=/usr/bin/cc] - ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper] - ignore line: [Target: x86_64-pc-linux-gnu] - ignore line: [Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c c++ ada fortran go lto objc obj-c++ d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc] - ignore line: [Thread model: posix] - ignore line: [Supported LTO compression algorithms: zlib zstd] - ignore line: [gcc version 10.2.0 (GCC) ] - ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/] - ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../:/lib/:/usr/lib/] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_133b5' '-mtune=generic' '-march=x86-64'] - link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cctx4Suf.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_133b5 /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../.. CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/crtn.o] - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/collect2] ==> ignore - arg [-plugin] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/liblto_plugin.so] ==> ignore - arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper] ==> ignore - arg [-plugin-opt=-fresolution=/tmp/cctx4Suf.res] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore - arg [-plugin-opt=-pass-through=-lc] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore - arg [--build-id] ==> ignore - arg [--eh-frame-hdr] ==> ignore - arg [--hash-style=gnu] ==> ignore - arg [-m] ==> ignore - arg [elf_x86_64] ==> ignore - arg [-dynamic-linker] ==> ignore - arg [/lib64/ld-linux-x86-64.so.2] ==> ignore - arg [-pie] ==> ignore - arg [-o] ==> ignore - arg [cmTC_133b5] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/Scrt1.o] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/crti.o] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtbeginS.o] ==> ignore - arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0] - arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib] - arg [-L/lib/../lib] ==> dir [/lib/../lib] - arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] - arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../..] - arg [CMakeFiles/cmTC_133b5.dir/CMakeCCompilerABI.c.o] ==> ignore - arg [-lgcc] ==> lib [gcc] - arg [--push-state] ==> ignore - arg [--as-needed] ==> ignore - arg [-lgcc_s] ==> lib [gcc_s] - arg [--pop-state] ==> ignore - arg [-lc] ==> lib [c] - arg [-lgcc] ==> lib [gcc] - arg [--push-state] ==> ignore - arg [--as-needed] ==> ignore - arg [-lgcc_s] ==> lib [gcc_s] - arg [--pop-state] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtendS.o] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/crtn.o] ==> ignore - collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0] - collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib] ==> [/usr/lib] - collapse library dir [/lib/../lib] ==> [/lib] - collapse library dir [/usr/lib/../lib] ==> [/usr/lib] - collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../..] ==> [/usr/lib] - implicit libs: [gcc;gcc_s;c;gcc;gcc_s] - implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0;/usr/lib;/lib] - implicit fwks: [] - - -Detecting CXX compiler ABI info compiled with the following output: -Change Dir: /home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/CMakeTmp - -Run Build Command(s):/usr/bin/make cmTC_644ab/fast && /usr/bin/make -f CMakeFiles/cmTC_644ab.dir/build.make CMakeFiles/cmTC_644ab.dir/build -make[1]: Entering directory '/home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o -/usr/bin/c++ -v -o CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp -Using built-in specs. -COLLECT_GCC=/usr/bin/c++ -Target: x86_64-pc-linux-gnu -Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc -Thread model: posix -Supported LTO compression algorithms: zlib zstd -gcc version 10.2.0 (GCC) -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' - /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/ccgLSsy4.s -GNU C++14 (GCC) version 10.2.0 (x86_64-pc-linux-gnu) - compiled by GNU C version 10.2.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.21-GMP - -GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 -ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/include" -#include "..." search starts here: -#include <...> search starts here: - /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0 - /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/x86_64-pc-linux-gnu - /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/backward - /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include - /usr/local/include - /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed - /usr/include -End of search list. -GNU C++14 (GCC) version 10.2.0 (x86_64-pc-linux-gnu) - compiled by GNU C version 10.2.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.21-GMP - -GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 -Compiler executable checksum: f27fb68878a84470810fd2057eccecc9 -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' - as -v --64 -o CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccgLSsy4.s -GNU assembler version 2.36.1 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.36.1 -COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/ -LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../:/lib/:/usr/lib/ -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' -Linking CXX executable cmTC_644ab -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_644ab.dir/link.txt --verbose=1 -/usr/bin/c++ -v CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_644ab -Using built-in specs. -COLLECT_GCC=/usr/bin/c++ -COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper -Target: x86_64-pc-linux-gnu -Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc -Thread model: posix -Supported LTO compression algorithms: zlib zstd -gcc version 10.2.0 (GCC) -COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/ -LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../:/lib/:/usr/lib/ -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_644ab' '-shared-libgcc' '-mtune=generic' '-march=x86-64' - /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cck6sT57.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_644ab /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../.. CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/crtn.o -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_644ab' '-shared-libgcc' '-mtune=generic' '-march=x86-64' -make[1]: Leaving directory '/home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/CMakeTmp' - - - -Parsed CXX implicit include dir info from above output: rv=done - found start of include info - found start of implicit include info - add: [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0] - add: [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/x86_64-pc-linux-gnu] - add: [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/backward] - add: [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include] - add: [/usr/local/include] - add: [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed] - add: [/usr/include] - end of search list found - collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0] ==> [/usr/include/c++/10.2.0] - collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/x86_64-pc-linux-gnu] ==> [/usr/include/c++/10.2.0/x86_64-pc-linux-gnu] - collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/backward] ==> [/usr/include/c++/10.2.0/backward] - collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include] - collapse include dir [/usr/local/include] ==> [/usr/local/include] - collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed] - collapse include dir [/usr/include] ==> [/usr/include] - implicit include dirs: [/usr/include/c++/10.2.0;/usr/include/c++/10.2.0/x86_64-pc-linux-gnu;/usr/include/c++/10.2.0/backward;/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed;/usr/include] - - -Parsed CXX implicit link information from above output: - link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] - ignore line: [Change Dir: /home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/CMakeTmp] - ignore line: [] - ignore line: [Run Build Command(s):/usr/bin/make cmTC_644ab/fast && /usr/bin/make -f CMakeFiles/cmTC_644ab.dir/build.make CMakeFiles/cmTC_644ab.dir/build] - ignore line: [make[1]: Entering directory '/home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/CMakeTmp'] - ignore line: [Building CXX object CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o] - ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp] - ignore line: [Using built-in specs.] - ignore line: [COLLECT_GCC=/usr/bin/c++] - ignore line: [Target: x86_64-pc-linux-gnu] - ignore line: [Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c c++ ada fortran go lto objc obj-c++ d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc] - ignore line: [Thread model: posix] - ignore line: [Supported LTO compression algorithms: zlib zstd] - ignore line: [gcc version 10.2.0 (GCC) ] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] - ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake-3.19/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/ccgLSsy4.s] - ignore line: [GNU C++14 (GCC) version 10.2.0 (x86_64-pc-linux-gnu)] - ignore line: [ compiled by GNU C version 10.2.0 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.1 isl version isl-0.21-GMP] - ignore line: [] - ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] - ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/include"] - ignore line: [#include "..." search starts here:] - ignore line: [#include <...> search starts here:] - ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0] - ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/x86_64-pc-linux-gnu] - ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../include/c++/10.2.0/backward] - ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include] - ignore line: [ /usr/local/include] - ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/include-fixed] - ignore line: [ /usr/include] - ignore line: [End of search list.] - ignore line: [GNU C++14 (GCC) version 10.2.0 (x86_64-pc-linux-gnu)] - ignore line: [ compiled by GNU C version 10.2.0 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.1 isl version isl-0.21-GMP] - ignore line: [] - ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] - ignore line: [Compiler executable checksum: f27fb68878a84470810fd2057eccecc9] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] - ignore line: [ as -v --64 -o CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccgLSsy4.s] - ignore line: [GNU assembler version 2.36.1 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.36.1] - ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/] - ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../:/lib/:/usr/lib/] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] - ignore line: [Linking CXX executable cmTC_644ab] - ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_644ab.dir/link.txt --verbose=1] - ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_644ab ] - ignore line: [Using built-in specs.] - ignore line: [COLLECT_GCC=/usr/bin/c++] - ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper] - ignore line: [Target: x86_64-pc-linux-gnu] - ignore line: [Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c c++ ada fortran go lto objc obj-c++ d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc] - ignore line: [Thread model: posix] - ignore line: [Supported LTO compression algorithms: zlib zstd] - ignore line: [gcc version 10.2.0 (GCC) ] - ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/] - ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../:/lib/:/usr/lib/] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_644ab' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] - link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cck6sT57.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_644ab /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../.. CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/crtn.o] - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/collect2] ==> ignore - arg [-plugin] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/liblto_plugin.so] ==> ignore - arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper] ==> ignore - arg [-plugin-opt=-fresolution=/tmp/cck6sT57.res] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc] ==> ignore - arg [-plugin-opt=-pass-through=-lc] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc] ==> ignore - arg [--build-id] ==> ignore - arg [--eh-frame-hdr] ==> ignore - arg [--hash-style=gnu] ==> ignore - arg [-m] ==> ignore - arg [elf_x86_64] ==> ignore - arg [-dynamic-linker] ==> ignore - arg [/lib64/ld-linux-x86-64.so.2] ==> ignore - arg [-pie] ==> ignore - arg [-o] ==> ignore - arg [cmTC_644ab] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/Scrt1.o] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/crti.o] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtbeginS.o] ==> ignore - arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0] - arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib] - arg [-L/lib/../lib] ==> dir [/lib/../lib] - arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] - arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../..] - arg [CMakeFiles/cmTC_644ab.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore - arg [-lstdc++] ==> lib [stdc++] - arg [-lm] ==> lib [m] - arg [-lgcc_s] ==> lib [gcc_s] - arg [-lgcc] ==> lib [gcc] - arg [-lc] ==> lib [c] - arg [-lgcc_s] ==> lib [gcc_s] - arg [-lgcc] ==> lib [gcc] - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtendS.o] ==> ignore - arg [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/crtn.o] ==> ignore - collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0] - collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib] ==> [/usr/lib] - collapse library dir [/lib/../lib] ==> [/lib] - collapse library dir [/usr/lib/../lib] ==> [/usr/lib] - collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../..] ==> [/usr/lib] - implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc] - implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0;/usr/lib;/lib] - implicit fwks: [] - - diff --git a/CMakeFiles/Game.dir/CXX.includecache b/CMakeFiles/Game.dir/CXX.includecache deleted file mode 100644 index cbb0e2f..0000000 --- a/CMakeFiles/Game.dir/CXX.includecache +++ /dev/null @@ -1,14 +0,0 @@ -#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) - -#IncludeRegexScan: ^.*$ - -#IncludeRegexComplain: ^$ - -#IncludeRegexTransform: - -/home/gnom/Code/Mipt/tp/tp_game/main.cpp -curses.h -- -cstdlib -- - diff --git a/CMakeFiles/Game.dir/DependInfo.cmake b/CMakeFiles/Game.dir/DependInfo.cmake deleted file mode 100644 index 957900a..0000000 --- a/CMakeFiles/Game.dir/DependInfo.cmake +++ /dev/null @@ -1,20 +0,0 @@ -# The set of languages for which implicit dependencies are needed: -set(CMAKE_DEPENDS_LANGUAGES - "CXX" - ) -# The set of files for implicit dependencies of each language: -set(CMAKE_DEPENDS_CHECK_CXX - "/home/gnom/Code/Mipt/tp/tp_game/main.cpp" "/home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/Game.dir/main.cpp.o" - ) -set(CMAKE_CXX_COMPILER_ID "GNU") - -# The include file search paths: -set(CMAKE_CXX_TARGET_INCLUDE_PATH - ) - -# Targets to which this target links. -set(CMAKE_TARGET_LINKED_INFO_FILES - ) - -# Fortran module output directory. -set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/CMakeFiles/Game.dir/build.make b/CMakeFiles/Game.dir/build.make deleted file mode 100644 index 99a7b12..0000000 --- a/CMakeFiles/Game.dir/build.make +++ /dev/null @@ -1,119 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.19 - -# Delete rule output on recipe failure. -.DELETE_ON_ERROR: - - -#============================================================================= -# Special targets provided by cmake. - -# Disable implicit rules so canonical targets will work. -.SUFFIXES: - - -# Disable VCS-based implicit rules. -% : %,v - - -# Disable VCS-based implicit rules. -% : RCS/% - - -# Disable VCS-based implicit rules. -% : RCS/%,v - - -# Disable VCS-based implicit rules. -% : SCCS/s.% - - -# Disable VCS-based implicit rules. -% : s.% - - -.SUFFIXES: .hpux_make_needs_suffix_list - - -# Command-line flag to silence nested $(MAKE). -$(VERBOSE)MAKESILENT = -s - -#Suppress display of executed commands. -$(VERBOSE).SILENT: - -# A target that is always out of date. -cmake_force: - -.PHONY : cmake_force - -#============================================================================= -# Set environment variables for the build. - -# The shell in which to execute make rules. -SHELL = /bin/sh - -# The CMake executable. -CMAKE_COMMAND = /usr/bin/cmake - -# The command to remove a file. -RM = /usr/bin/cmake -E rm -f - -# Escaping for special characters. -EQUALS = = - -# The top-level source directory on which CMake was run. -CMAKE_SOURCE_DIR = /home/gnom/Code/Mipt/tp/tp_game - -# The top-level build directory on which CMake was run. -CMAKE_BINARY_DIR = /home/gnom/Code/Mipt/tp/tp_game - -# Include any dependencies generated for this target. -include CMakeFiles/Game.dir/depend.make - -# Include the progress variables for this target. -include CMakeFiles/Game.dir/progress.make - -# Include the compile flags for this target's objects. -include CMakeFiles/Game.dir/flags.make - -CMakeFiles/Game.dir/main.cpp.o: CMakeFiles/Game.dir/flags.make -CMakeFiles/Game.dir/main.cpp.o: main.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gnom/Code/Mipt/tp/tp_game/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/Game.dir/main.cpp.o" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/Game.dir/main.cpp.o -c /home/gnom/Code/Mipt/tp/tp_game/main.cpp - -CMakeFiles/Game.dir/main.cpp.i: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/Game.dir/main.cpp.i" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/gnom/Code/Mipt/tp/tp_game/main.cpp > CMakeFiles/Game.dir/main.cpp.i - -CMakeFiles/Game.dir/main.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/Game.dir/main.cpp.s" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/gnom/Code/Mipt/tp/tp_game/main.cpp -o CMakeFiles/Game.dir/main.cpp.s - -# Object files for target Game -Game_OBJECTS = \ -"CMakeFiles/Game.dir/main.cpp.o" - -# External object files for target Game -Game_EXTERNAL_OBJECTS = - -bin/Game: CMakeFiles/Game.dir/main.cpp.o -bin/Game: CMakeFiles/Game.dir/build.make -bin/Game: /usr/lib/libcurses.so -bin/Game: /usr/lib/libform.so -bin/Game: CMakeFiles/Game.dir/link.txt - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/gnom/Code/Mipt/tp/tp_game/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable bin/Game" - $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/Game.dir/link.txt --verbose=$(VERBOSE) - -# Rule to build all files generated by this target. -CMakeFiles/Game.dir/build: bin/Game - -.PHONY : CMakeFiles/Game.dir/build - -CMakeFiles/Game.dir/clean: - $(CMAKE_COMMAND) -P CMakeFiles/Game.dir/cmake_clean.cmake -.PHONY : CMakeFiles/Game.dir/clean - -CMakeFiles/Game.dir/depend: - cd /home/gnom/Code/Mipt/tp/tp_game && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/gnom/Code/Mipt/tp/tp_game /home/gnom/Code/Mipt/tp/tp_game /home/gnom/Code/Mipt/tp/tp_game /home/gnom/Code/Mipt/tp/tp_game /home/gnom/Code/Mipt/tp/tp_game/CMakeFiles/Game.dir/DependInfo.cmake --color=$(COLOR) -.PHONY : CMakeFiles/Game.dir/depend - diff --git a/CMakeFiles/Game.dir/cmake_clean.cmake b/CMakeFiles/Game.dir/cmake_clean.cmake deleted file mode 100644 index 52b6928..0000000 --- a/CMakeFiles/Game.dir/cmake_clean.cmake +++ /dev/null @@ -1,10 +0,0 @@ -file(REMOVE_RECURSE - "CMakeFiles/Game.dir/main.cpp.o" - "bin/Game" - "bin/Game.pdb" -) - -# Per-language clean rules from dependency scanning. -foreach(lang CXX) - include(CMakeFiles/Game.dir/cmake_clean_${lang}.cmake OPTIONAL) -endforeach() diff --git a/CMakeFiles/Game.dir/depend.internal b/CMakeFiles/Game.dir/depend.internal deleted file mode 100644 index 20df40d..0000000 --- a/CMakeFiles/Game.dir/depend.internal +++ /dev/null @@ -1,5 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.19 - -CMakeFiles/Game.dir/main.cpp.o - /home/gnom/Code/Mipt/tp/tp_game/main.cpp diff --git a/CMakeFiles/Game.dir/depend.make b/CMakeFiles/Game.dir/depend.make deleted file mode 100644 index c89e9ea..0000000 --- a/CMakeFiles/Game.dir/depend.make +++ /dev/null @@ -1,5 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.19 - -CMakeFiles/Game.dir/main.cpp.o: main.cpp - diff --git a/CMakeFiles/Game.dir/flags.make b/CMakeFiles/Game.dir/flags.make deleted file mode 100644 index 610a9a8..0000000 --- a/CMakeFiles/Game.dir/flags.make +++ /dev/null @@ -1,10 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.19 - -# compile CXX with /usr/bin/c++ -CXX_DEFINES = - -CXX_INCLUDES = - -CXX_FLAGS = - diff --git a/CMakeFiles/Game.dir/link.txt b/CMakeFiles/Game.dir/link.txt deleted file mode 100644 index 0b2913d..0000000 --- a/CMakeFiles/Game.dir/link.txt +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/c++ CMakeFiles/Game.dir/main.cpp.o -o bin/Game -lcurses -lform diff --git a/CMakeFiles/Game.dir/main.cpp.o b/CMakeFiles/Game.dir/main.cpp.o deleted file mode 100644 index 4725957c1a702028ea9b667b8afc19612d9cd773..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1808 zcmbu9zi-n}5XaAHY5CDYfDTAy@B#vfKBb5OiiDCzNh1`s0-CW3j^mQ3u^rilwk!-t zh>8XN2L}EG#86dYU}fYVKw@QMKnnMD-lfK}7dYws?tSi8a_`wMYR!7VFi6Cpdvv@L zO7wN=*e=IrndWJZT8)G6Kd?_d8gEX3e!}w*kH*25IOOH8QM91FhbrOt$Tn?#rnPEy z#k{t*-nwosm()#F0;g$KlNF`dM+GvDz(fqam*2ji9meyAWb74<#ktv&Z`pa7ITZ2$ zkILENt3q{trqJXFfNVkCY5F@){nNbtB9vvaJ)j3QTZ_)-qPmBa7m@JbGE z^LOd!t@|RNHKCR#uy}Hub%J6xspVoxrhn$nz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zr$C2isNSU!sda7>dgqt6gf{ndK-nxW(b@wT)yql5d z*`Oj5xnog02|1k8vOUjZ85ff#x1aSGpMi3mBeTr&WJW*PJKImR7>5kTl@OEwMf02T*3W z7eP{PR;ZE4z;=vYFt*$CJXIrmZl}|}D1$Nj;`Z+js*;^$?4ABbLbDf{`KQyO>2PFG_NlQ~&?~ diff --git a/cmake_install.cmake b/cmake_install.cmake deleted file mode 100644 index ca16723..0000000 --- a/cmake_install.cmake +++ /dev/null @@ -1,54 +0,0 @@ -# Install script for directory: /home/gnom/Code/Mipt/tp/tp_game - -# 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 "") - 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() - -# Install shared libraries without execute permission? -if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) - set(CMAKE_INSTALL_SO_NO_EXE "0") -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 "/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 "/home/gnom/Code/Mipt/tp/tp_game/${CMAKE_INSTALL_MANIFEST}" - "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/game/game.cpp b/src/game/game.cpp similarity index 100% rename from game/game.cpp rename to src/game/game.cpp diff --git a/game/game.hpp b/src/game/game.hpp similarity index 100% rename from game/game.hpp rename to src/game/game.hpp diff --git a/game/game_events.cpp b/src/game/game_events.cpp similarity index 100% rename from game/game_events.cpp rename to src/game/game_events.cpp diff --git a/game/game_events.hpp b/src/game/game_events.hpp similarity index 100% rename from game/game_events.hpp rename to src/game/game_events.hpp diff --git a/game/game_map.cpp b/src/game/game_map.cpp similarity index 100% rename from game/game_map.cpp rename to src/game/game_map.cpp diff --git a/game/game_map.hpp b/src/game/game_map.hpp similarity index 100% rename from game/game_map.hpp rename to src/game/game_map.hpp diff --git a/game/game_menu.cpp b/src/game/game_menu.cpp similarity index 100% rename from game/game_menu.cpp rename to src/game/game_menu.cpp diff --git a/game/game_menu.hpp b/src/game/game_menu.hpp similarity index 100% rename from game/game_menu.hpp rename to src/game/game_menu.hpp diff --git a/game/map_entities/action.cpp b/src/game/map_entities/action.cpp similarity index 100% rename from game/map_entities/action.cpp rename to src/game/map_entities/action.cpp diff --git a/game/map_entities/action.hpp b/src/game/map_entities/action.hpp similarity index 100% rename from game/map_entities/action.hpp rename to src/game/map_entities/action.hpp diff --git a/game/map_entities/actions.hpp b/src/game/map_entities/actions.hpp similarity index 100% rename from game/map_entities/actions.hpp rename to src/game/map_entities/actions.hpp diff --git a/game/map_entities/actions/attack_action.cpp b/src/game/map_entities/actions/attack_action.cpp similarity index 100% rename from game/map_entities/actions/attack_action.cpp rename to src/game/map_entities/actions/attack_action.cpp diff --git a/game/map_entities/actions/attack_action.hpp b/src/game/map_entities/actions/attack_action.hpp similarity index 100% rename from game/map_entities/actions/attack_action.hpp rename to src/game/map_entities/actions/attack_action.hpp diff --git a/game/map_entities/cell.cpp b/src/game/map_entities/cell.cpp similarity index 100% rename from game/map_entities/cell.cpp rename to src/game/map_entities/cell.cpp diff --git a/game/map_entities/cell.hpp b/src/game/map_entities/cell.hpp similarity index 100% rename from game/map_entities/cell.hpp rename to src/game/map_entities/cell.hpp diff --git a/game/map_entities/unit_obj.cpp b/src/game/map_entities/unit_obj.cpp similarity index 100% rename from game/map_entities/unit_obj.cpp rename to src/game/map_entities/unit_obj.cpp diff --git a/game/map_entities/unit_obj.hpp b/src/game/map_entities/unit_obj.hpp similarity index 100% rename from game/map_entities/unit_obj.hpp rename to src/game/map_entities/unit_obj.hpp diff --git a/game/player_data.hpp b/src/game/player_data.hpp similarity index 100% rename from game/player_data.hpp rename to src/game/player_data.hpp diff --git a/game/unit/module_builder.cpp b/src/game/unit/module_builder.cpp similarity index 100% rename from game/unit/module_builder.cpp rename to src/game/unit/module_builder.cpp diff --git a/game/unit/module_builder.hpp b/src/game/unit/module_builder.hpp similarity index 100% rename from game/unit/module_builder.hpp rename to src/game/unit/module_builder.hpp diff --git a/game/unit/modules.hpp b/src/game/unit/modules.hpp similarity index 100% rename from game/unit/modules.hpp rename to src/game/unit/modules.hpp diff --git a/game/unit/unit.cpp b/src/game/unit/unit.cpp similarity index 100% rename from game/unit/unit.cpp rename to src/game/unit/unit.cpp diff --git a/game/unit/unit.hpp b/src/game/unit/unit.hpp similarity index 100% rename from game/unit/unit.hpp rename to src/game/unit/unit.hpp diff --git a/game/unit/unit_builder.cpp b/src/game/unit/unit_builder.cpp similarity index 100% rename from game/unit/unit_builder.cpp rename to src/game/unit/unit_builder.cpp diff --git a/game/unit/unit_builder.hpp b/src/game/unit/unit_builder.hpp similarity index 100% rename from game/unit/unit_builder.hpp rename to src/game/unit/unit_builder.hpp diff --git a/game/unit/unit_memory.cpp b/src/game/unit/unit_memory.cpp similarity index 100% rename from game/unit/unit_memory.cpp rename to src/game/unit/unit_memory.cpp diff --git a/game/unit/unit_memory.hpp b/src/game/unit/unit_memory.hpp similarity index 100% rename from game/unit/unit_memory.hpp rename to src/game/unit/unit_memory.hpp diff --git a/game/unit/unit_module.cpp b/src/game/unit/unit_module.cpp similarity index 100% rename from game/unit/unit_module.cpp rename to src/game/unit/unit_module.cpp diff --git a/game/unit/unit_module.hpp b/src/game/unit/unit_module.hpp similarity index 100% rename from game/unit/unit_module.hpp rename to src/game/unit/unit_module.hpp diff --git a/out_api/draw.cpp b/src/out_api/draw.cpp similarity index 100% rename from out_api/draw.cpp rename to src/out_api/draw.cpp diff --git a/out_api/draw.hpp b/src/out_api/draw.hpp similarity index 100% rename from out_api/draw.hpp rename to src/out_api/draw.hpp diff --git a/out_api/game_draw.cpp b/src/out_api/game_draw.cpp similarity index 100% rename from out_api/game_draw.cpp rename to src/out_api/game_draw.cpp diff --git a/out_api/game_draw.hpp b/src/out_api/game_draw.hpp similarity index 100% rename from out_api/game_draw.hpp rename to src/out_api/game_draw.hpp diff --git a/out_api/input.cpp b/src/out_api/input.cpp similarity index 100% rename from out_api/input.cpp rename to src/out_api/input.cpp diff --git a/out_api/input.hpp b/src/out_api/input.hpp similarity index 100% rename from out_api/input.hpp rename to src/out_api/input.hpp diff --git a/out_api/input_controller.cpp b/src/out_api/input_controller.cpp similarity index 100% rename from out_api/input_controller.cpp rename to src/out_api/input_controller.cpp diff --git a/out_api/input_controller.hpp b/src/out_api/input_controller.hpp similarity index 100% rename from out_api/input_controller.hpp rename to src/out_api/input_controller.hpp diff --git a/out_api/menu_draw.cpp b/src/out_api/menu_draw.cpp similarity index 100% rename from out_api/menu_draw.cpp rename to src/out_api/menu_draw.cpp diff --git a/out_api/menu_draw.hpp b/src/out_api/menu_draw.hpp similarity index 100% rename from out_api/menu_draw.hpp rename to src/out_api/menu_draw.hpp From 6d16af9088493e4d7a7ca766a9cd7e09914100de Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Sun, 21 Mar 2021 18:29:42 +0300 Subject: [PATCH 03/14] add gitignore back --- .gitignore | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index e69de29..61b8896 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,11 @@ +CMakeLists.txt.user +CMakeCache.txt +CMakeFiles +CMakeScripts +Testing +Makefile +cmake_install.cmake +install_manifest.txt +compile_commands.json +CTestTestfile.cmake +_deps \ No newline at end of file From 9f59ff0230d78565b0253b18fbcd5a7975169607 Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Sun, 21 Mar 2021 18:33:44 +0300 Subject: [PATCH 04/14] add some menu --- src/menu/menu.cpp | 0 src/menu/menu.hpp | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 src/menu/menu.cpp create mode 100644 src/menu/menu.hpp diff --git a/src/menu/menu.cpp b/src/menu/menu.cpp new file mode 100644 index 0000000..e69de29 diff --git a/src/menu/menu.hpp b/src/menu/menu.hpp new file mode 100644 index 0000000..e69de29 From 8553878b4adf856a64d1c86643d118a0a58bf7d0 Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Mon, 22 Mar 2021 12:26:13 +0300 Subject: [PATCH 05/14] start of draw realisation --- .gitignore | 3 ++- src/out_api/draw.cpp | 61 ++++++++++++++++++++++++++++++++++++++++++++ src/out_api/draw.hpp | 42 ++++++++++++++++++++++++++++++ 3 files changed, 105 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 61b8896..2c1fa6b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ cmake_install.cmake install_manifest.txt compile_commands.json CTestTestfile.cmake -_deps \ No newline at end of file +_deps +testing \ No newline at end of file diff --git a/src/out_api/draw.cpp b/src/out_api/draw.cpp index e69de29..6f0b354 100644 --- a/src/out_api/draw.cpp +++ b/src/out_api/draw.cpp @@ -0,0 +1,61 @@ +#include "draw.hpp" +#include +#include +#include + +namespace draw { + + enum Color { + black = 0, + red = 1, + green = 2, + yellow = 3, + blue = 4, + magneta = 5, + cyan = 6, + white = 7, + }; + + void initColorPairs() { + init_pair(ColorScheme::simple, COLOR_BLACK, COLOR_WHITE); + init_pair(ColorScheme::active, COLOR_WHITE, COLOR_BLACK); + init_pair(ColorScheme::player0, COLOR_BLACK, COLOR_RED); + init_pair(ColorScheme::player1, COLOR_BLACK, COLOR_BLUE); + init_pair(ColorScheme::player2, COLOR_BLACK, COLOR_MAGENTA); + init_pair(ColorScheme::player3, COLOR_BLACK, COLOR_YELLOW); + init_pair(ColorScheme::neutral, COLOR_WHITE, COLOR_GREEN); + init_pair(ColorScheme::enviroment, COLOR_BLACK, COLOR_WHITE); + } + + void begin() { + initscr(); + noecho(); + curs_set(false); + start_color(); + initColorPairs(); + } + + void step() { + refresh(); + usleep(STEP_DELAY_USEC); + } + + void end() { + endwin(); + } + + void clearAll() { + clear(); + } + + void drawCh(uint32_t x, uint32_t y, + Cell cell, ColorScheme colorScheme) { + attron(COLOR_PAIR(colorScheme)); + mvaddch(y, x, cell); + attroff(COLOR_PAIR(colorScheme)); + } + + void getSize(uint32_t& x, uint32_t& y) { + getmaxyx(stdscr, y, x); + } +} \ No newline at end of file diff --git a/src/out_api/draw.hpp b/src/out_api/draw.hpp index e69de29..29d98f0 100644 --- a/src/out_api/draw.hpp +++ b/src/out_api/draw.hpp @@ -0,0 +1,42 @@ +#include +#include + +namespace draw { + + enum ColorScheme { + simple, + active, + player0, + player1, + player2, + player3, + neutral, + enviroment + }; + + enum Cell { + blank = ' ', + menu_h = '-', + menu_v = '|', + field = '.', + mountain = '^', + unit = '#' + }; + + const uint32_t STEP_DELAY_USEC = 30000; + + void begin(); + + void step(); + + void end(); + + void clearAll(); + + void drawCh(uint32_t x, uint32_t y, + Cell cell, ColorScheme colorScheme = ColorScheme::simple); + + // void setxy(uint32_t x, uint32_t y); + + void getSize(uint32_t& x, uint32_t& y); +} From 5173f4f2a9cf45dcfb6b46b8cf204a9046c61d61 Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Mon, 22 Mar 2021 19:37:34 +0300 Subject: [PATCH 06/14] some additional functions --- src/game/map_entities/action.cpp | 0 src/game/map_entities/action.hpp | 9 +++++++++ src/game/map_entities/actions.hpp | 1 + src/game/map_entities/cell.cpp | 1 + src/game/map_entities/cell.hpp | 24 ++++++++++++++++++++++++ src/game/map_entities/unit_obj.cpp | 5 +++++ src/game/map_entities/unit_obj.hpp | 29 +++++++++++++++++++++++++++++ src/game/unit/module_builder.cpp | 5 +++++ src/game/unit/module_builder.hpp | 14 ++++++++++++++ src/game/unit/modules.hpp | 1 + src/game/unit/unit.cpp | 5 +++++ src/game/unit/unit.hpp | 15 +++++++++++++++ src/game/unit/unit_memory.cpp | 0 src/game/unit/unit_memory.hpp | 0 src/game/unit/unit_memory_elem.hpp | 7 +++++++ src/game/unit/unit_module.cpp | 5 +++++ src/game/unit/unit_module.hpp | 17 +++++++++++++++++ src/out_api/draw.cpp | 24 +++--------------------- src/out_api/draw.hpp | 6 +++--- src/out_api/init.cpp | 27 +++++++++++++++++++++++++++ src/out_api/init.hpp | 14 ++++++++++++++ src/out_api/input.cpp | 17 +++++++++++++++++ src/out_api/input.hpp | 12 ++++++++++++ 23 files changed, 214 insertions(+), 24 deletions(-) delete mode 100644 src/game/map_entities/action.cpp delete mode 100644 src/game/unit/unit_memory.cpp delete mode 100644 src/game/unit/unit_memory.hpp create mode 100644 src/game/unit/unit_memory_elem.hpp create mode 100644 src/out_api/init.cpp create mode 100644 src/out_api/init.hpp diff --git a/src/game/map_entities/action.cpp b/src/game/map_entities/action.cpp deleted file mode 100644 index e69de29..0000000 diff --git a/src/game/map_entities/action.hpp b/src/game/map_entities/action.hpp index e69de29..3fcc16c 100644 --- a/src/game/map_entities/action.hpp +++ b/src/game/map_entities/action.hpp @@ -0,0 +1,9 @@ +#pragma ONCE + +namespace map { + class Action { + private: + public: + void update(); + }; +} \ No newline at end of file diff --git a/src/game/map_entities/actions.hpp b/src/game/map_entities/actions.hpp index e69de29..968c60f 100644 --- a/src/game/map_entities/actions.hpp +++ b/src/game/map_entities/actions.hpp @@ -0,0 +1 @@ +// include all actions from folder \ No newline at end of file diff --git a/src/game/map_entities/cell.cpp b/src/game/map_entities/cell.cpp index e69de29..6ebb532 100644 --- a/src/game/map_entities/cell.cpp +++ b/src/game/map_entities/cell.cpp @@ -0,0 +1 @@ +#include "cell.hpp" \ No newline at end of file diff --git a/src/game/map_entities/cell.hpp b/src/game/map_entities/cell.hpp index e69de29..f647303 100644 --- a/src/game/map_entities/cell.hpp +++ b/src/game/map_entities/cell.hpp @@ -0,0 +1,24 @@ +#pragma ONCE + +namespace map { + enum CellType { // needed to choose final types + ctNone, + ctUnit, + ctWeapon, + ctForest, + ctMoutain + }; + + enum CellPlayer { + cpNone, + cpPlayer0, + cpPlayer1, + cpPlayer2, + cpPlayer3 + }; + + struct Cell { + CellType type; + // int ??speed??; // speed when move inside + }; +} \ No newline at end of file diff --git a/src/game/map_entities/unit_obj.cpp b/src/game/map_entities/unit_obj.cpp index e69de29..cc7f083 100644 --- a/src/game/map_entities/unit_obj.cpp +++ b/src/game/map_entities/unit_obj.cpp @@ -0,0 +1,5 @@ +#include "unit_obj.hpp" + +namespace map { + +} \ No newline at end of file diff --git a/src/game/map_entities/unit_obj.hpp b/src/game/map_entities/unit_obj.hpp index e69de29..2f29bfd 100644 --- a/src/game/map_entities/unit_obj.hpp +++ b/src/game/map_entities/unit_obj.hpp @@ -0,0 +1,29 @@ +#include +#include +#include "cell.hpp" +#include "../unit/unit.hpp" + +#pragma ONCE + +namespace map { + class UnitObj { + private: + Unit* unit; + std::pair pos; + std::pair size; + CellType cellType; + public: + UnitObj(Unit* unit) : unit(unit) { + + } + void updateValues() { + // from unit size, pos + } + void updatePosition() { + // from unit position + } + void updateAll() { + + } + }; +} \ No newline at end of file diff --git a/src/game/unit/module_builder.cpp b/src/game/unit/module_builder.cpp index e69de29..694a26c 100644 --- a/src/game/unit/module_builder.cpp +++ b/src/game/unit/module_builder.cpp @@ -0,0 +1,5 @@ +#include "module_builder.hpp" + +namespace unit { + +} \ No newline at end of file diff --git a/src/game/unit/module_builder.hpp b/src/game/unit/module_builder.hpp index e69de29..17d675f 100644 --- a/src/game/unit/module_builder.hpp +++ b/src/game/unit/module_builder.hpp @@ -0,0 +1,14 @@ +#include +#include "unit_module.hpp" + +#pragma ONCE + +namespace unit { + class ModuleBuilder { + private: + public: + ModuleBuilder(); + Module create(); + void config(const std::string& file); + }; +} \ No newline at end of file diff --git a/src/game/unit/modules.hpp b/src/game/unit/modules.hpp index e69de29..0aa3f7c 100644 --- a/src/game/unit/modules.hpp +++ b/src/game/unit/modules.hpp @@ -0,0 +1 @@ +// include all modules from folder \ No newline at end of file diff --git a/src/game/unit/unit.cpp b/src/game/unit/unit.cpp index e69de29..5420efd 100644 --- a/src/game/unit/unit.cpp +++ b/src/game/unit/unit.cpp @@ -0,0 +1,5 @@ +#include "unit.hpp" + +namespace unit { + +} \ No newline at end of file diff --git a/src/game/unit/unit.hpp b/src/game/unit/unit.hpp index e69de29..ab5d0fb 100644 --- a/src/game/unit/unit.hpp +++ b/src/game/unit/unit.hpp @@ -0,0 +1,15 @@ +#include +#include "unit_module.hpp" +#include "unit_memory_elem.hpp" + +#pragma ONCE + +namespace unit { + class Unit { + private: + std::vector modules; + std::vector memory; + public: + Unit(); + }; +} \ No newline at end of file diff --git a/src/game/unit/unit_memory.cpp b/src/game/unit/unit_memory.cpp deleted file mode 100644 index e69de29..0000000 diff --git a/src/game/unit/unit_memory.hpp b/src/game/unit/unit_memory.hpp deleted file mode 100644 index e69de29..0000000 diff --git a/src/game/unit/unit_memory_elem.hpp b/src/game/unit/unit_memory_elem.hpp new file mode 100644 index 0000000..20358c0 --- /dev/null +++ b/src/game/unit/unit_memory_elem.hpp @@ -0,0 +1,7 @@ +#pragma ONCE + +namespace unit { + struct MemoryElem { + int value = 0; + }; +} \ No newline at end of file diff --git a/src/game/unit/unit_module.cpp b/src/game/unit/unit_module.cpp index e69de29..9bc4e8d 100644 --- a/src/game/unit/unit_module.cpp +++ b/src/game/unit/unit_module.cpp @@ -0,0 +1,5 @@ +#include "unit_module.hpp" + +namespace unit { + +} \ No newline at end of file diff --git a/src/game/unit/unit_module.hpp b/src/game/unit/unit_module.hpp index e69de29..c954205 100644 --- a/src/game/unit/unit_module.hpp +++ b/src/game/unit/unit_module.hpp @@ -0,0 +1,17 @@ +// #include "unit.hpp" // ?? + +#pragma ONCE + +namespace unit { + class Module { + private: + public: + Module(); + /*virtual void connect(Unit* unit) { + + } + virtual void disconnect(Unit* unit) { + + }*/ + }; +} \ No newline at end of file diff --git a/src/out_api/draw.cpp b/src/out_api/draw.cpp index 6f0b354..78cb046 100644 --- a/src/out_api/draw.cpp +++ b/src/out_api/draw.cpp @@ -1,21 +1,8 @@ -#include "draw.hpp" #include -#include #include +#include "draw.hpp" namespace draw { - - enum Color { - black = 0, - red = 1, - green = 2, - yellow = 3, - blue = 4, - magneta = 5, - cyan = 6, - white = 7, - }; - void initColorPairs() { init_pair(ColorScheme::simple, COLOR_BLACK, COLOR_WHITE); init_pair(ColorScheme::active, COLOR_WHITE, COLOR_BLACK); @@ -25,24 +12,19 @@ namespace draw { init_pair(ColorScheme::player3, COLOR_BLACK, COLOR_YELLOW); init_pair(ColorScheme::neutral, COLOR_WHITE, COLOR_GREEN); init_pair(ColorScheme::enviroment, COLOR_BLACK, COLOR_WHITE); + init_pair(ColorScheme::damaged, COLOR_RED, COLOR_WHITE); } void begin() { - initscr(); - noecho(); - curs_set(false); start_color(); initColorPairs(); } void step() { refresh(); - usleep(STEP_DELAY_USEC); } - void end() { - endwin(); - } + void end() {} void clearAll() { clear(); diff --git a/src/out_api/draw.hpp b/src/out_api/draw.hpp index 29d98f0..ce91f49 100644 --- a/src/out_api/draw.hpp +++ b/src/out_api/draw.hpp @@ -1,5 +1,6 @@ #include -#include + +#pragma ONCE namespace draw { @@ -11,6 +12,7 @@ namespace draw { player2, player3, neutral, + damaged, enviroment }; @@ -23,8 +25,6 @@ namespace draw { unit = '#' }; - const uint32_t STEP_DELAY_USEC = 30000; - void begin(); void step(); diff --git a/src/out_api/init.cpp b/src/out_api/init.cpp new file mode 100644 index 0000000..e9ffb6c --- /dev/null +++ b/src/out_api/init.cpp @@ -0,0 +1,27 @@ +#include +#include +#include +#include "init.hpp" +#include "draw.hpp" +#include "input.hpp" + +namespace init { + void begin() { + initscr(); + noecho(); + curs_set(false); + draw::begin(); + input::begin(); + } + + void step() { + draw::step(); + usleep(STEP_DELAY_USEC); + } + + void end() { + draw::end(); + input::end(); + endwin(); + } +} \ No newline at end of file diff --git a/src/out_api/init.hpp b/src/out_api/init.hpp new file mode 100644 index 0000000..7bcb502 --- /dev/null +++ b/src/out_api/init.hpp @@ -0,0 +1,14 @@ +#include + +#pragma ONCE + +namespace init { + + const uint32_t STEP_DELAY_USEC = 30000; + + void begin(); + + void step(); + + void end(); +} \ No newline at end of file diff --git a/src/out_api/input.cpp b/src/out_api/input.cpp index e69de29..2ddf7cf 100644 --- a/src/out_api/input.cpp +++ b/src/out_api/input.cpp @@ -0,0 +1,17 @@ +#include +#include +#include "input.hpp" + +namespace input { + void begin() { + + } + + void step() { + + } + + void end() { + + } +} \ No newline at end of file diff --git a/src/out_api/input.hpp b/src/out_api/input.hpp index e69de29..039becd 100644 --- a/src/out_api/input.hpp +++ b/src/out_api/input.hpp @@ -0,0 +1,12 @@ +#include + +#pragma ONCE + +namespace input { + + void begin(); + + void step(); + + void end(); +} \ No newline at end of file From 9be0f50790a02440480cf861a1dec67d7edc55c3 Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Tue, 23 Mar 2021 00:30:28 +0300 Subject: [PATCH 07/14] added stop function --- main.cpp | 7 ++++++- src/out_api/init.cpp | 4 ++++ src/out_api/init.hpp | 2 ++ src/out_api/input.cpp | 7 +++++++ src/out_api/input.hpp | 2 ++ 5 files changed, 21 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index db57249..955db9a 100755 --- a/main.cpp +++ b/main.cpp @@ -1,6 +1,11 @@ #include #include +#include "src/out_api/init.hpp" int main() { - + init::begin(); + for (; !init::stop();) { + init::step(); + } + init::end(); } \ No newline at end of file diff --git a/src/out_api/init.cpp b/src/out_api/init.cpp index e9ffb6c..c9e452c 100644 --- a/src/out_api/init.cpp +++ b/src/out_api/init.cpp @@ -14,6 +14,10 @@ namespace init { input::begin(); } + bool stop() { + return input::stop(); + } + void step() { draw::step(); usleep(STEP_DELAY_USEC); diff --git a/src/out_api/init.hpp b/src/out_api/init.hpp index 7bcb502..72d3a72 100644 --- a/src/out_api/init.hpp +++ b/src/out_api/init.hpp @@ -8,6 +8,8 @@ namespace init { void begin(); + bool stop(); + void step(); void end(); diff --git a/src/out_api/input.cpp b/src/out_api/input.cpp index 2ddf7cf..4774856 100644 --- a/src/out_api/input.cpp +++ b/src/out_api/input.cpp @@ -3,10 +3,17 @@ #include "input.hpp" namespace input { + + bool stopValue = false; + void begin() { } + bool stop() { + return stopValue; + } + void step() { } diff --git a/src/out_api/input.hpp b/src/out_api/input.hpp index 039becd..15500a3 100644 --- a/src/out_api/input.hpp +++ b/src/out_api/input.hpp @@ -6,6 +6,8 @@ namespace input { void begin(); + bool stop(); + void step(); void end(); From 580ef8ac3c09c6649bb857ee32ad27e78b823b27 Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Wed, 24 Mar 2021 20:31:44 +0300 Subject: [PATCH 08/14] develop classes --- src/game/game_map.hpp | 19 +++++++++++++++++++ src/game/map_entities/action.hpp | 2 +- src/game/map_entities/actions.hpp | 2 ++ src/game/map_entities/cell.hpp | 2 +- src/game/map_entities/unit_obj.hpp | 20 +++++++------------- src/game/unit/module_builder.hpp | 4 +++- src/game/unit/modules.hpp | 2 ++ src/game/unit/unit.hpp | 6 +++++- src/game/unit/unit_builder.cpp | 1 + src/game/unit/unit_builder.hpp | 16 ++++++++++++++++ src/game/unit/unit_memory_elem.hpp | 2 +- src/game/unit/unit_module.hpp | 2 +- src/out_api/draw.hpp | 2 +- src/out_api/init.hpp | 2 +- src/out_api/input.hpp | 2 +- 15 files changed, 62 insertions(+), 22 deletions(-) diff --git a/src/game/game_map.hpp b/src/game/game_map.hpp index e69de29..55a82ad 100644 --- a/src/game/game_map.hpp +++ b/src/game/game_map.hpp @@ -0,0 +1,19 @@ +#include +#include "map_entities/cell.hpp" +#include "map_entities/action.hpp" +#include "map_entities/unit_obj.hpp" + +#pragma once + +namespace map { + class GameMap { + private: + std::vector > cells; + std::vector actions; + std::vector units; + public: + GameMap() { + + } + }; +} \ No newline at end of file diff --git a/src/game/map_entities/action.hpp b/src/game/map_entities/action.hpp index 3fcc16c..076c522 100644 --- a/src/game/map_entities/action.hpp +++ b/src/game/map_entities/action.hpp @@ -1,4 +1,4 @@ -#pragma ONCE +#pragma once namespace map { class Action { diff --git a/src/game/map_entities/actions.hpp b/src/game/map_entities/actions.hpp index 968c60f..02bf76e 100644 --- a/src/game/map_entities/actions.hpp +++ b/src/game/map_entities/actions.hpp @@ -1 +1,3 @@ +#pragma once + // include all actions from folder \ No newline at end of file diff --git a/src/game/map_entities/cell.hpp b/src/game/map_entities/cell.hpp index f647303..33a1190 100644 --- a/src/game/map_entities/cell.hpp +++ b/src/game/map_entities/cell.hpp @@ -1,4 +1,4 @@ -#pragma ONCE +#pragma once namespace map { enum CellType { // needed to choose final types diff --git a/src/game/map_entities/unit_obj.hpp b/src/game/map_entities/unit_obj.hpp index 2f29bfd..fd06e51 100644 --- a/src/game/map_entities/unit_obj.hpp +++ b/src/game/map_entities/unit_obj.hpp @@ -1,26 +1,20 @@ #include #include #include "cell.hpp" -#include "../unit/unit.hpp" -#pragma ONCE +#pragma once namespace map { - class UnitObj { + class UnitObj { // may be useless private: - Unit* unit; - std::pair pos; - std::pair size; + using Coord = std::pair; + Coord pos; + Coord size; CellType cellType; public: - UnitObj(Unit* unit) : unit(unit) { + UnitObj(const Coord& pos, const Coord& size, const CellType& cellType) : + pos(pos), size(size), cellType(cellType) { - } - void updateValues() { - // from unit size, pos - } - void updatePosition() { - // from unit position } void updateAll() { diff --git a/src/game/unit/module_builder.hpp b/src/game/unit/module_builder.hpp index 17d675f..4235fca 100644 --- a/src/game/unit/module_builder.hpp +++ b/src/game/unit/module_builder.hpp @@ -1,14 +1,16 @@ #include #include "unit_module.hpp" -#pragma ONCE +#pragma once namespace unit { class ModuleBuilder { private: public: ModuleBuilder(); + Module create(); + void config(const std::string& file); }; } \ No newline at end of file diff --git a/src/game/unit/modules.hpp b/src/game/unit/modules.hpp index 0aa3f7c..07c206e 100644 --- a/src/game/unit/modules.hpp +++ b/src/game/unit/modules.hpp @@ -1 +1,3 @@ +#pragma once + // include all modules from folder \ No newline at end of file diff --git a/src/game/unit/unit.hpp b/src/game/unit/unit.hpp index ab5d0fb..63dda2e 100644 --- a/src/game/unit/unit.hpp +++ b/src/game/unit/unit.hpp @@ -1,15 +1,19 @@ #include +#include "../game_map.hpp" #include "unit_module.hpp" #include "unit_memory_elem.hpp" -#pragma ONCE +#pragma once namespace unit { class Unit { private: std::vector modules; std::vector memory; + map::GameMap map; public: Unit(); + + void update(); }; } \ No newline at end of file diff --git a/src/game/unit/unit_builder.cpp b/src/game/unit/unit_builder.cpp index e69de29..91e5fd0 100644 --- a/src/game/unit/unit_builder.cpp +++ b/src/game/unit/unit_builder.cpp @@ -0,0 +1 @@ +#include "unit_builder.hpp" \ No newline at end of file diff --git a/src/game/unit/unit_builder.hpp b/src/game/unit/unit_builder.hpp index e69de29..5a7baa6 100644 --- a/src/game/unit/unit_builder.hpp +++ b/src/game/unit/unit_builder.hpp @@ -0,0 +1,16 @@ +#include +#include "unit.hpp" + +#pragma once + +namespace unit { + class UnitBuilder { + private: + public: + UnitBuilder(); + + Unit create(); + + void config(std::string& file); + }; +} \ No newline at end of file diff --git a/src/game/unit/unit_memory_elem.hpp b/src/game/unit/unit_memory_elem.hpp index 20358c0..dd10c04 100644 --- a/src/game/unit/unit_memory_elem.hpp +++ b/src/game/unit/unit_memory_elem.hpp @@ -1,4 +1,4 @@ -#pragma ONCE +#pragma once namespace unit { struct MemoryElem { diff --git a/src/game/unit/unit_module.hpp b/src/game/unit/unit_module.hpp index c954205..c2a0d6d 100644 --- a/src/game/unit/unit_module.hpp +++ b/src/game/unit/unit_module.hpp @@ -1,6 +1,6 @@ // #include "unit.hpp" // ?? -#pragma ONCE +#pragma once namespace unit { class Module { diff --git a/src/out_api/draw.hpp b/src/out_api/draw.hpp index ce91f49..978273d 100644 --- a/src/out_api/draw.hpp +++ b/src/out_api/draw.hpp @@ -1,6 +1,6 @@ #include -#pragma ONCE +#pragma once namespace draw { diff --git a/src/out_api/init.hpp b/src/out_api/init.hpp index 72d3a72..a3eab9c 100644 --- a/src/out_api/init.hpp +++ b/src/out_api/init.hpp @@ -1,6 +1,6 @@ #include -#pragma ONCE +#pragma once namespace init { diff --git a/src/out_api/input.hpp b/src/out_api/input.hpp index 15500a3..e3a753a 100644 --- a/src/out_api/input.hpp +++ b/src/out_api/input.hpp @@ -1,6 +1,6 @@ #include -#pragma ONCE +#pragma once namespace input { From 98b8d3cebb09adb8f4f52c2f344570c1f3dd6f9a Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Mon, 29 Mar 2021 23:43:14 +0300 Subject: [PATCH 09/14] Added Event Center --- src/game/game_events.cpp | 5 ++ src/game/game_events.hpp | 108 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) diff --git a/src/game/game_events.cpp b/src/game/game_events.cpp index e69de29..40c681a 100644 --- a/src/game/game_events.cpp +++ b/src/game/game_events.cpp @@ -0,0 +1,5 @@ +#include "game_events.hpp" + +namespace events { + +} \ No newline at end of file diff --git a/src/game/game_events.hpp b/src/game/game_events.hpp index e69de29..94f8c59 100644 --- a/src/game/game_events.hpp +++ b/src/game/game_events.hpp @@ -0,0 +1,108 @@ +#include +#include +#include +#include + +#pragma once + +namespace events { + class EventId { + private: + std::string name = ""; + + int nameHash = std::hash{}(""); + + public: + EventId() = default; + + EventId(std::string name) : name(name) { + nameHash = std::hash{}(name); + } + + bool operator==(const EventId& eId) const { + return nameHash == eId.nameHash && name == eId.name; + } + + bool operator!=(const EventId& eId) const { + return !operator==(eId); + } + }; + + class EventData { // may be changed + private: + using T = int; + + std::map data; + + public: + EventData() {} + + void setField(const std::string& key, const T& value) { + data[key] = value; + } + + const T& getField(const std::string& key) { + return data[key]; + } + }; + + class Event { + private: + EventId id; + + EventData data; + + public: + Event(const EventId& id, const EventData& data) : + id(id), data(data) {} + + bool isId(const EventId& eId) const { + return id == eId; + } + + EventData& getData() { + return data; + } + + const EventData& getData() const { + return data; + } + }; + + class EventHandler { + private: + std::function handler; + + EventId eventId; + public: + EventHandler(std::function handler, + const EventId& eventId) : handler(handler), eventId(eventId) {} + + bool handleEvent(const Event& event) { + if (event.isId(eventId)) { + handler(event.getData()); + return true; + } + return false; + } + }; + + class EventCenter { + private: + std::set handlers; + public: + void addEventHandler(const EventHandler& handler) { + handlers.insert(handler); + } + + void removeEventHandler(const EventHandler& handler) { + handlers.erase(handler); + } + + void invokeEvent(const Event& event) { + for (auto handler : handlers) { + handler.handleEvent(event); + } + } + }; +} \ No newline at end of file From eea91417c9ac1f1e177b9e6a69469bf7cc9e0817 Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Sun, 4 Apr 2021 17:09:42 +0300 Subject: [PATCH 10/14] . --- CMakeLists.txt | 47 ++++++++++++++++++++++++++++++++++++--- src/out_api/draw.cpp | 7 ++++-- src/out_api/draw.hpp | 12 ++++++---- src/out_api/game_draw.cpp | 10 +++++++++ src/out_api/game_draw.hpp | 5 +++++ 5 files changed, 72 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 581f011..44d18b7 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,48 @@ include_directories(${CURSES_INCLUDE_DIR}) set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin) set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib) -set(SOURCES main.cpp) +set(GameSource main.cpp) -add_executable(Game ${SOURCES}) -target_link_libraries(Game ${CURSES_LIBRARIES}) \ No newline at end of file +set(OutApiSource + out_api/draw.cpp + out_api/game_draw.cpp + out_api/init.cpp + out_api/input_controller.cpp + out_api/input.cpp + out_api/menu_draw.cpp) + +set(MenuSource + menu/menu.cpp) + +set(GameMainSource + game/game_events.cpp + game/game_map.cpp + game/game_menu.cpp) + +set(GameUnitSource + game/unit/module_builder.cpp + game/unit/unit_builder.cpp + game/unit/unit_module.cpp + game/unit/unit.cpp) + +set(GameMapEntitiesSource + game/map_entities/cell.cpp + game/map_entities/unit_obj.cpp + game/map_entities/actions/attack_action.cpp) + +add_library(OutApi ${OutApiSource}) +add_library(Menu ${MenuSource}) +add_library(GameMain ${GameMainSource}) +add_library(GameUnit ${GameUnitSource}) +add_library(GameMapEntities ${GameMapEntitiesSource}) + +set(LIBS + OutApi + Menu + GameMain + GameUnit + GameMapEntities) + +add_executable(Game ${GameSource}) +target_link_libraries(Game ${CURSES_LIBRARIES}) +target_link_libraries(Game ${LIBS}) \ No newline at end of file diff --git a/src/out_api/draw.cpp b/src/out_api/draw.cpp index 78cb046..fe78c50 100644 --- a/src/out_api/draw.cpp +++ b/src/out_api/draw.cpp @@ -4,8 +4,11 @@ namespace draw { void initColorPairs() { - init_pair(ColorScheme::simple, COLOR_BLACK, COLOR_WHITE); - init_pair(ColorScheme::active, COLOR_WHITE, COLOR_BLACK); + init_pair(ColorScheme::blank, COLOR_BLACK, COLOR_WHITE); + init_pair(ColorScheme::map_simple, COLOR_BLACK, COLOR_WHITE); + init_pair(ColorScheme::map_active, COLOR_WHITE, COLOR_BLACK); + init_pair(ColorScheme::menu_simple, COLOR_BLACK, COLOR_WHITE); + init_pair(ColorScheme::menu_active, COLOR_WHITE, COLOR_BLACK); init_pair(ColorScheme::player0, COLOR_BLACK, COLOR_RED); init_pair(ColorScheme::player1, COLOR_BLACK, COLOR_BLUE); init_pair(ColorScheme::player2, COLOR_BLACK, COLOR_MAGENTA); diff --git a/src/out_api/draw.hpp b/src/out_api/draw.hpp index 978273d..ef33014 100644 --- a/src/out_api/draw.hpp +++ b/src/out_api/draw.hpp @@ -6,20 +6,24 @@ namespace draw { enum ColorScheme { simple, - active, + map_simple, + map_active, + menu_simple, + menu_active, player0, player1, player2, player3, neutral, damaged, - enviroment + enviroment, }; enum Cell { blank = ' ', - menu_h = '-', - menu_v = '|', + menu_hb = '-', + menu_vb = '|', + menu_c = ' ', field = '.', mountain = '^', unit = '#' diff --git a/src/out_api/game_draw.cpp b/src/out_api/game_draw.cpp index e69de29..f8887d8 100644 --- a/src/out_api/game_draw.cpp +++ b/src/out_api/game_draw.cpp @@ -0,0 +1,10 @@ +#include "draw.hpp" +#include "game_draw.hpp" + +namespace game_draw { + void draw() { + std::size_t width; + std::size_t height; + + } +} \ No newline at end of file diff --git a/src/out_api/game_draw.hpp b/src/out_api/game_draw.hpp index e69de29..6b7b9eb 100644 --- a/src/out_api/game_draw.hpp +++ b/src/out_api/game_draw.hpp @@ -0,0 +1,5 @@ +#pragma once + +namespace game_draw { + void draw(); +} \ No newline at end of file From 4f2bfac443d62794066aec7ef59ed1aa8ed77d39 Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Tue, 6 Apr 2021 19:31:54 +0300 Subject: [PATCH 11/14] some fixes --- main.cpp | 7 ++++-- src/game/game_events.cpp | 4 ++-- src/game/game_events.hpp | 50 +++++++++++++++++++++++++++------------ src/out_api/draw.cpp | 8 +++---- src/out_api/draw.hpp | 5 ++-- src/out_api/game_draw.cpp | 31 ++++++++++++++++++++---- src/out_api/game_draw.hpp | 12 ++++++++-- 7 files changed, 85 insertions(+), 32 deletions(-) diff --git a/main.cpp b/main.cpp index 955db9a..e309c7e 100755 --- a/main.cpp +++ b/main.cpp @@ -1,11 +1,14 @@ #include #include #include "src/out_api/init.hpp" +#include "src/out_api/menu_draw.hpp" +#include "src/out_api/game_draw.hpp" int main() { init::begin(); - for (; !init::stop();) { + while (!init::stop()) { + game_draw::drawAll(); init::step(); } init::end(); -} \ No newline at end of file +} diff --git a/src/game/game_events.cpp b/src/game/game_events.cpp index 40c681a..14663d9 100644 --- a/src/game/game_events.cpp +++ b/src/game/game_events.cpp @@ -1,5 +1,5 @@ #include "game_events.hpp" namespace events { - -} \ No newline at end of file + size_t EventHandler::lastId = 0; +} diff --git a/src/game/game_events.hpp b/src/game/game_events.hpp index 94f8c59..62c972e 100644 --- a/src/game/game_events.hpp +++ b/src/game/game_events.hpp @@ -1,4 +1,4 @@ -#include +#include #include #include #include @@ -56,8 +56,8 @@ namespace events { Event(const EventId& id, const EventData& data) : id(id), data(data) {} - bool isId(const EventId& eId) const { - return id == eId; + const EventId& getEventId() const { + return id; } EventData& getData() { @@ -72,37 +72,57 @@ namespace events { class EventHandler { private: std::function handler; + + static size_t lastId; + + size_t id; EventId eventId; public: EventHandler(std::function handler, - const EventId& eventId) : handler(handler), eventId(eventId) {} + const EventId& eventId) : handler(handler), eventId(eventId) { + id = lastId; + ++lastId; + } - bool handleEvent(const Event& event) { - if (event.isId(eventId)) { - handler(event.getData()); - return true; - } - return false; + void handleEvent(const Event& event) { + handler(event.getData()); + } + + size_t getId() const { + return id; + } + + const EventId& getEventId() const { + return eventId; } }; class EventCenter { private: - std::set handlers; + std::map> handlers; public: void addEventHandler(const EventHandler& handler) { - handlers.insert(handler); + handlers[handler.getEventId()].push_back(handler); } void removeEventHandler(const EventHandler& handler) { - handlers.erase(handler); + std::vector& v = handlers[handler.getEventId()]; + size_t id = handler.getId(); + for (size_t i = 0; i < v.size(); ++i) { + if (v[i].getId() == id) { + if (i + 1 != v.size()) { + std::swap(v[i], v.back()); + } + v.pop_back(); + } + } } void invokeEvent(const Event& event) { - for (auto handler : handlers) { + for (auto& handler : handlers[event.getEventId()]) { // is it really work ?? handler.handleEvent(event); } } }; -} \ No newline at end of file +} diff --git a/src/out_api/draw.cpp b/src/out_api/draw.cpp index fe78c50..522d13c 100644 --- a/src/out_api/draw.cpp +++ b/src/out_api/draw.cpp @@ -4,7 +4,7 @@ namespace draw { void initColorPairs() { - init_pair(ColorScheme::blank, COLOR_BLACK, COLOR_WHITE); + init_pair(ColorScheme::simple, COLOR_BLACK, COLOR_WHITE); init_pair(ColorScheme::map_simple, COLOR_BLACK, COLOR_WHITE); init_pair(ColorScheme::map_active, COLOR_WHITE, COLOR_BLACK); init_pair(ColorScheme::menu_simple, COLOR_BLACK, COLOR_WHITE); @@ -33,14 +33,14 @@ namespace draw { clear(); } - void drawCh(uint32_t x, uint32_t y, + void drawCh(size_t x, size_t y, Cell cell, ColorScheme colorScheme) { attron(COLOR_PAIR(colorScheme)); mvaddch(y, x, cell); attroff(COLOR_PAIR(colorScheme)); } - void getSize(uint32_t& x, uint32_t& y) { + void getSize(size_t& x, size_t& y) { // is it work ?? getmaxyx(stdscr, y, x); } -} \ No newline at end of file +} diff --git a/src/out_api/draw.hpp b/src/out_api/draw.hpp index ef33014..4c6f799 100644 --- a/src/out_api/draw.hpp +++ b/src/out_api/draw.hpp @@ -3,6 +3,7 @@ #pragma once namespace draw { + using std::size_t; enum ColorScheme { simple, @@ -37,10 +38,10 @@ namespace draw { void clearAll(); - void drawCh(uint32_t x, uint32_t y, + void drawCh(size_t x, size_t y, Cell cell, ColorScheme colorScheme = ColorScheme::simple); // void setxy(uint32_t x, uint32_t y); - void getSize(uint32_t& x, uint32_t& y); + void getSize(size_t& x, size_t& y); } diff --git a/src/out_api/game_draw.cpp b/src/out_api/game_draw.cpp index f8887d8..7e0c547 100644 --- a/src/out_api/game_draw.cpp +++ b/src/out_api/game_draw.cpp @@ -2,9 +2,30 @@ #include "game_draw.hpp" namespace game_draw { - void draw() { - std::size_t width; - std::size_t height; + const size_t MENU_WIDTH = 16; + + void drawAll() { + size_t width; + size_t height; + draw::getSize(width, height); + // check width && height + for(size_t i = 0; i < height; ++i) { + draw::drawCh(i, 0, draw::Cell::menu_hb); + draw::drawCh(i, width - 1, draw::Cell::menu_hb); + draw::drawCh(i, width - MENU_WIDTH, draw::Cell::menu_hb); + } + for(size_t i = 0; i < width; ++i) { + draw::drawCh(0, i, draw::Cell::menu_vb); + draw::drawCh(height - 1, i, draw::Cell::menu_vb); + } + // draw corners + } + + void drawMenu(std::pair start, std::pair end) { - } -} \ No newline at end of file + } + + void drawMap(std::pair start, std::pair end) { + + } +} diff --git a/src/out_api/game_draw.hpp b/src/out_api/game_draw.hpp index 6b7b9eb..40ce220 100644 --- a/src/out_api/game_draw.hpp +++ b/src/out_api/game_draw.hpp @@ -1,5 +1,13 @@ +#include +#include #pragma once namespace game_draw { - void draw(); -} \ No newline at end of file + using std::size_t; + + void drawAll(); + + void drawMenu(size_t width, size_t height); + + void drawMap(size_t width, size_t height); +} From 4406ca4167a84a3cffcc85baecf1412096379a3b Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Sun, 11 Apr 2021 12:45:39 +0300 Subject: [PATCH 12/14] some improvements --- src/game/game_events.hpp | 11 +++++------ src/game/map_entities/action.hpp | 3 ++- src/game/map_entities/cell.hpp | 6 +++--- src/game/unit/unit.hpp | 10 +++++++--- src/game/unit/unit_memory_elem.hpp | 7 ------- 5 files changed, 17 insertions(+), 20 deletions(-) delete mode 100644 src/game/unit/unit_memory_elem.hpp diff --git a/src/game/game_events.hpp b/src/game/game_events.hpp index 62c972e..4cea773 100644 --- a/src/game/game_events.hpp +++ b/src/game/game_events.hpp @@ -1,7 +1,7 @@ #include #include #include -#include +#include #pragma once @@ -15,9 +15,8 @@ namespace events { public: EventId() = default; - EventId(std::string name) : name(name) { - nameHash = std::hash{}(name); - } + EventId(std::string name) : name(name), + nameHash(std::hash{}(name)) {} bool operator==(const EventId& eId) const { return nameHash == eId.nameHash && name == eId.name; @@ -32,7 +31,7 @@ namespace events { private: using T = int; - std::map data; + std::unordered_map data; public: EventData() {} @@ -100,7 +99,7 @@ namespace events { class EventCenter { private: - std::map> handlers; + std::unordered_map> handlers; public: void addEventHandler(const EventHandler& handler) { handlers[handler.getEventId()].push_back(handler); diff --git a/src/game/map_entities/action.hpp b/src/game/map_entities/action.hpp index 076c522..4133124 100644 --- a/src/game/map_entities/action.hpp +++ b/src/game/map_entities/action.hpp @@ -1,9 +1,10 @@ #pragma once namespace map { + // action, that takes place on map class Action { private: public: void update(); }; -} \ No newline at end of file +} diff --git a/src/game/map_entities/cell.hpp b/src/game/map_entities/cell.hpp index 33a1190..08e03a7 100644 --- a/src/game/map_entities/cell.hpp +++ b/src/game/map_entities/cell.hpp @@ -1,7 +1,7 @@ #pragma once namespace map { - enum CellType { // needed to choose final types + enum class CellType { // needed to choose final types ctNone, ctUnit, ctWeapon, @@ -9,7 +9,7 @@ namespace map { ctMoutain }; - enum CellPlayer { + enum class CellPlayer { cpNone, cpPlayer0, cpPlayer1, @@ -21,4 +21,4 @@ namespace map { CellType type; // int ??speed??; // speed when move inside }; -} \ No newline at end of file +} diff --git a/src/game/unit/unit.hpp b/src/game/unit/unit.hpp index 63dda2e..103979c 100644 --- a/src/game/unit/unit.hpp +++ b/src/game/unit/unit.hpp @@ -8,12 +8,16 @@ namespace unit { class Unit { private: + // parts of unit, that do something std::vector modules; - std::vector memory; - map::GameMap map; + + // memory, help modules communicate and handle events + std::vector memory; + + map::GameMap* map; public: Unit(); void update(); }; -} \ No newline at end of file +} diff --git a/src/game/unit/unit_memory_elem.hpp b/src/game/unit/unit_memory_elem.hpp deleted file mode 100644 index dd10c04..0000000 --- a/src/game/unit/unit_memory_elem.hpp +++ /dev/null @@ -1,7 +0,0 @@ -#pragma once - -namespace unit { - struct MemoryElem { - int value = 0; - }; -} \ No newline at end of file From bee718ad9ba198979d80cc90b712220afe13220e Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Sun, 11 Apr 2021 16:07:51 +0300 Subject: [PATCH 13/14] check new key --- src/out_api/game_draw.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/out_api/game_draw.cpp b/src/out_api/game_draw.cpp index 7e0c547..97130e3 100644 --- a/src/out_api/game_draw.cpp +++ b/src/out_api/game_draw.cpp @@ -23,6 +23,7 @@ namespace game_draw { void drawMenu(std::pair start, std::pair end) { + } void drawMap(std::pair start, std::pair end) { From 220dd71d8ff2c6e8b18e3515f88b97469fac1c30 Mon Sep 17 00:00:00 2001 From: ProgramSnail Date: Sun, 11 Apr 2021 20:14:23 +0300 Subject: [PATCH 14/14] draw game improvement --- CMakeLists.txt | 36 ++++---- bin/Game | Bin 0 -> 50480 bytes lib/libGameMain.a | Bin 0 -> 3418 bytes lib/libGameMapEntities.a | Bin 0 -> 3254 bytes lib/libGameUnit.a | Bin 0 -> 4530 bytes lib/libMenu.a | Bin 0 -> 1060 bytes lib/libOutApi.a | Bin 0 -> 107750 bytes src/game/game_events.hpp | 23 +++++- src/game/unit/unit.hpp | 1 - main.cpp => src/main.cpp | 6 +- src/out_api/draw.cpp | 33 +++++--- src/out_api/draw.hpp | 36 ++++---- src/out_api/game_draw.cpp | 170 ++++++++++++++++++++++++++++++++++---- src/out_api/game_draw.hpp | 43 +++++++++- src/out_api/input.cpp | 1 - 15 files changed, 274 insertions(+), 75 deletions(-) create mode 100755 bin/Game create mode 100644 lib/libGameMain.a create mode 100644 lib/libGameMapEntities.a create mode 100644 lib/libGameUnit.a create mode 100644 lib/libMenu.a create mode 100644 lib/libOutApi.a rename main.cpp => src/main.cpp (63%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 44d18b7..c91e6d9 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,34 +9,34 @@ include_directories(${CURSES_INCLUDE_DIR}) set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin) set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib) -set(GameSource main.cpp) +set(GameSource src/main.cpp) set(OutApiSource - out_api/draw.cpp - out_api/game_draw.cpp - out_api/init.cpp - out_api/input_controller.cpp - out_api/input.cpp - out_api/menu_draw.cpp) + src/out_api/draw.cpp + src/out_api/game_draw.cpp + src/out_api/init.cpp + src/out_api/input_controller.cpp + src/out_api/input.cpp + src/out_api/menu_draw.cpp) set(MenuSource - menu/menu.cpp) + src/menu/menu.cpp) set(GameMainSource - game/game_events.cpp - game/game_map.cpp - game/game_menu.cpp) + src/game/game_events.cpp + src/game/game_map.cpp + src/game/game_menu.cpp) set(GameUnitSource - game/unit/module_builder.cpp - game/unit/unit_builder.cpp - game/unit/unit_module.cpp - game/unit/unit.cpp) + src/game/unit/module_builder.cpp + src/game/unit/unit_builder.cpp + src/game/unit/unit_module.cpp + src/game/unit/unit.cpp) set(GameMapEntitiesSource - game/map_entities/cell.cpp - game/map_entities/unit_obj.cpp - game/map_entities/actions/attack_action.cpp) + src/game/map_entities/cell.cpp + src/game/map_entities/unit_obj.cpp + src/game/map_entities/actions/attack_action.cpp) add_library(OutApi ${OutApiSource}) add_library(Menu ${MenuSource}) diff --git a/bin/Game b/bin/Game new file mode 100755 index 0000000000000000000000000000000000000000..50526161741950c0b7396f9e7d1572f7a7e5d8e3 GIT binary patch literal 50480 zcmeHw4|rTvweLxqlz=5kA!w{z8$h7Y5;OUqQXpwFWkS;ungpT(hv{U}OvyhdlQc!R zq=aI}5NV2@wSn&8e;B_T2o?%=T1J#o5POLhFhPKi<-KMN6oytLKWI(&8(M z3v)Z$bMu7?q*osPle*Wgsn?QwwY`K>^^>%uxN4%4Z_66dhevnM!p^I?zUtOgBh4@cAY@Z~pSK@%ue!lpAHH4@*<07f& z%)n~e7a-6H{~a_)?b)xVfNAuYcLz~yYz#Cj zY*Uk_f3h}`pQr1Q=5YH)y(QSTKGLiQ!{PRD&8h&XYgW}pN_0KY)8p}Y^4Ix0LjmX? z4z;bX3e-kCogEiLTZ)^ynSIaA$j)zais;8cnxt ze4hqUeSaTbDC`W~5hU&F+YmF2`r2S;S1ZLJVkU6A9%#N@Z}Nv)w64yUV6X%DK#yN< z3Xu)&AT~^J8BB)wo+9fFvq;s8T@U zuU)Z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WxBsH8{x<#r3kB(SKCGAWpThkFH`ewSwMdGBKT?bgZQap+ z3p{=2jE9-=dxC?lvVy%mRaWpFuw_{4tKS>lG0XaYM_r0N)xP>2yq#P>j~zqfhc4Bw zii5f65cNsbAH7?!X`}5DE|S3bRP`17fUUmP%d8y|P8v1kjjE?$maYC|FW2MxYMd%D zs-7w@Kz+g~{WCX9N*X05T#F!7eTZk*~@J|{UA*(%tI+W!HWzu<2G literal 0 HcmV?d00001 diff --git a/lib/libGameMain.a b/lib/libGameMain.a new file mode 100644 index 0000000000000000000000000000000000000000..8a17febfe8406620644b70f6545d3383ebf4e302 GIT binary patch literal 3418 zcmeHJOK;Oa5T1ncG7_lbQi+Ru0wmZx2oXV08AYKWm0T(i>LqcVRT?$1Eqe>}#1W4C z98QQ6{1vYJ0+{vAq?@HtBBY`USZVX^JihVldS~MG2VoZNZFm)bc2q6VtnFXlZ`9eL z?*Tvw=cnFIw<%xASmm{PN8^()9*kwy9EZ7jI_LmY+{bW`Iar^j(f5YoMD|R05v8d} zDxO!F+D!mkwDWB?8ihlx)}p-o-rLUB<8nzSZbk_Q-?2IM3ol3zVVsS?hR|NVdYVX$G}@1-}27QKGPlvs66ASUAot z(zDF?i1cOSKHXy%_thOtLz|BWV#cM$4L~b zBxbE&5~4R>X0|}`*;nh`Yg{mAp%EckJ{b)VlrKdsYu+a7HauG&gmGoSIHrL$dM*n+iY9;=?= z;yg|_|Ci+8=H>2R$8))w`kwe72rnY)nq~f)rFYLro7O1Ng!~xX{B^w^$A3qTeI^pR z{GuEuVMx#kl8ugn+CKUCYa>C;=>|7-j2uI(#al!VLH_SYqA`zO#$2-W}q literal 0 HcmV?d00001 diff --git a/lib/libGameMapEntities.a b/lib/libGameMapEntities.a new file mode 100644 index 0000000000000000000000000000000000000000..9a6bb1c7715e958a053ff5da3acb1ba8fdf6d480 GIT binary patch literal 3254 zcmds3&1=*^6n|N()d+%k5xk@)ThQ4Lx5XAMky7iSdZ~hV*<@p|Tf0d}X3?I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= Qr}1+VrhHRz!5Q&C0Wii%E&u=k literal 0 HcmV?d00001 diff --git a/lib/libMenu.a b/lib/libMenu.a new file mode 100644 index 0000000000000000000000000000000000000000..d7ef929ce0ea88094ae5838ee7122df8dd03aada GIT binary patch literal 1060 zcmbVLO-sW-5S`Tem791GylhV@=o(8E6)AyIdl4@pcx)Pj1xXW<73`^3f09S>ANdP( zCcC4X4PH91dGqGYo9u4d&Q(;z)4qQ!>JeB}=k`;G-mgCP0V7RjFEY+^ndwRY`OkXV zdC@&L6UP2xcyrzIJQ`Dl2YvWsTm=wTF|5iV_^=5u8VoMQ{^<7pK%4}!D+BFmBM4lp zxKM-^cpp^b@C>)cvQ$IT+wk>WD-z*D1ITios%V0!3XN0FRPw4oK1M16IVnq!ah9SH zYqLxx5;t~KswjRo{0Z+dFS0x-)V%S+-TUaEK(!TaFc>gJ>ieVz2A@N-rvC>!j7HZ0 literal 0 HcmV?d00001 diff --git a/lib/libOutApi.a b/lib/libOutApi.a new file mode 100644 index 0000000000000000000000000000000000000000..4e687fa005060fb592132c5a8c0616ba13db8a5a GIT binary patch literal 107750 zcmeIb3w&KgwLiX-(-%-^cuAECp%g5ykdt?yU`l(+38WC36si_aPm|L&keA6x8@L6F zZLu*#tAbXoSP`{8smh~jmGZDH;-eyHg$hMMBkkoDM2X&B_^&m4t-aTtJ#!u@zw7V+ z|2v=L%VQg#br%Pdn(y8v%OtlRVZWDvRFsQ6-|kXSt-bb zL^P@dHnl8Eb);gRz-lDEJaq$5w`8DNno2jd-I$8a>u4%X0CQ71TAfJr0+dL1CE7aE zsimo&4#?-mSOJi-$>}yJTQcFq_iKYGhiSATSZ&zos zy)Au1VtFa*)ReACBwADHWLtZ*B7tSMEKBzECfZY-_1DE>*EJ{FbTVM@$fBi*wvO(0 zBwgOv0@O%cyENI6N?<)}+mpTNYuZ}V%aj59jA$w5#8Yicm!7Ha;y0^Y1)|7;gSZr}nvl>)S3291K zbc0jWcXY&>qMH7yvF0YbW0{DerC3&DvM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Fr$jgf!y%JiHN!3_+KVTdi2; zX!&uegJnvefJ=wvQ#BA$LBFmA6#3adTq?)eM2T!`z)OHmuM@IUy#Lx!mg@VXFTy5#T%^gU*lh4ceqm5<$9qtP3n69NQnq4d&)|GV$*w{nL^e(mMb7a?uB?Jb7ta1J;&TxeLTR)`0lz z1&2D7sDrTM;JurQ2@uvV)#dv zx9UC(eZafVy2QWFnt?ckqw$09!{UBEuOV#wE0GU^Dc{Wrf1*zr$0oo{_h~r)9IIv! zw=DMYVz`v|X-Wsc@Vghp`C8QtuvvujI+^pE3CFPp1LJV-0Jj5bfb^FBwRkUZb+WxL zrS3q&cML8f?hrhHZxI5keUyi5X$;tZ(3SFC_p-i=fENRnga2I5RglKOIM*}NsBd2P z<}viUKdtHg`lYME;e8eZJGQ-TE|{tn&wj$Nb-jy*fxu%H-U}hGK9MAO55%FRBAuscDyP9MpOC42oJ6=G*@do>$&TpH`xI(SSEP`%7 z+g!Gf^lulunAG{XwyY-a^=h#YTBr2+7q3?XmHxkXq5AK2YS>@V feg40)PNlCyRFA+9(M=R)>)ShtV*$k+>HPl>zH8jP literal 0 HcmV?d00001 diff --git a/src/game/game_events.hpp b/src/game/game_events.hpp index 4cea773..bee5137 100644 --- a/src/game/game_events.hpp +++ b/src/game/game_events.hpp @@ -1,7 +1,7 @@ #include #include #include -#include +#include #pragma once @@ -25,13 +25,30 @@ namespace events { bool operator!=(const EventId& eId) const { return !operator==(eId); } + + bool operator<(const EventId& eId) const { + return nameHash < eId.nameHash || + (nameHash == eId.nameHash && name < eId.name); + } + + bool operator>(const EventId& eId) const { + return eId < *this; + } + + bool operator<=(const EventId& eId) const { + return !operator>(eId); + } + + bool operator>=(const EventId& eId) const { + return !operator<(eId); + } }; class EventData { // may be changed private: using T = int; - std::unordered_map data; + std::map data; public: EventData() {} @@ -99,7 +116,7 @@ namespace events { class EventCenter { private: - std::unordered_map> handlers; + std::map> handlers; public: void addEventHandler(const EventHandler& handler) { handlers[handler.getEventId()].push_back(handler); diff --git a/src/game/unit/unit.hpp b/src/game/unit/unit.hpp index 103979c..6ef2c1c 100644 --- a/src/game/unit/unit.hpp +++ b/src/game/unit/unit.hpp @@ -1,7 +1,6 @@ #include #include "../game_map.hpp" #include "unit_module.hpp" -#include "unit_memory_elem.hpp" #pragma once diff --git a/main.cpp b/src/main.cpp similarity index 63% rename from main.cpp rename to src/main.cpp index e309c7e..22791c9 100755 --- a/main.cpp +++ b/src/main.cpp @@ -1,8 +1,8 @@ #include #include -#include "src/out_api/init.hpp" -#include "src/out_api/menu_draw.hpp" -#include "src/out_api/game_draw.hpp" +#include "out_api/init.hpp" +#include "out_api/menu_draw.hpp" +#include "out_api/game_draw.hpp" int main() { init::begin(); diff --git a/src/out_api/draw.cpp b/src/out_api/draw.cpp index 522d13c..d77496f 100644 --- a/src/out_api/draw.cpp +++ b/src/out_api/draw.cpp @@ -4,18 +4,18 @@ namespace draw { void initColorPairs() { - init_pair(ColorScheme::simple, COLOR_BLACK, COLOR_WHITE); - init_pair(ColorScheme::map_simple, COLOR_BLACK, COLOR_WHITE); - init_pair(ColorScheme::map_active, COLOR_WHITE, COLOR_BLACK); - init_pair(ColorScheme::menu_simple, COLOR_BLACK, COLOR_WHITE); - init_pair(ColorScheme::menu_active, COLOR_WHITE, COLOR_BLACK); - init_pair(ColorScheme::player0, COLOR_BLACK, COLOR_RED); - init_pair(ColorScheme::player1, COLOR_BLACK, COLOR_BLUE); - init_pair(ColorScheme::player2, COLOR_BLACK, COLOR_MAGENTA); - init_pair(ColorScheme::player3, COLOR_BLACK, COLOR_YELLOW); - init_pair(ColorScheme::neutral, COLOR_WHITE, COLOR_GREEN); - init_pair(ColorScheme::enviroment, COLOR_BLACK, COLOR_WHITE); - init_pair(ColorScheme::damaged, COLOR_RED, COLOR_WHITE); + init_pair(static_cast(ColorScheme::simple), COLOR_WHITE, COLOR_BLACK); + init_pair(static_cast(ColorScheme::map_simple), COLOR_WHITE, COLOR_BLACK); + init_pair(static_cast(ColorScheme::map_active), COLOR_BLACK, COLOR_WHITE); + init_pair(static_cast(ColorScheme::menu_simple), COLOR_WHITE, COLOR_BLACK); + init_pair(static_cast(ColorScheme::menu_active), COLOR_BLACK, COLOR_WHITE); + init_pair(static_cast(ColorScheme::player0), COLOR_RED, COLOR_BLACK); + init_pair(static_cast(ColorScheme::player1), COLOR_BLUE, COLOR_BLACK); + init_pair(static_cast(ColorScheme::player2), COLOR_MAGENTA, COLOR_BLACK); + init_pair(static_cast(ColorScheme::player3), COLOR_YELLOW, COLOR_BLACK); + init_pair(static_cast(ColorScheme::neutral), COLOR_GREEN, COLOR_WHITE); + init_pair(static_cast(ColorScheme::enviroment), COLOR_WHITE, COLOR_BLACK); + init_pair(static_cast(ColorScheme::damaged), COLOR_WHITE, COLOR_RED); } void begin() { @@ -36,7 +36,14 @@ namespace draw { void drawCh(size_t x, size_t y, Cell cell, ColorScheme colorScheme) { attron(COLOR_PAIR(colorScheme)); - mvaddch(y, x, cell); + mvaddch(y, x, static_cast(cell)); + attroff(COLOR_PAIR(colorScheme)); + } + + void drawKey(size_t x, size_t y, + char key, ColorScheme colorScheme) { + attron(COLOR_PAIR(colorScheme)); + mvaddch(y, x, key); attroff(COLOR_PAIR(colorScheme)); } diff --git a/src/out_api/draw.hpp b/src/out_api/draw.hpp index 4c6f799..619f7cd 100644 --- a/src/out_api/draw.hpp +++ b/src/out_api/draw.hpp @@ -5,29 +5,32 @@ namespace draw { using std::size_t; - enum ColorScheme { - simple, - map_simple, - map_active, - menu_simple, - menu_active, - player0, - player1, - player2, - player3, - neutral, - damaged, - enviroment, + enum class ColorScheme { + simple = 0, + map_simple = 1, + map_active = 2, + menu_simple = 3, + menu_active = 4, + player0 = 5, + player1 = 6, + player2 = 7, + player3 = 8, + neutral = 9, + damaged = 10, + enviroment = 11, }; - enum Cell { + enum class Cell { blank = ' ', menu_hb = '-', menu_vb = '|', menu_c = ' ', field = '.', mountain = '^', - unit = '#' + unit = '#', + gold = 'G', + iron = 'I', + tech = 'T' }; void begin(); @@ -41,6 +44,9 @@ namespace draw { void drawCh(size_t x, size_t y, Cell cell, ColorScheme colorScheme = ColorScheme::simple); + void drawKey(size_t x, size_t y, + char key, ColorScheme colorScheme = ColorScheme::simple); + // void setxy(uint32_t x, uint32_t y); void getSize(size_t& x, size_t& y); diff --git a/src/out_api/game_draw.cpp b/src/out_api/game_draw.cpp index 97130e3..c6e49fb 100644 --- a/src/out_api/game_draw.cpp +++ b/src/out_api/game_draw.cpp @@ -1,32 +1,168 @@ -#include "draw.hpp" #include "game_draw.hpp" +#include "draw.hpp" namespace game_draw { const size_t MENU_WIDTH = 16; + + const size_t MENU_ENTITY_EXTRA = 4; + + const draw::ColorScheme menuSimpleScheme = + draw::ColorScheme::menu_simple; + + const draw::ColorScheme menuActiveScheme = + draw::ColorScheme::menu_active; + + size_t lastWidth = 0; + + size_t lastHeight = 0; + + void drawMenuEntity(size_t pos, size_t start, size_t end, + char shortkey, draw::Cell type, + const std::string& name, bool isActive) { + draw::ColorScheme colorScheme = + isActive ? menuActiveScheme : menuSimpleScheme; + draw::drawKey(start, pos, shortkey, colorScheme); + draw::drawCh(start + 1, pos, draw::Cell::blank, colorScheme); + for (size_t i = 0; i <= end - start - MENU_ENTITY_EXTRA; ++i) { + if (i < name.size()) { + draw::drawKey(start + 2 + i, pos, + name[i], colorScheme); + } else { + draw::drawCh(start + 2 + i, pos, + draw::Cell::blank, colorScheme); + } + } + // ?? add move of name ?? + draw::drawCh(end - 1, pos, draw::Cell::blank, colorScheme); + draw::drawCh(end, pos, type, colorScheme); + } + void drawMenu(std::pair start, + std::pair end) { + for (size_t i = start.second; i <= end.second; ++i) { + // add real entities + drawMenuEntity(i, start.first, end.first, 'A', + draw::Cell::unit, "Tank", false); + } + } + + void drawMap(std::pair start, + std::pair end) { + + } + + void drawParams(std::pair start, + const std::vector> &res) { + size_t pos = start.first; + for (size_t i = 0; i < res.size(); ++i) { + std::string s = std::to_string(res[i].first); + for (size_t j = 0; j < s.size(); ++j, ++pos) { + draw::drawKey(pos, start.second, + s[j], menuSimpleScheme); + } + draw::drawCh(pos++, start.second, + res[i].second, menuSimpleScheme); + draw::drawCh(pos++, start.second, + draw::Cell::blank, menuSimpleScheme); + } + } + + void drawRequirements(std::pair end, + const std::vector &requirements) { + size_t pos = end.first; + for (size_t i = 0; i < requirements.size(); ++i) { + draw::drawCh(pos--, end.second, + requirements[i], menuSimpleScheme); + draw::drawCh(pos--, end.second, + draw::Cell::blank, menuSimpleScheme); + } + draw::drawCh(pos, end.second, + draw::Cell::menu_vb, menuSimpleScheme); + } + void drawAll() { size_t width; size_t height; draw::getSize(width, height); // check width && height - for(size_t i = 0; i < height; ++i) { - draw::drawCh(i, 0, draw::Cell::menu_hb); - draw::drawCh(i, width - 1, draw::Cell::menu_hb); - draw::drawCh(i, width - MENU_WIDTH, draw::Cell::menu_hb); + + size_t menuBorderLeft = width - MENU_WIDTH - 3; + size_t menuBorderDown = height - 3; + size_t borderUp = 1; + size_t borderDown = height - 1; + size_t borderLeft = 0; + size_t borderRight = width - 1; + + if (width != lastWidth || height != lastHeight) { + draw::clearAll(); } - for(size_t i = 0; i < width; ++i) { - draw::drawCh(0, i, draw::Cell::menu_vb); - draw::drawCh(height - 1, i, draw::Cell::menu_vb); + + // draw borders + for(size_t i = borderUp + 1; i < borderDown; ++i) { + draw::drawCh(0, i, + draw::Cell::menu_vb, menuSimpleScheme); + draw::drawCh(menuBorderLeft, i, + draw::Cell::menu_vb, menuSimpleScheme); + draw::drawCh(borderRight, i, + draw::Cell::menu_vb, menuSimpleScheme); } + for(size_t i = borderLeft + 1; i < borderRight; ++i) { + draw::drawCh(i, borderUp, draw::Cell::menu_hb, + menuSimpleScheme); + draw::drawCh(i, borderDown, draw::Cell::menu_hb, + menuSimpleScheme); + } + for (size_t i = menuBorderLeft + 1; i < borderRight; ++i) { + draw::drawCh(i, menuBorderDown, draw::Cell::menu_hb, + menuSimpleScheme); + } + // draw corners + { + std::vector> corners = { + {borderLeft, borderUp}, + {menuBorderLeft, borderUp}, + {borderRight, borderUp}, + {menuBorderLeft, menuBorderDown}, + {borderRight, menuBorderDown}, + {borderLeft, borderDown}, + {menuBorderLeft, borderDown}, + {borderRight, borderDown} + }; + for (size_t i = 0; i < corners.size(); ++i) { + draw::drawCh(corners[i].first, + corners[i].second, draw::Cell::menu_c, + menuSimpleScheme); + } + } + + drawMenu({menuBorderLeft + 1, borderUp + 1}, + {borderRight - 1, menuBorderDown - 1}); + + drawMap({borderLeft + 1, borderUp + 1}, + {menuBorderLeft - 1, borderDown - 1}); + + // resources + drawParams({0, 0}, std::vector>({ + {1023, draw::Cell::gold}, + {324, draw::Cell::iron}, + {545, draw::Cell::tech} + })); // test + + // draw build requirements + drawRequirements({width - 1, 0}, std:: + vector(5, draw::Cell::unit)); // test + + // cost + drawParams({menuBorderLeft + 1, menuBorderDown + 1}, + std::vector>({ + {120, draw::Cell::gold}, + {400, draw::Cell::iron}, + {15, draw::Cell::tech} + })); // test + + lastWidth = width; + lastHeight = height; } - - void drawMenu(std::pair start, std::pair end) { - - - } - - void drawMap(std::pair start, std::pair end) { - - } } diff --git a/src/out_api/game_draw.hpp b/src/out_api/game_draw.hpp index 40ce220..1d9bec9 100644 --- a/src/out_api/game_draw.hpp +++ b/src/out_api/game_draw.hpp @@ -1,13 +1,48 @@ +#include #include #include +#include +#include +#include "draw.hpp" + #pragma once namespace game_draw { using std::size_t; + + void drawMenuEntity(size_t pos, size_t start, size_t end, + char shortkey, draw::Cell type, + const std::string& name, bool isActive); + void drawMenu(std::pair start, + std::pair end); + + void drawMap(std::pair start, + std::pair end); + + void drawParams(std::pair pos, + const std::vector >& res); + + void drawRequirements(std::pair pos, + const std::vector& requirements); + void drawAll(); - - void drawMenu(size_t width, size_t height); - - void drawMap(size_t width, size_t height); } + +/* +game scheme: + +1234A 1024B 1010011C | D F S W - resources | unit dependences +.--------------------------.----------. +| | | +| |X Tank I| - unit: symbol, name, shortkey +| | | +| | | +| Map | Menu | +| | | +| | | +| .----------. +| |103A 104B | - cost +.--------------------------.----------. + |MENU_WIDTH| +*/ \ No newline at end of file diff --git a/src/out_api/input.cpp b/src/out_api/input.cpp index 4774856..ad88df2 100644 --- a/src/out_api/input.cpp +++ b/src/out_api/input.cpp @@ -3,7 +3,6 @@ #include "input.hpp" namespace input { - bool stopValue = false; void begin() {