diff --git a/8382/nakonechnaya/CMakeLists.txt b/8382/nakonechnaya/CMakeLists.txt new file mode 100644 index 000000000..b9c209a05 --- /dev/null +++ b/8382/nakonechnaya/CMakeLists.txt @@ -0,0 +1,6 @@ +cmake_minimum_required(VERSION 3.16) +project(oop) + +set(CMAKE_CXX_STANDARD 14) + +add_executable(oop main.cpp Game.h Facade.cpp Facade.h Manager.h Manager.cpp Commands/StartGameCommand.h Commands/CreateUnitCommand.h Commands/DeleteUnitCommand.h Commands/AttackUnitCommand.h Commands/UnitsAttributesCommand.h Commands/ActionWithObjectCommand.h Commands/AttackBaseCommand.h Memento.h Commands/MoveUnitCommand.h Commands/Command.h Loggers/LogProxy.h Loggers/Adapter.h Loggers/NoLogger.h Loggers/FileLogger.h Loggers/TerminalLogger.h Loggers/Adapter.cpp Loggers/LogProxy.cpp Loggers/FileLogger.cpp Loggers/TerminalLogger.cpp Loggers/Logger.h GameField.h GameField.cpp landscapes/Forest.h landscapes/Grass.h landscapes/Proxy.h Objects/neutralObjects/TrainingBase.h Objects/neutralObjects/Strategy.h Objects/neutralObjects/Shop.h Objects/neutralObjects/NeutralObject.cpp Objects/neutralObjects/NeutralObject.h Objects/neutralObjects/Hospital.h Objects/neutralObjects/Bar.h Objects/Subject.h Objects/Observer.h Objects/Object.h Objects/Base.cpp landscapes/Landscape.h landscapes/Mountains.h landscapes/Proxy.cpp landscapes/Swamp.h Objects/units/FlyingTroops/Griffin.h Objects/units/FlyingTroops/BoneDragon.h Objects/units/FootTroops/Halberdier.h Objects/units/FootTroops/Skeleton.h Objects/units/RangedTroops/Archer.h Objects/units/RangedTroops/Lich.h Objects/units/FlyingTroops/BoneDragon.cpp Objects/units/FlyingTroops/Griffin.cpp Objects/units/FootTroops/Skeleton.cpp Objects/units/FootTroops/Halberdier.cpp Objects/units/RangedTroops/Archer.cpp Objects/units/RangedTroops/Lich.cpp Objects/units/FlyingTroops/FlyingTroops.h Objects/units/FootTroops/FootTroops.h Objects/units/RangedTroops/RangedTroops.h Objects/units/CompositeUnit.h Objects/units/CompositeUnit.cpp Objects/units/Unit.h Objects/units/Unit.cpp Objects/units/FactoryMethod.h Objects/Base.h FieldCell.h FieldCell.cpp Gamer.h Memento.cpp Objects/units/attributes/Health.h Objects/units/attributes/Defense.h Objects/units/attributes/Attack.h Objects/units/attributes/Attribute.h Commands/Rules.h Commands/GameException.h) \ No newline at end of file diff --git a/8382/nakonechnaya/Commands/ActionWithObjectCommand.h b/8382/nakonechnaya/Commands/ActionWithObjectCommand.h new file mode 100644 index 000000000..69c738f37 --- /dev/null +++ b/8382/nakonechnaya/Commands/ActionWithObjectCommand.h @@ -0,0 +1,33 @@ +#ifndef OOP_ACTIONWITHOBJECTCOMMAND_H +#define OOP_ACTIONWITHOBJECTCOMMAND_H +#include "Command.h" + +class ActionWithObjectCommand : public Command{ +public: + void execute(GameField *gameField, Base *base, LogProxy *logger, Base *enemyBase) final { + std::cout << "Coordinates of cell:" << std::endl; + int x, y; + std::cout << "x:"; + std::cin >> x; + std::cout << "y:"; + std::cin >> y; + if (x < 0 || y < 0 || x > gameField->getWidth()-1 || y > gameField->getHeight() -1){ + std::cout << "Incorrect coordinates." << std::endl; return; + } + if (base->getUnit(x, y) == nullptr){ + std::cout << "It is not your unit." << std::endl; + return; + } + gameField->makeActionWithObj(x, y); + if (logger->getFormat() == 1) { + auto adapter = new Adapter(gameField); + adapter->setLogger(logger); + adapter->setLog(gameField->getLogString()); + adapter->print(); + } else { + logger->setLog(gameField->getLogString()); + logger->print(); + } + } +}; +#endif //OOP_ACTIONWITHOBJECTCOMMAND_H diff --git a/8382/nakonechnaya/Commands/AttackBaseCommand.h b/8382/nakonechnaya/Commands/AttackBaseCommand.h new file mode 100644 index 000000000..b813b7903 --- /dev/null +++ b/8382/nakonechnaya/Commands/AttackBaseCommand.h @@ -0,0 +1,41 @@ +#ifndef OOP_ATTACKBASECOMMAND_H +#define OOP_ATTACKBASECOMMAND_H +#include "Command.h" + +class AttackBaseCommand : public Command{ +public: + void execute(GameField *gameField, Base *base, LogProxy *logger, Base *enemyBase) final { + int x1, y1; + std::cout << "Attacking unit coordinates:\nx:"; + std::cin >> x1; + std::cout << "y:"; + std::cin >> y1; + if (x1 < 0 || y1 < 0 || x1 > gameField->getWidth()-1 || y1 > gameField->getHeight() -1){ + std::cout << "Incorrect coordinates." << std::endl; + return; + } + if (base->getUnit(x1, y1) == nullptr){ + std::cout << "It is not your unit." << std::endl; + return; + } + int x2 = enemyBase->getCoordinates()->x; + int y2 = enemyBase->getCoordinates()->y; + if (abs(x1-x2) > 1 || abs(y1-y2) > 1){ + std::cout << "Enemy base is far from this unit." << std::endl; + return; + } + gameField->attackBase(x1, y1, x2, y2, base, enemyBase); + if (logger->getFormat() == 1) { + auto adapter = new Adapter(gameField); + adapter->setLogger(logger); + adapter->setLog(gameField->getLogString()); + adapter->print(); + } else { + logger->setLog(gameField->getLogString()); + logger->print(); + } + } +}; + + +#endif //OOP_ATTACKBASECOMMAND_H diff --git a/8382/nakonechnaya/Commands/AttackUnitCommand.h b/8382/nakonechnaya/Commands/AttackUnitCommand.h new file mode 100644 index 000000000..25ef81fc0 --- /dev/null +++ b/8382/nakonechnaya/Commands/AttackUnitCommand.h @@ -0,0 +1,57 @@ +#ifndef OOP_ATTACKUNITCOMMAND_H +#define OOP_ATTACKUNITCOMMAND_H +#include "Command.h" + +class AttackUnitCommand : Command{ +public: + void execute(GameField *gameField, Base *base, LogProxy *logger, Base *enemyBase) final { + int x1, y1; + std::cout << "Attacking unit coordinates:\nx:"; + std::cin >> x1; + std::cout << "y:"; + std::cin >> y1; + if (x1 < 0 || y1 < 0 || x1 > gameField->getWidth()-1 || y1 > gameField->getHeight() -1){ + std::cout << "Incorrect coordinates." << std::endl; return; + } + if (base->getUnit(x1, y1) == nullptr){ + std::cout << "It is not your unit." << std::endl; + return; + } + int x2, y2; + std::cout << "Coordinates of unit to attack:\nx:"; + std::cin >> x2; + std::cout << "y:"; + std::cin >> y2; + if (x2 < 0 || y2 < 0 || x2 > gameField->getWidth()-1 || y2 > gameField->getHeight()-1){ + std::cout << "Incorrect coordinates." << std::endl; return; + } + int count = 0; + while (count < 3){ + if (abs(x1-x2) > 1 || abs(y1-y2) > 1 || (x1 == x2 && y1 == y2)){ + std::cout << "Incorrect coordinates. Enter new coordinates: " << std::endl; + std::cout << "x:"; + std::cin >> x2; + std::cout << "y:"; + std::cin >> y2; + count++; + } else { + break; + } + } + if (count == 3){ + std::cout << "Failed to find unit." << std::endl; + return; + } + gameField->attackUnit(x1, y1, x2, y2, base, enemyBase); + if (logger->getFormat() == 1) { + auto adapter = new Adapter(gameField); + adapter->setLogger(logger); + adapter->setLog(gameField->getLogString()); + adapter->print(); + } else { + logger->setLog(gameField->getLogString()); + logger->print(); + } + } +}; +#endif //OOP_ATTACKUNITCOMMAND_H diff --git a/8382/nakonechnaya/Commands/Command.h b/8382/nakonechnaya/Commands/Command.h new file mode 100644 index 000000000..ddc2380e9 --- /dev/null +++ b/8382/nakonechnaya/Commands/Command.h @@ -0,0 +1,14 @@ +#ifndef OOP_COMMAND_H +#define OOP_COMMAND_H +#include "../Loggers/LogProxy.h" +#include "../Loggers/Adapter.h" +#include "Rules.h" +#include + +class Command{ +public: + virtual ~Command(){}; + virtual void execute(GameField *gameField, Base *base, LogProxy *logger, Base *enemyBase) = 0; +}; + +#endif //OOP_COMMAND_H diff --git a/8382/nakonechnaya/Commands/CreateUnitCommand.h b/8382/nakonechnaya/Commands/CreateUnitCommand.h new file mode 100644 index 000000000..27c9c4fa6 --- /dev/null +++ b/8382/nakonechnaya/Commands/CreateUnitCommand.h @@ -0,0 +1,87 @@ +#ifndef OOP_CREATEUNITCOMMAND_H +#define OOP_CREATEUNITCOMMAND_H +#include "Command.h" +#include "GameException.h" + +class CreateUnitCommand : public Command{ +public: + void execute(GameField *gameField, Base *base, LogProxy *logger, Base *enemyBase) final { + std::cout << "1. Create Halberdier." << std::endl; + std::cout << "2. Create Skeleton." << std::endl; + std::cout << "3. Create Archer." << std::endl; + std::cout << "4. Create Lich." << std::endl; + std::cout << "5. Create Griffin." << std::endl; + std::cout << "6. Create Bone Dragon." << std::endl; + int choice; + std::cin >> choice; + if (choice < 1 || choice > 6){ + std::cout << "Incorrect choice." << std::endl; return; + } + int x, y; + + int count = 0; + while (count < 3){ + + std::cout << "New coordinate:\nx:"; + std::cin >> x; + std::cout << "y:"; + std::cin >> y; + if (x < 0 || y < 0 || x > gameField->getWidth()-1 || y > gameField->getHeight()-1){ + std::cout << "Incorrect coordinates." << std::endl; + throw GameException("CreateUnitCommand.cpp ", 1, "execute ", "Entered coordinates are outside the field\n"); + } + else if (base->getCoordinates()->x == x && base->getCoordinates()->y == y){ + std::cout << "Incorrect coordinates." << std::endl; + } + else if (enemyBase->getCoordinates()->x == x && enemyBase->getCoordinates()->y == y){ + std::cout << "Incorrect coordinates." << std::endl; + } + else if (abs(base->getCoordinates()->x - x) > 1 || abs(base->getCoordinates()->y - y) > 1){ + std::cout << "Too far. Enter new coordinates: " << std::endl; + std::cout << "x:"; + std::cin >> x; + std::cout << "y:"; + std::cin >> y; + } + else { + break; + } + count++; + } + if (count == 3){ + std::cout << "Failed to create unit." << std::endl; + return; + } + + switch (choice){ + case 1: + gameField->createUnit(HALBERDIER, x, y, base); + break; + case 2: + gameField->createUnit(SKELETON, x, y, base); + break; + case 3: + gameField->createUnit(ARCHER, x, y, base); + break; + case 4: + gameField->createUnit(LICH, x, y, base); + break; + case 5: + gameField->createUnit(GRIFFIN, x, y, base); + break; + case 6: + gameField->createUnit(BONE_DRAGON, x, y, base); + break; + } + if (logger->getFormat() == 1) { + auto adapter = new Adapter(gameField); + adapter->setLogger(logger); + adapter->setLog(gameField->getLogString()); + adapter->print(); + } else { + logger->setLog(gameField->getLogString()); + logger->print(); + } + } +}; +#endif //OOP_CREATEUNITCOMMAND_H diff --git a/8382/nakonechnaya/Commands/DeleteUnitCommand.h b/8382/nakonechnaya/Commands/DeleteUnitCommand.h new file mode 100644 index 000000000..f5fb0b267 --- /dev/null +++ b/8382/nakonechnaya/Commands/DeleteUnitCommand.h @@ -0,0 +1,29 @@ +#ifndef OOP_DELETEUNITCOMMAND_H +#define OOP_DELETEUNITCOMMAND_H +#include "Command.h" + +class DeleteUnitCommand : public Command{ +public: + void execute(GameField *gameField, Base *base, LogProxy *logger, Base *enemyBase) final { + int x, y; + std::cout << "Units coordinate:\nx:"; + std::cin >> x; + std::cout << "y:"; + std::cin >> y; + if (x < 0 || y < 0 || x > gameField->getWidth()-1 || y > gameField->getHeight() -1){ + std::cout << "Incorrect coordinates." << std::endl; return; + } + gameField->deleteUnit(x, y, base); + if (logger->getFormat() == 1) { + auto adapter = new Adapter(gameField); + adapter->setLogger(logger); + adapter->setLog(gameField->getLogString()); + adapter->print(); + } else { + logger->setLog(gameField->getLogString()); + logger->print(); + } + } +}; + +#endif //OOP_DELETEUNITCOMMAND_H diff --git a/8382/nakonechnaya/Commands/GameException.h b/8382/nakonechnaya/Commands/GameException.h new file mode 100644 index 000000000..b0d68041d --- /dev/null +++ b/8382/nakonechnaya/Commands/GameException.h @@ -0,0 +1,27 @@ +#ifndef OOP_GAMEEXCEPTION_H +#define OOP_GAMEEXCEPTION_H +#include +#include +using std::exception; +class GameException : public std::exception +{ + const char* _file; + int _flag; + const char* _func; + const char* _info; + +public: + GameException(const char* file, int flag, const char* func, const char* info = "") : + _file(file), + _flag(flag), + _func(func), + _info(info) + { + } + + const char* getFile() const { return _file; } + int getFlag() const { return _flag; } + const char* getFunc() const { return _func; } + const char* getInfo() const { return _info; } +}; +#endif //OOP_GAMEEXCEPTION_H diff --git a/8382/nakonechnaya/Commands/MoveUnitCommand.h b/8382/nakonechnaya/Commands/MoveUnitCommand.h new file mode 100644 index 000000000..a72d5cc9f --- /dev/null +++ b/8382/nakonechnaya/Commands/MoveUnitCommand.h @@ -0,0 +1,68 @@ +#ifndef OOP_MOVEUNITCOMMAND_H +#define OOP_MOVEUNITCOMMAND_H +#include "Command.h" + +class MoveUnitCommand : public Command{ +public: + void execute(GameField *gameField, Base *base, LogProxy *logger, Base *enemyBase) final { + int x1, y1; + std::cout << "Units coordinate:\nx:"; + std::cin >> x1; + std::cout << "y:"; + std::cin >> y1; + if (x1 < 0 || y1 < 0 || x1 > gameField->getWidth()-1 || y1 > gameField->getHeight() -1){ + std::cout << "Incorrect coordinates." << std::endl; return; + } + + if (base->getUnit(x1, y1) == nullptr){ + std::cout << "It is not your unit." << std::endl; + return; + } + + int x2, y2; + + int count = 0; + while (count < 3){ + std::cout << "New coordinate:\nx:"; + std::cin >> x2; + std::cout << "y:"; + std::cin >> y2; + if (x2 < 0 || y2 < 0 || x2 > gameField->getWidth()-1 || y2 > gameField->getHeight() -1){ + std::cout << "Incorrect coordinates." << std::endl; + } + else if (base->getCoordinates()->x == x2 && base->getCoordinates()->y == y2){ + std::cout << "Incorrect coordinates." << std::endl; + } + else if (enemyBase->getCoordinates()->x == x2 && enemyBase->getCoordinates()->y == y2){ + std::cout << "Incorrect coordinates." << std::endl; + } + else if (abs(x1 - x2) > 1 || abs(y1 - y2) >1){ + std::cout << "Incorrect coordinates. Enter new coordinates: " << std::endl; + std::cout << "x:"; + std::cin >> x2; + std::cout << "y:"; + std::cin >> y2; + } + else { + break; + } + count++; + } + if (count == 3){ + std::cout << "Failed to create unit." << std::endl; + return; + } + gameField->moveUnit(x1, y1, x2, y2, base); + if (logger->getFormat() == 1) { + auto adapter = new Adapter(gameField); + adapter->setLogger(logger); + adapter->setLog(gameField->getLogString()); + adapter->print(); + } else { + logger->setLog(gameField->getLogString()); + logger->print(); + } + } +}; + +#endif //OOP_MOVEUNITCOMMAND_H diff --git a/8382/nakonechnaya/Commands/Rules.h b/8382/nakonechnaya/Commands/Rules.h new file mode 100644 index 000000000..fbdde82d7 --- /dev/null +++ b/8382/nakonechnaya/Commands/Rules.h @@ -0,0 +1,74 @@ +#ifndef OOP_RULES_H +#define OOP_RULES_H +#include "../GameField.h" + +enum START_CONDITION {ANGLE, CENTER}; // базы в углах или в центре +enum VICTORY_CONDITION {BASE, UNITS}; // уничтожить либо базу, либо всех юнитов + +class Rules { +public: + virtual START_CONDITION getStartCondition() = 0; + virtual VICTORY_CONDITION getVictoryCondition() = 0; + virtual int getCurrentGamer() = 0; + virtual bool isWin(Base *base) = 0; +}; + +class DamageBase : public Rules { +public: + explicit DamageBase() : currentGamer(0), firstTurn(true) {}; + START_CONDITION getStartCondition() override { + return CENTER; + } + VICTORY_CONDITION getVictoryCondition() override { + return BASE; + } + int getCurrentGamer() override { + firstTurn = false; + if (currentGamer == 0){ + currentGamer = 1; + return 0; + } else if (currentGamer == 1){ + currentGamer = 0; + return 1; + } + }; + bool isWin(Base *base) override{ + return !base->isExist(); // true, если база уже не существует + } + +private: + int currentGamer; + bool firstTurn; +}; + +class KillUnits : public Rules { +public: + explicit KillUnits() : currentGamer(0), firstTurn(true){}; + START_CONDITION getStartCondition() override { + return ANGLE; + } + VICTORY_CONDITION getVictoryCondition() override { + return UNITS; + } + int getCurrentGamer() override { + if (currentGamer == 0){ + currentGamer = 1; + return 0; + } else if (currentGamer == 1){ + currentGamer = 0; + return 1; + } + }; + bool isWin(Base *base) override{ + if (firstTurn){ + firstTurn = false; + return false; + } + return base->getUnits().empty(); + } +private: + int currentGamer; + bool firstTurn; +}; + +#endif //OOP_RULES_H diff --git a/8382/nakonechnaya/Commands/StartGameCommand.h b/8382/nakonechnaya/Commands/StartGameCommand.h new file mode 100644 index 000000000..95d11d454 --- /dev/null +++ b/8382/nakonechnaya/Commands/StartGameCommand.h @@ -0,0 +1,30 @@ +#ifndef OOP_STARTGAMECOMMAND_H +#define OOP_STARTGAMECOMMAND_H +#include "Command.h" + +class StartGameCommand : public Command{ +public: + void execute(GameField *gameField, Base *base, LogProxy *logger, Base *enemyBase) final{ + int widht, height; + std::cout << "Width (min 3 and max 20):" << std::endl; + std::cin >> widht; + std::cout << "Height (min 3 ans max 20):" << std::endl; + std::cin >> height; + if (widht < 3){ + std::cout << "Incorrect width" << std::endl; + logger->setLog("The field with a width = 20 and a height = 20 was created."); + logger->print(); + return; + } + if (height < 3){ + std::cout << "Incorrect height" << std::endl; + logger->setLog("The field with a width = 20 and a height = 20 was created."); + logger->print(); + return; + } + gameField->setSize(widht, height); + logger->setLog("The field with a width = " + std::to_string(widht) + " and a height = " + std::to_string(height) + " was created."); + logger->print(); + } +}; +#endif //OOP_STARTGAMECOMMAND_H diff --git a/8382/nakonechnaya/Commands/UnitsAttributesCommand.h b/8382/nakonechnaya/Commands/UnitsAttributesCommand.h new file mode 100644 index 000000000..d9a50df18 --- /dev/null +++ b/8382/nakonechnaya/Commands/UnitsAttributesCommand.h @@ -0,0 +1,23 @@ +#ifndef OOP_UNITSATTRIBUTESCOMMAND_H +#define OOP_UNITSATTRIBUTESCOMMAND_H +#include "Command.h" + +class UnitsAttributesCommand : public Command{ +public: + void execute(GameField *gameField, Base *base, LogProxy *logger, Base *enemyBase) final { + int x, y; + std::cout << "Units coordinates:\nx:"; + std::cin >> x; + std::cout << "y:"; + std::cin >> y; + if (x < 0 || y < 0 || x > gameField->getWidth()-1 || y > gameField->getHeight() -1){ + std::cout << "Incorrect coordinates." << std::endl; return; + } + if (base->getUnit(x, y) == nullptr){ + std::cout << "It is not your unit." << std::endl; + return; + } + gameField->getCell(x, y)->getUnit()->printAttributeValues(); + } +}; +#endif //OOP_UNITSATTRIBUTESCOMMAND_H diff --git a/8382/nakonechnaya/Facade.cpp b/8382/nakonechnaya/Facade.cpp new file mode 100644 index 000000000..d6c45c8c1 --- /dev/null +++ b/8382/nakonechnaya/Facade.cpp @@ -0,0 +1,14 @@ +#include "Facade.h" + +void Facade::startGame(Rules *rules) { + manager->startGame(rules); +} + +void Facade::makeAction() { + manager->printMenu(); + manager->makeChoice(); +} + +void Facade::createGamer() { + manager->createGamer(); +} \ No newline at end of file diff --git a/8382/nakonechnaya/Facade.h b/8382/nakonechnaya/Facade.h new file mode 100644 index 000000000..b524e78c4 --- /dev/null +++ b/8382/nakonechnaya/Facade.h @@ -0,0 +1,19 @@ +#ifndef OOP_FACADE_H +#define OOP_FACADE_H +#include "Manager.h" + +class Facade { +public: + explicit Facade(){ + manager = new Manager; + }; + void startGame(Rules *rules); + void makeAction(); + void createGamer(); + ~Facade() { + delete manager; + }; +protected: + Manager *manager; +}; +#endif //OOP_FACADE_H diff --git a/8382/nakonechnaya/FieldCell.cpp b/8382/nakonechnaya/FieldCell.cpp new file mode 100644 index 000000000..abcb0a495 --- /dev/null +++ b/8382/nakonechnaya/FieldCell.cpp @@ -0,0 +1,65 @@ +#include "FieldCell.h" +FieldCell::FieldCell(){ + unit = nullptr; + base = false; + object = nullptr; + + int randomLand = rand() % 4; + setLandscape(randomLand); + + int randomObj = rand() % 8; + setObject(randomObj); +} + + +void FieldCell::setLandscape(int land) { + switch (land){ + case 0: { + landscape = new Grass; + break; + } + case 1:{ + landscape = new Mountains; + break; + } + case 2:{ + landscape = new Forest; + break; + } + case 3:{ + landscape = new Swamp; + break; + } + default: + break; + } +} + +void FieldCell::setObject(int obj) { + switch (obj) { + case 0: { + object = new Bar; + break; + } + case 1: { + object = new Hospital; + break; + } + case 2: { + object = new Shop; + break; + } + case 3:{ + object = new TrainingBase; + break; + } + default: + break; + } +} + +void FieldCell::setCoordinates(int x, int y) { + coordinates = new Coordinates; + coordinates->x = x; + coordinates->y = y; +} diff --git a/8382/nakonechnaya/FieldCell.h b/8382/nakonechnaya/FieldCell.h new file mode 100644 index 000000000..65ba3b413 --- /dev/null +++ b/8382/nakonechnaya/FieldCell.h @@ -0,0 +1,47 @@ +#ifndef OOP_FIELDCELL_H +#define OOP_FIELDCELL_H +#include "landscapes/Forest.h" +#include "landscapes/Grass.h" +#include "landscapes/Mountains.h" +#include "landscapes/Swamp.h" +#include "landscapes/Proxy.h" + +#include "Objects/units/FootTroops/Halberdier.h" +#include "Objects/units/FootTroops/Skeleton.h" +#include "Objects/units/RangedTroops/Archer.h" +#include "Objects/units/RangedTroops/Lich.h" +#include "Objects/units/FlyingTroops/Griffin.h" +#include "Objects/units/FlyingTroops/BoneDragon.h" + +#include "Objects/neutralObjects/Bar.h" +#include "Objects/neutralObjects/Hospital.h" +#include "Objects/neutralObjects/Shop.h" +#include "Objects/neutralObjects/TrainingBase.h" + +class FieldCell { +public: + explicit FieldCell(); + explicit FieldCell(int land, int obj, bool base, Unit *unit1); + bool isEmpty() { return unit == nullptr; }; + bool isObject() { return object != nullptr; }; + void setUnit(Unit *unit1) {this->unit = unit1;}; + Unit *getUnit() {return unit;}; + void setBase() {base = true;}; + bool isBase() {return base;}; + void setCoordinates(int x, int y); + Coordinates *getCoordinates() {return coordinates;}; + NeutralObject *getObject() {return object;}; + void deleteUnit(int flag=0) {if (!flag) {delete unit;}; unit = nullptr;}; // если перемещение, то просто nullptr + Landscape *getLandscape() { return landscape;}; + void deleteObject(){delete object; object = nullptr;}; + void setLandscape(int land); + void setObject(int obj); + void deleteBase(){base = false;}; +private: + Unit *unit; + Landscape *landscape; + NeutralObject *object; + bool base; + Coordinates *coordinates; +}; +#endif //OOP_FIELDCELL_H diff --git a/8382/nakonechnaya/Game.h b/8382/nakonechnaya/Game.h new file mode 100644 index 000000000..38df2ca41 --- /dev/null +++ b/8382/nakonechnaya/Game.h @@ -0,0 +1,19 @@ +#ifndef OOP_GAME_H +#define OOP_GAME_H +#include "Facade.h" + +template +class Game { +public: + explicit Game(Rule *rules) : rules(rules) { + facade = new Facade(); + }; + void startGame() { + facade->startGame(rules); + facade->makeAction();} + ~Game() = default; +private: + Rule *rules; + Facade *facade; +}; +#endif //OOP_GAME_H diff --git a/8382/nakonechnaya/GameField.cpp b/8382/nakonechnaya/GameField.cpp new file mode 100644 index 000000000..7f3ccbf21 --- /dev/null +++ b/8382/nakonechnaya/GameField.cpp @@ -0,0 +1,143 @@ +#include "GameField.h" + +GameField::GameField(int width, int height) : width(width), height(height) { + gameField = new FieldCell * [height]; + for (int i = 0; i < height; i++) + gameField[i] = new FieldCell[width]; + numUnits = 0; + for (int i = 0; i < height; i++) + for (int j = 0; j < width; j++) + gameField[i][j].setCoordinates(i, j); +} + +void GameField::createUnit(UnitName unitName, int x, int y, Base *base){ + if (numUnits >= MAX_UNITS){ + std::cout << "You can't create new unit. Too much units." << std::endl; + return; + } + + if (!gameField[x][y].isEmpty()){ + std::cout << "This cell is not empty." << std::endl; + return; + } + + base->createUnit(&gameField[x][y], unitName); + numUnits++; + logString = base->getLogString(); +} + +void GameField::deleteUnit(int x, int y, Base *base) { + + if (gameField[x][y].isEmpty()){ + std::cout << "This cell is empty." << std::endl; + return; + } + + base->deleteUnit(&gameField[x][y]); + logString = base->getLogString(); + gameField[x][y].deleteUnit(); + numUnits--; +} + +void GameField::moveUnit(int x1, int y1, int x2, int y2, Base *base) { + + if (gameField[x1][y1].isEmpty()){ + std::cout << "This cell is empty." << std::endl; + return; + } + if (!(gameField[x2][y2].isEmpty())){ + std::cout << "This cell is not empty." << std::endl; + return; + } + + base->moveUnit(&gameField[x2][y2], &gameField[x1][y1]); + logString = base->getLogString(); +} + +void GameField::setBase(int x, int y) { + if (gameField[x][y].isObject()) + gameField[x][y].deleteObject(); + gameField[x][y].setBase(); +} + +void GameField::attackUnit(int x1, int y1, int x2, int y2, Base *base, Base *enemyBase) { + if (gameField[x1][y1].isEmpty()){ + std::cout << "This cell is empty." << std::endl; + return; + } + if ((gameField[x2][y2].isEmpty())){ + if (!gameField[x2][y2].isBase()){ + std::cout << "No unit to attack." << std::endl; + return; + } + } + + if (base->getUnit(x1, y1) == nullptr){ + std::cout << "The base doesnt have access to attacking unit." << std::endl; + return; + } + + if (enemyBase->getUnit(x2, y2) == nullptr){ + std::cout << "You cant attack your own unit." << std::endl; + return; + } + + base->attackUnit(&gameField[x1][y1], &gameField[x2][y2], enemyBase); + if (gameField[x2][y2].isEmpty()) + numUnits--; + if (gameField[x1][y1].isEmpty()) + numUnits--; + logString = base->getLogString(); +} + +void GameField::attackBase(int x1, int y1, int x2, int y2, Base *base, Base *enemyBase) { + if (gameField[x1][y1].isEmpty()){ + std::cout << "This cell is empty." << std::endl; + return; + } + + if (base->getUnit(x1, y1) == nullptr){ + std::cout << "The base doesnt have access to attacking unit." << std::endl; + return; + } + + base->attackEnemyBase(&gameField[x1][y1], &gameField[x2][y2], enemyBase); + if (gameField[x1][y1].isEmpty()) + numUnits--; + logString = base->getLogString(); +} + + +void GameField::makeActionWithObj(int x, int y) { + if (!(gameField[x][y].isObject())){ + std::cout << "No objects" << std::endl; + return; + } + if (gameField[x][y].isEmpty()){ + std::cout << "No unit" << std::endl; + return; + } + + *(gameField[x][y].getUnit()) += *(gameField[x][y].getObject()); + + logString = "Unit from cell ("; + logString += (std::to_string(gameField[x][y].getUnit()->getCoordinates()->x) + ","); + logString += (std::to_string(gameField[x][y].getUnit()->getCoordinates()->y) + ") visited the "); + switch (gameField[x][y].getObject()->getObjName()){ + case BAR: + logString += "bar "; + break; + case HOSPITAL: + logString += "hospital "; + break; + case SHOP: + logString += "shop "; + break; + case TRAIN: + logString += "training base "; + break; + } + logString += "from cell ("; + logString += (std::to_string(gameField[x][y].getCoordinates()->x) + ","); + logString += (std::to_string(gameField[x][y].getCoordinates()->y) + ")."); +} \ No newline at end of file diff --git a/8382/nakonechnaya/GameField.h b/8382/nakonechnaya/GameField.h new file mode 100644 index 000000000..f8c427c60 --- /dev/null +++ b/8382/nakonechnaya/GameField.h @@ -0,0 +1,30 @@ +#ifndef OOP_GAMEFIELD_H +#define OOP_GAMEFIELD_H +#include "Objects/Base.h" +#define MAX_UNITS 10 + +class GameField { +public: + explicit GameField(int width=20, int height=20); + ~GameField() {}; + void setSize(int w, int h) {width = w; height = h;}; + int getWidth() { return width;}; + int getHeight() {return height;}; + void createUnit(UnitName unitName, int x, int y, Base *base); + void deleteUnit(int x, int y, Base *base); + void moveUnit(int x1, int y1, int x2, int y2, Base *base); + FieldCell *getCell(int x, int y) {return &gameField[x][y];}; + void setBase(int x, int y); + void attackUnit(int x1, int y1, int x2, int y2, Base *base, Base *enemyBase); + void attackBase(int x1, int y1, int x2, int y2, Base *base, Base *enemyBase); + void makeActionWithObj(int x, int y); + std::string getLogString() {return logString;}; + int getNumUnits() { return numUnits;}; +private: + int width; + int height; + FieldCell **gameField; + int numUnits; + std::string logString; +}; +#endif //OOP_GAMEFIELD_H diff --git a/8382/nakonechnaya/Gamer.h b/8382/nakonechnaya/Gamer.h new file mode 100644 index 000000000..a62703146 --- /dev/null +++ b/8382/nakonechnaya/Gamer.h @@ -0,0 +1,14 @@ +#ifndef OOP_GAMER_H +#define OOP_GAMER_H +#include "Objects/Base.h" +#include +#include + +class Gamer { +public: + explicit Gamer(std::string name) : name(std::move(name)) {}; + std::string getGamerName() {return name;}; +private: + std::string name; +}; +#endif //OOP_GAMER_H diff --git a/8382/nakonechnaya/Loggers/Adapter.cpp b/8382/nakonechnaya/Loggers/Adapter.cpp new file mode 100644 index 000000000..dd2158a49 --- /dev/null +++ b/8382/nakonechnaya/Loggers/Adapter.cpp @@ -0,0 +1,15 @@ +#include "Adapter.h" + +void Adapter::setLog(std::string logString) { + if (!logger) + return; + logger->setLog(logString); + std::string log = "\nField status:\nCells without units: " + std::to_string(field->getHeight()*field->getWidth() - field->getNumUnits()) + "\n"; + logger->addLog(log); +} + +void Adapter::addLog(std::string logString) { + if (!logger) + return; + logger->addLog(logString); +} \ No newline at end of file diff --git a/8382/nakonechnaya/Loggers/Adapter.h b/8382/nakonechnaya/Loggers/Adapter.h new file mode 100644 index 000000000..be4360788 --- /dev/null +++ b/8382/nakonechnaya/Loggers/Adapter.h @@ -0,0 +1,19 @@ +#ifndef OOP_ADAPTER_H +#define OOP_ADAPTER_H +#include "Logger.h" +#include "../GameField.h" + +class Adapter: public Logger { +public: + explicit Adapter(GameField *field) : field(field), logger(nullptr){}; + void print() final {logger->print();}; + void setLogger(Logger *logger1) {this->logger = logger1;}; + void addLog(std::string logString) final; + void setLog(std::string logString) final; + void setFormat(int format) final {}; + int getFormat() final {}; +private: + Logger *logger; + GameField *field; +}; +#endif //OOP_ADAPTER_H diff --git a/8382/nakonechnaya/Loggers/FileLogger.cpp b/8382/nakonechnaya/Loggers/FileLogger.cpp new file mode 100644 index 000000000..b67d96605 --- /dev/null +++ b/8382/nakonechnaya/Loggers/FileLogger.cpp @@ -0,0 +1,13 @@ +#include "FileLogger.h" + +void FileLogger::print() { + if (out.is_open()){ + count++; + out << *this << std::endl; + } +} + +std::ostream& operator<< (std::ostream &out, const FileLogger &logger){ + out << logger.count << " [" << logger.fileName << "] : " << logger.log; + return out; +} \ No newline at end of file diff --git a/8382/nakonechnaya/Loggers/FileLogger.h b/8382/nakonechnaya/Loggers/FileLogger.h new file mode 100644 index 000000000..66e0715bc --- /dev/null +++ b/8382/nakonechnaya/Loggers/FileLogger.h @@ -0,0 +1,24 @@ +#ifndef OOP_FILELOGGER_H +#define OOP_FILELOGGER_H +#include "Logger.h" +#include +#include "fstream" + +class FileLogger : public Logger{ +public: + explicit FileLogger(std::string name) : fileName(name), count(0){ out.open(fileName, std::ios::app);}; + ~FileLogger() {out.close();}; + void print() final; + void setLog(std::string logString) final {this->log = logString;}; + void addLog(std::string logString) final {log += logString;}; + void setFormat(int format) final {this->format = format;}; + int getFormat() final { return format;}; + friend std::ostream& operator<< (std::ostream &out, const FileLogger &logger); +private: + std::string fileName; + std::ofstream out; + std::string log; + int count; + int format; +}; +#endif //OOP_FILELOGGER_H diff --git a/8382/nakonechnaya/Loggers/LogProxy.cpp b/8382/nakonechnaya/Loggers/LogProxy.cpp new file mode 100644 index 000000000..b8c9c8c3d --- /dev/null +++ b/8382/nakonechnaya/Loggers/LogProxy.cpp @@ -0,0 +1,19 @@ +#include "LogProxy.h" + +LogProxy::LogProxy(LoggerType loggerType) { + switch (loggerType){ + case FILE_LOG: { + std::cout << "File name:" << std::endl; + std::string name; + std::cin >> name; + logger = new FileLogger(name); + break; + } + case TERMINAL_LOG: + logger = new TerminalLogger; + break; + case NO_LOG: + logger = new NoLogger; + break; + } +} \ No newline at end of file diff --git a/8382/nakonechnaya/Loggers/LogProxy.h b/8382/nakonechnaya/Loggers/LogProxy.h new file mode 100644 index 000000000..411bd2a0f --- /dev/null +++ b/8382/nakonechnaya/Loggers/LogProxy.h @@ -0,0 +1,19 @@ +#ifndef OOP_LOGPROXY_H +#define OOP_LOGPROXY_H +#include "NoLogger.h" +#include "FileLogger.h" +#include "TerminalLogger.h" + +class LogProxy : public Logger{ +public: + explicit LogProxy(LoggerType loggerType); + ~LogProxy() = default; + void print() final {if (logger) logger->print();}; + void setLog(std::string logString) final {logger->setLog(logString);}; + void addLog(std::string logString) final {logger->addLog(logString);}; + void setFormat(int format) final {logger->setFormat(format);}; + int getFormat() final { return logger->getFormat();}; +private: + Logger *logger; +}; +#endif //OOP_LOGPROXY_H diff --git a/8382/nakonechnaya/Loggers/Logger.h b/8382/nakonechnaya/Loggers/Logger.h new file mode 100644 index 000000000..66c26ed47 --- /dev/null +++ b/8382/nakonechnaya/Loggers/Logger.h @@ -0,0 +1,17 @@ +#ifndef OOP_LOGGER_H +#define OOP_LOGGER_H +#include +#include + +enum LoggerType {NO_LOG, FILE_LOG, TERMINAL_LOG}; + +class Logger { +public: + ~Logger() = default; + virtual void print() = 0; + virtual void setLog(std::string logString) = 0; + virtual void addLog(std::string logString) = 0; + virtual void setFormat(int format) = 0; + virtual int getFormat() = 0; +}; +#endif //OOP_LOGGER_H diff --git a/8382/nakonechnaya/Loggers/NoLogger.h b/8382/nakonechnaya/Loggers/NoLogger.h new file mode 100644 index 000000000..bba9d8289 --- /dev/null +++ b/8382/nakonechnaya/Loggers/NoLogger.h @@ -0,0 +1,13 @@ +#ifndef OOP_NOLOGGER_H +#define OOP_NOLOGGER_H +#include "Logger.h" + +class NoLogger : public Logger{ +public: + void setLog(std::string log) final {}; + void print() final {}; + void addLog(std::string logString) final {}; + void setFormat(int format) final {}; + int getFormat() final { return 0;}; +}; +#endif //OOP_NOLOGGER_H diff --git a/8382/nakonechnaya/Loggers/TerminalLogger.cpp b/8382/nakonechnaya/Loggers/TerminalLogger.cpp new file mode 100644 index 000000000..2086c5593 --- /dev/null +++ b/8382/nakonechnaya/Loggers/TerminalLogger.cpp @@ -0,0 +1,11 @@ +#include "TerminalLogger.h" + +void TerminalLogger::print() { + count++; + std::cout << *this << std::endl; +} + +std::ostream& operator<< (std::ostream &out, const TerminalLogger &logger){ + out << logger.count << " [TERMINAL] : " << logger.log; + return out; +} \ No newline at end of file diff --git a/8382/nakonechnaya/Loggers/TerminalLogger.h b/8382/nakonechnaya/Loggers/TerminalLogger.h new file mode 100644 index 000000000..33f507055 --- /dev/null +++ b/8382/nakonechnaya/Loggers/TerminalLogger.h @@ -0,0 +1,19 @@ +#ifndef OOP_TERMINALLOGGER_H +#define OOP_TERMINALLOGGER_H +#include "Logger.h" + +class TerminalLogger : public Logger{ +public: + TerminalLogger() : count(0) {}; + void print() final; + void setLog(std::string logString) final {this->log = logString;}; + void addLog(std::string logString) final {log += logString;}; + void setFormat(int format) final {this->format = format;}; + int getFormat() final { return format;}; + friend std::ostream& operator<< (std::ostream &out, const TerminalLogger &logger); +private: + std::string log; + int count; + int format; +}; +#endif //OOP_TERMINALLOGGER_H diff --git a/8382/nakonechnaya/Manager.cpp b/8382/nakonechnaya/Manager.cpp new file mode 100644 index 000000000..44f9bd12e --- /dev/null +++ b/8382/nakonechnaya/Manager.cpp @@ -0,0 +1,521 @@ +#include "Manager.h" + +void Manager::startGame(Rules *rules1) { + rules = rules1; + std::cout << "Continue other game?\n1 - Yes\nOther - No" << std::endl; + int choice; + std::cin >> choice; + if (choice == 1){ + while(true){ + std::cout << "Enter path for state doc: (to create new game enter '+')" << std::endl; + std::string statePath; + std::cin >> statePath; + if (statePath == "+") + break; + auto memento = new Memento(statePath); + memento->loadGameFromDoc(); + if (memento->getCorrectFlag()){ + loadGame(memento, true); + std::cout << "Game is load." << std::endl; + return; + } + else { + std::cout << "Not right format." << std::endl; + } + } + } + + std::cout << "===First gamer===" << std::endl; + createGamer(); + std::cout << "===Second gamer:===" << std::endl; + createGamer(); + + startCommand = new StartGameCommand; + setLogger(); + startCommand->execute(gameField, nullptr, proxy, nullptr); + setBases(); + printField(); +} + +void Manager::setBases() { + + if (!bases.empty()){ + for (auto & base : bases){ + (gameField->getCell(base.second->getCoordinates()->x, base.second->getCoordinates()->y))->deleteBase(); + bases[base.first]->deleteBase(); + } + } + + std::vector gamerNames; + for (auto & gamer : bases) + gamerNames.push_back(gamer.first); + + switch (rules->getStartCondition()){ + case ANGLE: { + gameField->setBase(0, 0); + bases[gamerNames.front()]->setCoordinates(0, 0); + bases[gamerNames.front()]->setExistVal(); + proxy->setLog("The base of " + gamerNames.front()->getGamerName() + " is set in a cell (0,0)"); + std::cout << "The base of " << gamerNames.front()->getGamerName() << " is set in a cell (0,0)" << std::endl; + proxy->print(); + int x = gameField->getWidth() - 1; + int y = gameField->getHeight() - 1; + gameField->setBase(x, y); + bases[gamerNames.back()]->setCoordinates(x, y); + bases[gamerNames.back()]->setExistVal(); + proxy->setLog( + "The base of " + gamerNames.back()->getGamerName() + " is set in a cell (" + std::to_string(x) + + "," + std::to_string(y) + ")"); + std::cout << "The base of " << gamerNames.back()->getGamerName() << " is set in a cell (" << x << "," << y << ")" << std::endl; + break; + } + case CENTER: { + int x = (gameField->getWidth()-1)/2-1; + int y = (gameField->getHeight()-1)/2-1; + if (y == 0){ + y++; + } + gameField->setBase(x, y); + bases[gamerNames.front()]->setCoordinates(x, y); + bases[gamerNames.front()]->setExistVal(); + proxy->setLog( + "The base of " + gamerNames.front()->getGamerName() + " is set in a cell (" + std::to_string(x) + + "," + std::to_string(y) + ")"); + std::cout << "The base of " << gamerNames.front()->getGamerName() << " is set in a cell (" << x << "," << y << ")" << std::endl; + proxy->print(); + x = (gameField->getWidth()-1)/2+1; + y = (gameField->getHeight()-1)/2+1; + gameField->setBase(x, y); + bases[gamerNames.back()]->setCoordinates(x, y); + bases[gamerNames.back()]->setExistVal(); + proxy->setLog( + "The base of " + gamerNames.back()->getGamerName() + " is set in a cell (" + std::to_string(x) + + "," + std::to_string(y) + ")"); + std::cout << "The base of " << gamerNames.back()->getGamerName() << " is set in a cell (" << x << "," << y << ")" << std::endl; + break; + } + } + proxy->print(); +} + +void Manager::setLogger(){ + std::cout << "Write logs in:" << std::endl; + std::cout << "1: File\n2: Terminal\nother: No need to write logs" << std::endl; + int choice; + std::cin >> choice; + switch (choice){ + case 1: + proxy = new LogProxy(FILE_LOG); + break; + case 2: + proxy = new LogProxy(TERMINAL_LOG); + break; + default: + proxy = new LogProxy(NO_LOG); + break; + } + if (choice == 1 || choice == 2){ + std::cout << "With writing field status?" << std::endl; + std::cout << "1: With writing\nother: Without writing" << std::endl; + std::cin >> choice; + if (choice == 1){ + proxy->setFormat(1); + } else { + proxy->setFormat(0); + } + } +} + +void Manager::printMenu() { + + std::cout << "====================" << std::endl; + std::cout << "1. Create new unit." << std::endl; + // std::cout << "2. Delete unit." << std::endl; + std::cout << "3. Move unit." << std::endl; + std::cout << "4. Attack unit." << std::endl; + std::cout << "5. New action with object" << std::endl; + std::cout << "6. Print health of base." << std::endl; + std::cout << "7. Print units in base." << std::endl; + std::cout << "8. Print field." << std::endl; + std::cout << "9. Print units attributes." << std::endl; + std::cout << "10. Change logger." << std::endl; + std::cout << "11. Save this game." << std::endl; + std::cout << "12. Load last saved game." << std::endl; + std::cout << "13. Print base coordinates." << std::endl; + std::cout << "14. Attack enemy base." << std::endl; + std::cout << "20. Start new game." << std::endl; + std::cout << "0. Finish this game." << std::endl; + std::cout << "====================" << std::endl; +} + +void Manager::makeChoice() { + int flag = 0; + int choice = 1; + bool next = true; + int currentGamer = 1; + int enemy = 0; + while (choice > 0){ + if (next){ + enemy = currentGamer; + currentGamer = rules->getCurrentGamer(); + } + std::cout << gamers[currentGamer]->getGamerName() << "'s turn:" << std::endl; + std::cin >> choice; + switch (choice){ + case 1: + if (!(bases[gamers[currentGamer]]->isExist())){ + std::cout << "No base to create new unit." << std::endl; + next = false; + break; + } + createUnitCommand = new CreateUnitCommand; + proxy->setLog(gamers[currentGamer]->getGamerName() + " creates new unit."); + proxy->print(); + try { + createUnitCommand->execute(gameField, bases[gamers[currentGamer]], proxy, bases[gamers[enemy]]); + } + catch(GameException a){ + std::cout << "File: " << a.getFile(); + std::cout << "Function: " << a.getFunc(); + std::cout << "Info: " << a.getInfo(); + flag = a.getFlag(); + } + next = true; + if (!flag) { + if (checkWin(currentGamer, enemy)) { + return; + } + } + break; + + case 2: + deleteUnitCommand = new DeleteUnitCommand; + proxy->setLog(gamers[currentGamer]->getGamerName() + " deletes unit."); + proxy->print(); + deleteUnitCommand->execute(gameField, bases[gamers[currentGamer]], proxy, bases[gamers[enemy]]); + next = true; + if (checkWin(enemy, currentGamer)){ + return; + } + break; + case 3: + moveUnitCommand = new MoveUnitCommand; + proxy->setLog(gamers[currentGamer]->getGamerName() + " moves unit."); + proxy->print(); + moveUnitCommand->execute(gameField, bases[gamers[currentGamer]], proxy, bases[gamers[enemy]]); + next = true; + break; + case 4: + attackUnitCommand = new AttackUnitCommand; + proxy->setLog(gamers[currentGamer]->getGamerName() + " want to attacks another unit."); + proxy->print(); + attackUnitCommand->execute(gameField, bases[gamers[currentGamer]], proxy, bases[gamers[enemy]]); + next = true; + if (checkWin(currentGamer, enemy)){ + return; + } + break; + case 5: + actionWithObjectCommand = new ActionWithObjectCommand; + proxy->setLog(gamers[currentGamer]->getGamerName() + " wants to make action of his unit with the object."); + proxy->print(); + actionWithObjectCommand->execute(gameField, bases[gamers[currentGamer]], proxy, bases[gamers[enemy]]); + next = true; + if (checkWin(currentGamer, enemy)){ + return; + } + break; + case 6: + proxy->setLog(gamers[currentGamer]->getGamerName() + " prints the health of his base."); + proxy->print(); + if (bases[gamers[currentGamer]]->isExist()){ + std::cout << "Base health:" << std::endl; + std::cout << bases[gamers[currentGamer]]->getHealth()->getValue() << std::endl; + } + else { + std::cout << "Base doesnt exists." << std::endl; + } + next = false; + break; + case 7: + proxy->setLog(gamers[currentGamer]->getGamerName() + " prints his units."); + proxy->print(); + bases[gamers[currentGamer]]->printUnits(); + next = false; + break; + case 8: + proxy->setLog(gamers[currentGamer]->getGamerName() + " prints game field."); + proxy->print(); + printField(); + next = false; + break; + case 9: + proxy->setLog(gamers[currentGamer]->getGamerName() + " prints units's attributes."); + proxy->print(); + unitsAttributesCommand = new UnitsAttributesCommand; + unitsAttributesCommand->execute(gameField, bases[gamers[currentGamer]], proxy, bases[gamers[enemy]]); + next = false; + break; + case 10: + proxy->setLog(gamers[currentGamer]->getGamerName() + " changes logger."); + proxy->print(); + delete proxy; + setLogger(); + next = false; + break; + case 11: + proxy->setLog(gamers[currentGamer]->getGamerName() + " saves the game."); + proxy->print(); + saveGame(); + next = false; + break; + case 12: { + proxy->setLog("User loads the last game."); + proxy->print(); + std::cout << "From doc or not?\n1 - from doc\nOther - not from doc" << std::endl; + int docChoice; + std::cin >> docChoice; + if (docChoice == 1) { + while(true){ + std::cout << "Enter path for state doc: (to undo action enter '-')" << std::endl; + std::string statePath; + std::cin >> statePath; + if (statePath == "-") + break; + auto memento = new Memento(statePath); + memento->loadGameFromDoc(); + if (memento->getCorrectFlag()){ + loadGame(memento, true); + std::cout << "Game is load." << std::endl; + break; + } + else { + std::cout << "Not right format." << std::endl; + } + } + break; + } + if (mementos.empty()) { + proxy->setLog("No saved games."); + proxy->print(); + break; + } + loadGame(mementos.back(), false); + mementos.pop_back(); + break; + } + case 13:{ + if (bases[gamers[currentGamer]]->isExist()){ + int name = currentGamer; + std::cout << "Base of gamer " << gamers[name]->getGamerName() << " have coordinates ("; + std::cout << bases[gamers[name]]->getCoordinates()->x << ","; + std::cout << bases[gamers[name]]->getCoordinates()->y << ")" << std::endl; + } + else { + std::cout << "Base doesnt exists." << std::endl; + } + next = false; + break; + } + case 14:{ + attackBaseCommand = new AttackBaseCommand; + proxy->setLog(gamers[currentGamer]->getGamerName() + " want to attacks enemy base."); + proxy->print(); + attackBaseCommand->execute(gameField, bases[gamers[currentGamer]], proxy, bases[gamers[enemy]]); + next = true; + if (checkWin(currentGamer, enemy)){ + return; + } + break; + } + case 20:{ + std::cout << "Rules:" << std::endl; + std::cout << "1: Kill units\n2: Damage bases\nother: auto(Kill units)" << std::endl; + int rule; + std::cin >> rule; + switch (rule){ + case 1:{ + rules = new KillUnits; + break; + } + case 2:{ + rules = new DamageBase; + break; + } + default: + rules = new KillUnits; + } + startCommand->execute(gameField, nullptr, proxy, nullptr); + setBases(); + printField(); + break; + } + } + if (choice != 0) + printMenu(); + } +} + +bool Manager::checkWin(int currentGamer, int enemy) { + if (rules->isWin(bases[gamers[enemy]])){ + std::cout << "===========! This is " << gamers[currentGamer]->getGamerName() << "'s VICTORY !===========" << std::endl; + proxy->setLog(gamers[currentGamer]->getGamerName() + " won."); + proxy->print(); + return true; + } + std::swap(currentGamer, enemy); + if (rules->isWin(bases[gamers[enemy]])){ + std::cout << "===========! This is " << gamers[currentGamer]->getGamerName() << "'s VICTORY !===========" << std::endl; + proxy->setLog(gamers[currentGamer]->getGamerName() + " won."); + proxy->print(); + return true; + } + return false; +} + +void Manager::printField() { + + int fieldHeight = gameField->getHeight(); + int fieldWidth = gameField->getWidth(); + + std::cout << "\n\tGame Field:\n"; + for (int i = 0; i < fieldHeight; i++) { + for (int k = 0; k < fieldWidth; k++) { + std::cout << "-------"; + } + + std::cout << std::endl; + + for (int j = 0; j < fieldWidth; j++) { + std::cout << "|"; + + std::cout << gameField->getCell(i, j)->getLandscape()->getName(); + std::cout << " "; + + if ((gameField->getCell(i, j))->isBase()){ + std::cout << "+"; + } + else if ((gameField->getCell(i, j))->isObject()) + std::cout << (gameField->getCell(i, j))->getObject()->getName(); + else + std::cout << " "; + + } + + std::cout << "|" << std::endl; + + for (int j = 0; j < fieldWidth; j++) { + + std::cout << "| "; + + if (!((gameField->getCell(i, j))->isEmpty())) + std::cout << (gameField->getCell(i, j))->getUnit()->getName(); + else + std::cout << " "; + + std::cout << " "; + } + + std::cout << "|" << std::endl; + + for (int j = 0; j < fieldWidth; j++) { + std::cout << "|"; + std::cout << " "; + } + std::cout << "|" << std::endl; + + + if (i == fieldHeight - 1) { + for (int k = 0; k < fieldWidth; k++) { + std::cout << "-------"; + } + } + } + std::cout << std::endl << std::endl; + +} + +void Manager::createGamer() { + std::cout << "Enter gamer name:" << std::endl; + std::string name; + std::cin >> name; + auto gamer = new Gamer(name); + bases[gamer] = new Base; + gamers[bases.size()-1] = gamer; +} + +void Manager::saveGame() { + std::cout << "Enter path (if you dont want to save game in a doc, enter '-'):" << std::endl; + std::string path; + std::cin >> path; + + auto memento = new Memento(path); + memento->saveGame(gameField, bases); + if (path == "-") + mementos.push_back(memento); +} + +void Manager::loadGame(Memento *memento, bool first) { + + auto gameState = new GameState; + gameState = memento->getGameState(); + + gameField = new GameField(gameState->size.first, gameState->size.second); + for (int i = 0; i < gameField->getHeight(); i++) + for (int j = 0; j < gameField->getWidth(); j++) + gameField->getCell(i, j)->deleteObject(); + + for (auto & land : gameState->lands){ + gameField->getCell(land.second->x, land.second->y)->setLandscape(land.first); + } + + for (auto & obj : gameState->objects){ + gameField->getCell(obj.second->x, obj.second->y)->setObject(obj.first); + } + + int gamersCount = 0; + for (auto & gamer : gameState->bases){ + + auto *currentGamer = new Gamer(gamer.first); + auto *currentBase = new Base; + + currentBase->setCoordinates(gamer.second->coordinates->x, gamer.second->coordinates->y); + gameField->getCell(gamer.second->coordinates->x, gamer.second->coordinates->y)->setBase(); + currentBase->setHealth(gamer.second->health); + + for (auto & unit : gamer.second->units){ + + switch (unit->UnitName){ + case 0: + gameField->createUnit(HALBERDIER, unit->coordinates->x, unit->coordinates->y, currentBase); + break; + case 1: + gameField->createUnit(SKELETON, unit->coordinates->x, unit->coordinates->y, currentBase); + break; + case 2: + gameField->createUnit(ARCHER, unit->coordinates->x, unit->coordinates->y, currentBase); + break; + case 3: + gameField->createUnit(LICH, unit->coordinates->x, unit->coordinates->y, currentBase); + break; + case 4: + gameField->createUnit(GRIFFIN, unit->coordinates->x, unit->coordinates->y, currentBase); + break; + case 5: + gameField->createUnit(BONE_DRAGON, unit->coordinates->x, unit->coordinates->y, currentBase); + break; + } + + currentBase->updateUnitAttributes(gameField->getCell(unit->coordinates->x, unit->coordinates->y), + unit->attack, unit->defense, unit->health); + } + + gamers[gamersCount] = currentGamer; + bases[currentGamer] = currentBase; + gamersCount++; + } + + if (first) + setLogger(); + printField(); +} diff --git a/8382/nakonechnaya/Manager.h b/8382/nakonechnaya/Manager.h new file mode 100644 index 000000000..849893c3b --- /dev/null +++ b/8382/nakonechnaya/Manager.h @@ -0,0 +1,49 @@ +#ifndef OOP_MANAGER_H +#define OOP_MANAGER_H +#include +#include +#include +#include "Commands/StartGameCommand.h" +#include "Commands/CreateUnitCommand.h" +#include "Commands/DeleteUnitCommand.h" +#include "Commands/MoveUnitCommand.h" +#include "Commands/AttackUnitCommand.h" +#include "Commands/UnitsAttributesCommand.h" +#include "Commands/ActionWithObjectCommand.h" +#include "Commands/AttackBaseCommand.h" +#include "Memento.h" + +class Manager { +public: + explicit Manager(){ + srand(time(NULL)); + gameField = new GameField; + proxy = nullptr; + }; + void startGame(Rules *rules); + void setBases(); + void printField(); + void printMenu(); + void makeChoice(); + void createGamer(); + void setLogger(); + void loadGame(Memento *memento, bool first); + void saveGame(); + bool checkWin(int, int); +private: + GameField *gameField; + std::map bases; + std::map gamers; + StartGameCommand *startCommand; + CreateUnitCommand *createUnitCommand; + DeleteUnitCommand *deleteUnitCommand; + MoveUnitCommand *moveUnitCommand; + AttackUnitCommand *attackUnitCommand; + UnitsAttributesCommand *unitsAttributesCommand; + ActionWithObjectCommand *actionWithObjectCommand; + AttackBaseCommand *attackBaseCommand; + LogProxy *proxy; + std::vector mementos; + Rules *rules; +}; +#endif //OOP_MANAGER_H diff --git a/8382/nakonechnaya/Memento.cpp b/8382/nakonechnaya/Memento.cpp new file mode 100644 index 000000000..885bc5c92 --- /dev/null +++ b/8382/nakonechnaya/Memento.cpp @@ -0,0 +1,291 @@ +#include "Memento.h" +void Memento::loadGameFromDoc() { + gameState = new GameState; + + if (!(stateDoc >> (gameState->size).first >> (gameState->size).second)){ + correct = false; + return; + } + if ((gameState->size).first < 1 || (gameState->size).second < 1){ + correct = false; + return; + } + + + int count = (gameState->size).first * (gameState->size).second; + while (count){ + + int landName; + auto *landCoordinates = new Coordinates; + stateDoc >> landName; + if (landName < 0 || landName > MAXLANDNAME){ + correct = false; + return; + } + stateDoc >> landCoordinates->x >> landCoordinates->y; + if (landCoordinates->x < 0 || landCoordinates->x >= gameState->size.first){ + correct = false; + return; + } + if (landCoordinates->y < 0 || landCoordinates->y >= gameState->size.second){ + correct = false; + return; + } + + gameState->lands.emplace_back(landName, landCoordinates); + count--; + } // land + + stateDoc >> count; + while (count){ + int objName; + auto *objCoordinates = new Coordinates; + if (!(stateDoc >> objName)){ + correct = false; + return; + } + if (objName < 0 || objName > MAXOBJNAME){ + correct = false; + return; + } + if (!(stateDoc >> objCoordinates->x >> objCoordinates->y)){ + correct = false; + return; + } + if (objCoordinates->x < 0 || objCoordinates->x >= gameState->size.first){ + correct = false; + return; + } + if (objCoordinates->y < 0 || objCoordinates->y >= gameState->size.second){ + correct = false; + return; + } + gameState->objects.emplace_back(objName, objCoordinates); + count--; + } // obj + + int countBases; + stateDoc >> countBases; + if (countBases < 1){ + correct = false; + return; + } + + while (countBases){ + std::string name; + if (!(stateDoc >> name)){ + correct = false; + return; + } + auto *currentBase = new BaseState; + auto *baseCoordinates = new Coordinates; + if (!(stateDoc >> baseCoordinates->x >> baseCoordinates->y)){ + correct = false; + return; + } + if (baseCoordinates->x < 0 || baseCoordinates->x >= gameState->size.first){ + correct = false; + return; + } + if (baseCoordinates->y < 0 || baseCoordinates->y >= gameState->size.second){ + correct = false; + return; + } + + currentBase->coordinates = baseCoordinates; + if (!(stateDoc >> currentBase->health)){ + correct = false; + return; + } + if (currentBase->health < 0){ + correct = false; + break; + } + if (!(stateDoc >> currentBase->numUnits)){ + correct = false; + return; + } + if (currentBase->numUnits < 0){ + correct = false; + return; + } + + int countUnit = currentBase->numUnits; + + while (countUnit){ + + auto* currentUnit = new UnitState; + if (!(stateDoc >> currentUnit->UnitName)){ + correct = false; + return; + } + if (currentUnit->UnitName > MAXUNITNAME){ + correct = false; + return; + } + + auto unitCoordinate = new Coordinates; + if (!(stateDoc >> unitCoordinate->x >> unitCoordinate->y)){ + correct = false; + return; + } + if (unitCoordinate->x < 0 || unitCoordinate->x >= gameState->size.first){ + correct = false; + return; + } + if (unitCoordinate->y < 0 || unitCoordinate->x >= gameState->size.second){ + correct = false; + return; + } + + currentUnit->coordinates = unitCoordinate; + if (!(stateDoc >> currentUnit->attack >> currentUnit->defense >> currentUnit->health)){ + correct = false; + return; + } + currentBase->units.push_back(currentUnit); + countUnit--; + } + gameState->bases[name] = currentBase; + countBases--; + } + + correct = true; +} + +void Memento::saveGame(GameField *gameField, std::map fieldBases) { + + bool statePath = true; + if (path == "-") + statePath = false; + + gameState = new GameState; + gameState->size = std::make_pair(gameField->getWidth(), gameField->getHeight()); + if (statePath){ + stateDoc << gameState->size.first << " " << gameState->size.second << std::endl; + } + + for (int i = 0; i < gameField->getHeight(); i++){ + for (int j = 0; j < gameField->getWidth(); j++){ + + auto *coordinates = new Coordinates; + coordinates->x = j; + coordinates->y = i; + int name; + switch (gameField->getCell(j, i)->getLandscape()->getLandName()){ + case GRASS: + name = 0; + break; + case MOUNTAINS: + name = 1; + break; + case FOREST: + name = 2; + break; + case SWAMP: + name = 3; + break; + } + gameState->lands.emplace_back(name, coordinates); + if (statePath) + stateDoc << name << " " << coordinates->x << " " << coordinates->y << std::endl; + + } + } // lands + + for (int i = 0; i < gameField->getHeight(); i++){ + for (int j = 0; j < gameField->getWidth(); j++){ + + if (!(gameField->getCell(j, i)->isObject())) + continue; + + auto *coordinates = new Coordinates; + coordinates->x = j; + coordinates->y = i; + int name; + + // {BAR, HOSPITAL, SHOP, TRAIN} + switch (gameField->getCell(j, i)->getObject()->getObjName()){ + case BAR: + name = 0; + break; + case HOSPITAL: + name = 1; + break; + case SHOP: + name = 2; + break; + case TRAIN: + name = 3; + break; + } + gameState->objects.emplace_back(name, coordinates); + } + } // objects + + if (statePath){ + int countObj = gameState->objects.size(); + stateDoc << countObj << std::endl; + for (auto & obj : gameState->objects){ + stateDoc << obj.first << " " << obj.second->x << " " << obj.second->y << std::endl; + } + } + + + int countBases = fieldBases.size(); + if (statePath) + stateDoc << countBases << std::endl; + + for (auto & base : fieldBases){ + + auto currentBase = new BaseState; + currentBase->coordinates = base.second->getCoordinates(); + currentBase->health = base.second->getHealth()->getValue(); + + if (statePath){ + stateDoc << base.first->getGamerName() << std::endl; + stateDoc << currentBase->coordinates->x << " " << currentBase->coordinates->y << std::endl; + stateDoc << currentBase->health << std::endl; + stateDoc << base.second->getUnits().size() << std::endl; + } + + for (auto & unit : base.second->getUnits()){ + auto *currentUnit = new UnitState; + currentUnit->coordinates = unit->getCoordinates(); + //{INFANTRY, GUARDSMEN, FIGHTER, SCOUT, CANNON, TANK} + switch (unit->getUnitName()){ + case HALBERDIER: + currentUnit->UnitName = 0; + break; + case SKELETON: + currentUnit->UnitName = 1; + break; + case ARCHER: + currentUnit->UnitName = 2; + break; + case LICH: + currentUnit->UnitName = 3; + break; + case GRIFFIN: + currentUnit->UnitName = 4; + break; + case BONE_DRAGON: + currentUnit->UnitName = 5; + break; + } + currentUnit->health = unit->getHealthValue(); + currentUnit->attack = unit->getAttackValue(); + currentUnit->defense = unit->getDefenseValue(); + currentBase->units.push_back(currentUnit); + if (statePath){ + stateDoc << currentUnit->UnitName << " " << currentUnit->coordinates->x << " " << currentUnit->coordinates->y; + stateDoc << " " << currentUnit->attack << " " << currentUnit->defense << " " << currentUnit->health << std::endl; + } + + } // units + + currentBase->numUnits = currentBase->units.size(); + gameState->bases[base.first->getGamerName()] = currentBase; + + } +} \ No newline at end of file diff --git a/8382/nakonechnaya/Memento.h b/8382/nakonechnaya/Memento.h new file mode 100644 index 000000000..a9cd1288c --- /dev/null +++ b/8382/nakonechnaya/Memento.h @@ -0,0 +1,51 @@ +#ifndef OOP_MEMENTO_H +#define OOP_MEMENTO_H +#include +#include +#include +#include + +#include "GameField.h" +#include "Loggers/LogProxy.h" +#include "Gamer.h" + +#define MAXLANDNAME 3 +#define MAXOBJNAME 3 +#define MAXUNITNAME 5 + +typedef struct { + int UnitName; + Coordinates *coordinates; + int attack; + int defense; + int health; +} UnitState; +typedef struct { + Coordinates *coordinates; + int health; + int numUnits; + std::vector units; +} BaseState; +typedef struct { + std::pair size; // width, height + std::vector> lands; + std::vector> objects; + std::map bases; // gamer name, base +} GameState; + + +class Memento{ +public: + Memento (std::string path) : path(path) { if (path == "-") return; stateDoc.open(path);}; + ~Memento() {if (path == "-") return; stateDoc.close();} + void loadGameFromDoc(); + void saveGame(GameField *gameField, std::map bases); + bool getCorrectFlag() { return correct;}; + GameState *getGameState() { return gameState;}; +private: + std::fstream stateDoc; + std::string path; + GameState *gameState; + bool correct; +}; +#endif //OOP_MEMENTO_H diff --git a/8382/nakonechnaya/Objects/Base.cpp b/8382/nakonechnaya/Objects/Base.cpp new file mode 100644 index 000000000..a6251c3fe --- /dev/null +++ b/8382/nakonechnaya/Objects/Base.cpp @@ -0,0 +1,187 @@ +#include "Base.h" + + +Base::Base() { + isExistVal = true; + coordinates = new Coordinates; + numUnits = 0; + health = new Health(1000); + units = new CompositeUnit(); +} + +void Base::setCoordinates(int x, int y) { + coordinates->x = x; + coordinates->y = y; +} + +void Base::createUnit(FieldCell *cell, UnitName name) { + + if (numUnits >= MAX_BASE_UNITS){ + std::cout << "You can't create new unit. Too much units." << std::endl; + return; + } + + logString = "The base has created a new unit: "; + switch (name) { + case HALBERDIER: { + auto factoryMethod = new HalberdierFactoryMethod(); + cell->setUnit(factoryMethod->createUnit()); + logString += "halberdier. "; + break; + } + case SKELETON: { + auto factoryMethod = new SkeletonFactoryMethod(); + cell->setUnit(factoryMethod->createUnit()); + logString += "skeleton. "; + break; + } + case ARCHER: { + auto factoryMethod = new ArcherFactoryMethod(); + cell->setUnit(factoryMethod->createUnit()); + logString += "archer. "; + break; + } + case LICH: { + auto factoryMethod = new LichFactoryMethod(); + cell->setUnit(factoryMethod->createUnit()); + logString += "lich. "; + break; + } + case GRIFFIN: { + auto factoryMethod = new GriffinFactoryMethod(); + cell->setUnit(factoryMethod->createUnit()); + logString += "griffin. "; + break; + } + case BONE_DRAGON: { + auto factoryMethod = new BoneDragonFactoryMethod(); + cell->setUnit(factoryMethod->createUnit()); + logString += "bone dragon. "; + break; + } + default: + return; + } + + units->addUnit(cell->getUnit()); + cell->getUnit()->setCoordinates(cell->getCoordinates()->x, cell->getCoordinates()->y); + logString += ("Coordinates: (" + std::to_string(cell->getCoordinates()->x) + "," + std::to_string(cell->getCoordinates()->y) + ")"); + cell->getUnit()->addObservers(this); + numUnits++; +} + +void Base::deleteUnit(FieldCell *cell, int flag) { + units->deleteUnit(cell->getUnit()); + cell->deleteUnit(flag); + if (flag == 0) { + logString = "The base has deleted unit from cell ("; + logString += (std::to_string(cell->getCoordinates()->x) + "," + std::to_string(cell->getCoordinates()->y)) + ")"; + } + numUnits--; +} + +Unit *Base::getUnit(int x, int y) { + for (auto & unit : getUnits()){ + if (unit->getCoordinates()->x == x && unit->getCoordinates()->y == y) + return unit; + } + return nullptr; +} + +void Base::moveUnit(FieldCell *cellIn, FieldCell *cellOut) { + + cellIn->setUnit(cellOut->getUnit()); + cellIn->getUnit()->setCoordinates(cellIn->getCoordinates()->x, cellIn->getCoordinates()->y); + deleteUnit(cellOut, 1); + units->addUnit(cellIn->getUnit()); + + logString = "Unit moved from cell ("; + logString += (std::to_string(cellOut->getCoordinates()->x) + "," + std::to_string(cellOut->getCoordinates()->y) + ") "); + logString += ("to cell (" + std::to_string(cellIn->getCoordinates()->x) + "," + std::to_string(cellIn->getCoordinates()->y) + ")"); + auto proxy = new Proxy(cellIn->getLandscape()->getLandName()); + proxy->changeAttribute(cellIn->getUnit()); +} + +void Base::update(std::string newAction) { + //std::cout << newAction << std::endl; +} + +void Base::attackUnit(FieldCell *cell1, FieldCell *cell2, Base *enemyBase) { + + if (cell1->getUnit()->getAttackValue() <= 0) + return; + + int health2 = cell2->getUnit()->getHealthValue(); + int defense2 = cell2->getUnit()->getDefenseValue(); + + if (cell1->getUnit()->getAttackValue() - defense2 <= 0){ + cell2->getUnit()->changeAttributes(0, -1 * cell1->getUnit()->getAttackValue(), 0); + cell1->getUnit()->changeAttributes(-1 * defense2/2, 0, 0); + logString = "Unit from cell ("; + logString += (std::to_string(cell1->getCoordinates()->x) + "," + std::to_string(cell1->getCoordinates()->y)); + logString += ") tried to attack unit from cell ("; + logString += (std::to_string(cell2->getCoordinates()->x) + "," + std::to_string(cell2->getCoordinates()->y) + ")."); + } + else if ((cell1->getUnit()->getAttackValue() - defense2 < health2)){ + cell2->getUnit()->changeAttributes(0, -1*defense2, -1 * cell1->getUnit()->getAttackValue() - defense2); + logString = "Unit from cell ("; + logString += (std::to_string(cell1->getCoordinates()->x) + "," + std::to_string(cell1->getCoordinates()->y)); + logString += ") tried to attack unit from cell ("; + logString += (std::to_string(cell2->getCoordinates()->x) + "," + std::to_string(cell2->getCoordinates()->y) + ")."); + } + else { + enemyBase->deleteUnit(cell2); + moveUnit(cell2, cell1); + logString = "Unit from cell ("; + logString += (std::to_string(cell1->getCoordinates()->x) + "," + std::to_string(cell1->getCoordinates()->y)); + logString += ") attacked unit from cell ("; + logString += (std::to_string(cell2->getCoordinates()->x) + "," + std::to_string(cell2->getCoordinates()->y) + ")."); + std::cout << "Unit from cell (" << cell1->getCoordinates()->x << "," << cell1->getCoordinates()->y; + std::cout << ") attacked unit from cell (" << cell2->getCoordinates()->x << "," << cell2->getCoordinates()->y << ")." << std::endl; + } + +} + +void Base::attackEnemyBase(FieldCell *cell1, FieldCell *cell2, Base *enemyBase) { + if (cell1->getUnit()->getAttackValue() <= 0) + return; + + int health2 = enemyBase->getHealth()->getValue(); + + if (cell1->getUnit()->getAttackValue() - health2 <= 0){ + enemyBase->changeHealth(-1 * cell1->getUnit()->getAttackValue()); + cell1->getUnit()->changeAttributes(0, -1 * health2/10, 0); + + if (cell1->getUnit()->getDefenseValue() < 0){ + cell1->getUnit()->changeAttributes(0, 0, cell1->getUnit()->getDefenseValue()); + if (cell1->getUnit()->getHealthValue() <= 0){ + deleteUnit(cell1); + logString = "Unit from cell ("; + logString += (std::to_string(cell1->getCoordinates()->x) + "," + std::to_string(cell1->getCoordinates()->y)); + logString += ") killed in attack on enemy base."; + std::cout << "Unit from cell (" << cell1->getCoordinates()->x << "," << cell1->getCoordinates()->y; + std::cout << ") killed in attack on enemy base." << std::endl; + return; + } + } + + logString = "Unit from cell ("; + logString += (std::to_string(cell1->getCoordinates()->x) + "," + std::to_string(cell1->getCoordinates()->y)); + logString += ") tried to attack base from cell ("; + logString += (std::to_string(cell2->getCoordinates()->x) + "," + std::to_string(cell2->getCoordinates()->y) + ")."); + } + else { + enemyBase->deleteBase(); + std::cout << "The base is damaged." << std::endl; + cell2->deleteBase(); + moveUnit(cell2, cell1); + logString = "Unit from cell ("; + logString += (std::to_string(cell1->getCoordinates()->x) + "," + std::to_string(cell1->getCoordinates()->y)); + logString += ") attacked unit from cell ("; + logString += (std::to_string(cell2->getCoordinates()->x) + "," + std::to_string(cell2->getCoordinates()->y) + ")."); + } +} + +void Base::updateUnitAttributes(FieldCell *cell, int attack, int defense, int health1) { + cell->getUnit()->setAttributes(attack, defense, health1); +} \ No newline at end of file diff --git a/8382/nakonechnaya/Objects/Base.h b/8382/nakonechnaya/Objects/Base.h new file mode 100644 index 000000000..9c7f037e6 --- /dev/null +++ b/8382/nakonechnaya/Objects/Base.h @@ -0,0 +1,44 @@ +#ifndef OOP_BASE_H +#define OOP_BASE_H +#include +#include "units/CompositeUnit.h" +#include "../FieldCell.h" + +#include "Observer.h" + +#define MAX_BASE_UNITS 10 + +class Base : public Observer{ +public: + Base(); + Coordinates * getCoordinates() final {return coordinates;}; + void setCoordinates(int x, int y) final; + char getName() final {return '+';}; + void createUnit(FieldCell *cell, UnitName name); + void deleteUnit(FieldCell *cell, int flag=0); + void moveUnit(FieldCell *cellIn, FieldCell *cellOut); + void update(std::string newAction) override; + Health *getHealth() { return health;}; + void printUnits() {units->printUnits();}; + void attackUnit(FieldCell *cell1, FieldCell *cell2, Base *enemyBase); + std::string getLogString() { return logString;}; + void setHealth(int value) { health = new Health(value);}; + void updateUnitAttributes(FieldCell *cell, int attack, int defense, int health); + std::vector getUnits() { return units->getUnits();}; + Unit *getUnit(int x, int y); + void changeHealth(int val) {health->changeValue(val);}; + bool isExist(){ return isExistVal;}; + void deleteBase() {isExistVal = false;}; + void setExistVal() {isExistVal = true;}; + int getNumUnits() { return numUnits;}; + void attackEnemyBase(FieldCell *cell1, FieldCell *cell2, Base *enemyBase); +private: + bool isExistVal; + Coordinates *coordinates; + CompositeUnit *units; + Health *health; + int numUnits; + std::string logString; +}; + +#endif //OOP_BASE_H diff --git a/8382/nakonechnaya/Objects/Object.h b/8382/nakonechnaya/Objects/Object.h new file mode 100644 index 000000000..009310948 --- /dev/null +++ b/8382/nakonechnaya/Objects/Object.h @@ -0,0 +1,18 @@ +#ifndef OOP_OBJECT_H +#define OOP_OBJECT_H +#include + +typedef struct { + int x; + int y; +} Coordinates; + +class Object{ +public: + virtual Coordinates* getCoordinates() = 0; + virtual void setCoordinates(int, int) = 0; + virtual char getName() = 0; + virtual ~Object() = default; + +}; +#endif //OOP_OBJECT_H diff --git a/8382/nakonechnaya/Objects/Observer.h b/8382/nakonechnaya/Objects/Observer.h new file mode 100644 index 000000000..8ab0db30d --- /dev/null +++ b/8382/nakonechnaya/Objects/Observer.h @@ -0,0 +1,10 @@ +#ifndef OOP_OBSERVER_H +#define OOP_OBSERVER_H +#include "Object.h" + +class Observer : public Object{ +public: + virtual ~Observer(){}; + virtual void update(std::string newAction) = 0; +}; +#endif //OOP_OBSERVER_H diff --git a/8382/nakonechnaya/Objects/Subject.h b/8382/nakonechnaya/Objects/Subject.h new file mode 100644 index 000000000..b87f070b7 --- /dev/null +++ b/8382/nakonechnaya/Objects/Subject.h @@ -0,0 +1,12 @@ +#ifndef OOP_SUBJECT_H +#define OOP_SUBJECT_H +#include "Object.h" +#include "Observer.h" + +class Subject : public Object{ +public: + virtual ~Subject(){}; + virtual void addObservers(Observer *observer) = 0; + virtual void notifyObservers(std::string *newAction) = 0; +}; +#endif //OOP_SUBJECT_H diff --git a/8382/nakonechnaya/Objects/neutralObjects/Bar.h b/8382/nakonechnaya/Objects/neutralObjects/Bar.h new file mode 100644 index 000000000..2f24b4fce --- /dev/null +++ b/8382/nakonechnaya/Objects/neutralObjects/Bar.h @@ -0,0 +1,10 @@ +#ifndef OOP_BAR_H +#define OOP_BAR_H +#include "NeutralObject.h" + +class Bar : public NeutralObject{ +public: + Bar() {setName('B'); setObjName(BAR);}; +}; + +#endif //OOP_BAR_H diff --git a/8382/nakonechnaya/Objects/neutralObjects/Hospital.h b/8382/nakonechnaya/Objects/neutralObjects/Hospital.h new file mode 100644 index 000000000..06a090fdf --- /dev/null +++ b/8382/nakonechnaya/Objects/neutralObjects/Hospital.h @@ -0,0 +1,9 @@ +#ifndef OOP_HOSPITAL_H +#define OOP_HOSPITAL_H +#include "NeutralObject.h" + +class Hospital : public NeutralObject{ +public: + Hospital() {setName('H'); setObjName(HOSPITAL);}; +}; +#endif //OOP_HOSPITAL_H diff --git a/8382/nakonechnaya/Objects/neutralObjects/NeutralObject.cpp b/8382/nakonechnaya/Objects/neutralObjects/NeutralObject.cpp new file mode 100644 index 000000000..06129b096 --- /dev/null +++ b/8382/nakonechnaya/Objects/neutralObjects/NeutralObject.cpp @@ -0,0 +1,7 @@ +#include "NeutralObject.h" + +void NeutralObject::setCoordinates(int x, int y) { + coordinates = new Coordinates; + coordinates->x = x; + coordinates->y = y; +} \ No newline at end of file diff --git a/8382/nakonechnaya/Objects/neutralObjects/NeutralObject.h b/8382/nakonechnaya/Objects/neutralObjects/NeutralObject.h new file mode 100644 index 000000000..bd6d034ed --- /dev/null +++ b/8382/nakonechnaya/Objects/neutralObjects/NeutralObject.h @@ -0,0 +1,20 @@ +#ifndef OOP_NEUTRALOBJECT_H +#define OOP_NEUTRALOBJECT_H +#include "../Object.h" + +enum NeutralObjects {BAR, HOSPITAL, SHOP, TRAIN}; + +class NeutralObject : public Object{ +public: + Coordinates * getCoordinates() final { return coordinates;}; + void setCoordinates(int x, int y) final; + char getName() final { return name;}; + void setName(char name) {this->name = name;}; + void setObjName(NeutralObjects obName) {objectName = obName;}; + NeutralObjects getObjName() {return objectName;}; +private: + Coordinates *coordinates; + char name; + NeutralObjects objectName; +}; +#endif //OOP_NEUTRALOBJECT_H \ No newline at end of file diff --git a/8382/nakonechnaya/Objects/neutralObjects/Shop.h b/8382/nakonechnaya/Objects/neutralObjects/Shop.h new file mode 100644 index 000000000..42766a19c --- /dev/null +++ b/8382/nakonechnaya/Objects/neutralObjects/Shop.h @@ -0,0 +1,10 @@ +#ifndef OOP_SHOP_H +#define OOP_SHOP_H +#include "NeutralObject.h" + +class Shop : public NeutralObject{ +public: + Shop(){setName('S'); setObjName(SHOP);}; +}; + +#endif //OOP_SHOP_H diff --git a/8382/nakonechnaya/Objects/neutralObjects/Strategy.h b/8382/nakonechnaya/Objects/neutralObjects/Strategy.h new file mode 100644 index 000000000..a25b8aa03 --- /dev/null +++ b/8382/nakonechnaya/Objects/neutralObjects/Strategy.h @@ -0,0 +1,49 @@ +#ifndef OOP_STRATEGY_H +#define OOP_STRATEGY_H +#include "../units/Unit.h" + +class Strategy { +public: + virtual ~Strategy(){}; + virtual void changeAttributes(Unit &unit) = 0; +}; + +class UnitContext{ +public: + UnitContext(Strategy *strategy = nullptr) : strategy(strategy) {}; + ~UnitContext() {delete strategy;}; + void setStrategy(Strategy *strategy) {delete this->strategy; this->strategy = strategy;}; + void changeUnitsAttributes(Unit &unit) {this->strategy->changeAttributes(unit);}; +private: + Strategy *strategy; +}; + +class HospitalStrategyPeople : public Strategy{ +public: + void changeAttributes(Unit &unit) override{ + unit.changeAttributes(0, 0, 100); + } +}; + +class BarStrategy : public Strategy{ +public: + void changeAttributes(Unit &unit) override{ + unit.changeAttributes(100, 0, -20); + } +}; + +class ShopStrategyOther : public Strategy{ +public: + void changeAttributes(Unit &unit) override{ + unit.changeAttributes(0, 100, 0); + } +}; + +class TrainStrategyPeople : public Strategy{ +public: + void changeAttributes(Unit &unit) override{ + unit.changeAttributes(100, 0, -10); + } +}; + +#endif //OOP_STRATEGY_H diff --git a/8382/nakonechnaya/Objects/neutralObjects/TrainingBase.h b/8382/nakonechnaya/Objects/neutralObjects/TrainingBase.h new file mode 100644 index 000000000..5d7d68710 --- /dev/null +++ b/8382/nakonechnaya/Objects/neutralObjects/TrainingBase.h @@ -0,0 +1,10 @@ +#ifndef OOP_TRAININGBASE_H +#define OOP_TRAININGBASE_H +#include "NeutralObject.h" + +class TrainingBase : public NeutralObject{ +public: + TrainingBase(){setName('T'); setObjName(TRAIN);}; +}; + +#endif //OOP_TRAININGBASE_H diff --git a/8382/nakonechnaya/Objects/units/CompositeUnit.cpp b/8382/nakonechnaya/Objects/units/CompositeUnit.cpp new file mode 100644 index 000000000..e16cf1c04 --- /dev/null +++ b/8382/nakonechnaya/Objects/units/CompositeUnit.cpp @@ -0,0 +1,22 @@ +#include "CompositeUnit.h" + +void CompositeUnit::printUnits() { + std::cout << "Units:" << std::endl; + for (auto & unit : units){ + std::cout << "(" << unit->getCoordinates()->x << "," << unit->getCoordinates()->y << ") = " << unit->getName() << std::endl; + } + +} + +void CompositeUnit::deleteUnit(Unit *unit) { + + int ind = 0; + for (auto & un : units) { + if (unit == un){ + units.erase(units.begin() + ind); + return;; + } + ind++; + } + +} \ No newline at end of file diff --git a/8382/nakonechnaya/Objects/units/CompositeUnit.h b/8382/nakonechnaya/Objects/units/CompositeUnit.h new file mode 100644 index 000000000..b70bcdcf7 --- /dev/null +++ b/8382/nakonechnaya/Objects/units/CompositeUnit.h @@ -0,0 +1,17 @@ +#ifndef OOP_COMPOSITEUNIT_H +#define OOP_COMPOSITEUNIT_H +#include "Unit.h" +#include + +class CompositeUnit : public Unit{ +public: + char getName() final {return 'C';}; + void printUnits(); + void deleteUnit(Unit *unit); + void addUnit(Unit *unit) {units.push_back(unit);}; + Unit& operator+=(NeutralObject &object) final {}; + std::vector getUnits() {return units;}; +private: + std::vector units; +}; +#endif //OOP_COMPOSITEUNIT_H diff --git a/8382/nakonechnaya/Objects/units/FactoryMethod.h b/8382/nakonechnaya/Objects/units/FactoryMethod.h new file mode 100644 index 000000000..e163b736a --- /dev/null +++ b/8382/nakonechnaya/Objects/units/FactoryMethod.h @@ -0,0 +1,10 @@ +#ifndef OOP_FACTORYMETHOD_H +#define OOP_FACTORYMETHOD_H +#include "Unit.h" + +class FactoryMethod { +public: + virtual ~FactoryMethod(){}; + virtual Unit* createUnit() const = 0; +}; +#endif //OOP_FACTORYMETHOD_H diff --git a/8382/nakonechnaya/Objects/units/FlyingTroops/BoneDragon.cpp b/8382/nakonechnaya/Objects/units/FlyingTroops/BoneDragon.cpp new file mode 100644 index 000000000..131248d9d --- /dev/null +++ b/8382/nakonechnaya/Objects/units/FlyingTroops/BoneDragon.cpp @@ -0,0 +1,21 @@ +#include "BoneDragon.h" + +Unit & BoneDragon::operator+=(NeutralObject &object) { + if (object.getObjName() == HOSPITAL){ + auto *context = new UnitContext(new HospitalStrategyPeople); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == TRAIN){ + auto *context = new UnitContext(new TrainStrategyPeople); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == BAR){ + auto *context = new UnitContext(new BarStrategy); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == SHOP){ + auto *context = new UnitContext(new ShopStrategyOther); + context->changeUnitsAttributes(*this); + } + return *this; +} \ No newline at end of file diff --git a/8382/nakonechnaya/Objects/units/FlyingTroops/BoneDragon.h b/8382/nakonechnaya/Objects/units/FlyingTroops/BoneDragon.h new file mode 100644 index 000000000..ded9acd88 --- /dev/null +++ b/8382/nakonechnaya/Objects/units/FlyingTroops/BoneDragon.h @@ -0,0 +1,22 @@ +#ifndef OOP_BONEDRAGON_H +#define OOP_BONEDRAGON_H +#include "FlyingTroops.h" +#include "../FactoryMethod.h" + +class BoneDragon : public FlyingTroops{ +public: + BoneDragon() { + setAttributes(100, 100, 100); + unitName = BONE_DRAGON; + }; + char getName() final {return 'i';}; + Unit& operator+=(NeutralObject &object) final; +}; + +class BoneDragonFactoryMethod : public FactoryMethod{ +public: + Unit* createUnit() const override { + return new BoneDragon(); + }; +}; +#endif //OOP_BONEDRAGON_H diff --git a/8382/nakonechnaya/Objects/units/FlyingTroops/FlyingTroops.h b/8382/nakonechnaya/Objects/units/FlyingTroops/FlyingTroops.h new file mode 100644 index 000000000..7d25c20ba --- /dev/null +++ b/8382/nakonechnaya/Objects/units/FlyingTroops/FlyingTroops.h @@ -0,0 +1,8 @@ +#ifndef OOP_FLYINGTROOPS_H +#define OOP_FLYINGTROOPS_H +#include "../../neutralObjects/Strategy.h" + +class FlyingTroops : public Unit{ +public: +}; +#endif //OOP_FLYINGTROOPS_H diff --git a/8382/nakonechnaya/Objects/units/FlyingTroops/Griffin.cpp b/8382/nakonechnaya/Objects/units/FlyingTroops/Griffin.cpp new file mode 100644 index 000000000..215be7279 --- /dev/null +++ b/8382/nakonechnaya/Objects/units/FlyingTroops/Griffin.cpp @@ -0,0 +1,20 @@ +#include "Griffin.h" +Unit & Griffin::operator+=(NeutralObject &object) { + if (object.getObjName() == HOSPITAL){ + auto *context = new UnitContext(new HospitalStrategyPeople); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == TRAIN){ + auto *context = new UnitContext(new TrainStrategyPeople); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == BAR){ + auto *context = new UnitContext(new BarStrategy); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == SHOP){ + auto *context = new UnitContext(new ShopStrategyOther); + context->changeUnitsAttributes(*this); + } + return *this; +} \ No newline at end of file diff --git a/8382/nakonechnaya/Objects/units/FlyingTroops/Griffin.h b/8382/nakonechnaya/Objects/units/FlyingTroops/Griffin.h new file mode 100644 index 000000000..d5b71fe2e --- /dev/null +++ b/8382/nakonechnaya/Objects/units/FlyingTroops/Griffin.h @@ -0,0 +1,22 @@ +#ifndef OOP_GRIFFIN_H +#define OOP_GRIFFIN_H +#include "FlyingTroops.h" +#include "../FactoryMethod.h" + +class Griffin : public FlyingTroops{ +public: + Griffin() { + setAttributes(100, 100, 100); + unitName = GRIFFIN; + }; + char getName() final {return 'i';}; + Unit& operator+=(NeutralObject &object) final; +}; + +class GriffinFactoryMethod : public FactoryMethod{ +public: + Unit* createUnit() const override { + return new Griffin(); + }; +}; +#endif //OOP_GRIFFIN_H diff --git a/8382/nakonechnaya/Objects/units/FootTroops/FootTroops.h b/8382/nakonechnaya/Objects/units/FootTroops/FootTroops.h new file mode 100644 index 000000000..42117c49c --- /dev/null +++ b/8382/nakonechnaya/Objects/units/FootTroops/FootTroops.h @@ -0,0 +1,8 @@ +#ifndef OOP_FOOTTROOPS_H +#define OOP_FOOTTROOPS_H +#include "../../neutralObjects/Strategy.h" + +class FootTroops : public Unit{ +public: +}; +#endif //OOP_FOOTTROOPS_H diff --git a/8382/nakonechnaya/Objects/units/FootTroops/Halberdier.cpp b/8382/nakonechnaya/Objects/units/FootTroops/Halberdier.cpp new file mode 100644 index 000000000..8a17c14e7 --- /dev/null +++ b/8382/nakonechnaya/Objects/units/FootTroops/Halberdier.cpp @@ -0,0 +1,20 @@ +#include "Halberdier.h" +Unit & Halberdier::operator+=(NeutralObject &object) { + if (object.getObjName() == HOSPITAL){ + auto *context = new UnitContext(new HospitalStrategyPeople); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == TRAIN){ + auto *context = new UnitContext(new TrainStrategyPeople); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == BAR){ + auto *context = new UnitContext(new BarStrategy); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == SHOP){ + auto *context = new UnitContext(new ShopStrategyOther); + context->changeUnitsAttributes(*this); + } + return *this; +} \ No newline at end of file diff --git a/8382/nakonechnaya/Objects/units/FootTroops/Halberdier.h b/8382/nakonechnaya/Objects/units/FootTroops/Halberdier.h new file mode 100644 index 000000000..a20894f28 --- /dev/null +++ b/8382/nakonechnaya/Objects/units/FootTroops/Halberdier.h @@ -0,0 +1,22 @@ +#ifndef OOP_HALBERDIER_H +#define OOP_HALBERDIER_H +#include "FootTroops.h" +#include "../FactoryMethod.h" + +class Halberdier : public FootTroops{ +public: + Halberdier() { + setAttributes(100, 100, 100); + unitName = HALBERDIER; + }; + char getName() final {return 'i';}; + Unit& operator+=(NeutralObject &object) final; +}; + +class HalberdierFactoryMethod : public FactoryMethod{ +public: + Unit* createUnit() const override { + return new Halberdier(); + }; +}; +#endif //OOP_HALBERDIER_H diff --git a/8382/nakonechnaya/Objects/units/FootTroops/Skeleton.cpp b/8382/nakonechnaya/Objects/units/FootTroops/Skeleton.cpp new file mode 100644 index 000000000..fa39dbad3 --- /dev/null +++ b/8382/nakonechnaya/Objects/units/FootTroops/Skeleton.cpp @@ -0,0 +1,20 @@ +#include "Skeleton.h" +Unit & Skeleton::operator+=(NeutralObject &object) { + if (object.getObjName() == HOSPITAL){ + auto *context = new UnitContext(new HospitalStrategyPeople); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == TRAIN){ + auto *context = new UnitContext(new TrainStrategyPeople); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == BAR){ + auto *context = new UnitContext(new BarStrategy); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == SHOP){ + auto *context = new UnitContext(new ShopStrategyOther); + context->changeUnitsAttributes(*this); + } + return *this; +} \ No newline at end of file diff --git a/8382/nakonechnaya/Objects/units/FootTroops/Skeleton.h b/8382/nakonechnaya/Objects/units/FootTroops/Skeleton.h new file mode 100644 index 000000000..f294997d1 --- /dev/null +++ b/8382/nakonechnaya/Objects/units/FootTroops/Skeleton.h @@ -0,0 +1,22 @@ +#ifndef OOP_SKELETON_H +#define OOP_SKELETON_H +#include "FootTroops.h" +#include "../FactoryMethod.h" + +class Skeleton : public FootTroops{ +public: + Skeleton() { + setAttributes(100, 100, 100); + unitName = SKELETON; + }; + char getName() final {return 'i';}; + Unit& operator+=(NeutralObject &object) final; +}; + +class SkeletonFactoryMethod : public FactoryMethod{ +public: + Unit* createUnit() const override { + return new Skeleton(); + }; +}; +#endif //OOP_SKELETON_H diff --git a/8382/nakonechnaya/Objects/units/RangedTroops/Archer.cpp b/8382/nakonechnaya/Objects/units/RangedTroops/Archer.cpp new file mode 100644 index 000000000..cd5cd6334 --- /dev/null +++ b/8382/nakonechnaya/Objects/units/RangedTroops/Archer.cpp @@ -0,0 +1,20 @@ +#include "Archer.h" +Unit & Archer::operator+=(NeutralObject &object) { + if (object.getObjName() == HOSPITAL){ + auto *context = new UnitContext(new HospitalStrategyPeople); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == TRAIN){ + auto *context = new UnitContext(new TrainStrategyPeople); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == BAR){ + auto *context = new UnitContext(new BarStrategy); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == SHOP){ + auto *context = new UnitContext(new ShopStrategyOther); + context->changeUnitsAttributes(*this); + } + return *this; +} \ No newline at end of file diff --git a/8382/nakonechnaya/Objects/units/RangedTroops/Archer.h b/8382/nakonechnaya/Objects/units/RangedTroops/Archer.h new file mode 100644 index 000000000..09a36323a --- /dev/null +++ b/8382/nakonechnaya/Objects/units/RangedTroops/Archer.h @@ -0,0 +1,22 @@ +#ifndef OOP_ARCHER_H +#define OOP_ARCHER_H +#include "RangedTroops.h" +#include "../FactoryMethod.h" + +class Archer : public RangedTroops{ +public: + Archer() { + setAttributes(100, 100, 100); + unitName = ARCHER; + }; + char getName() final {return 'i';}; + Unit& operator+=(NeutralObject &object) final; +}; + +class ArcherFactoryMethod : public FactoryMethod{ +public: + Unit* createUnit() const override { + return new Archer(); + }; +}; +#endif //OOP_ARCHER_H diff --git a/8382/nakonechnaya/Objects/units/RangedTroops/Lich.cpp b/8382/nakonechnaya/Objects/units/RangedTroops/Lich.cpp new file mode 100644 index 000000000..595cfdafd --- /dev/null +++ b/8382/nakonechnaya/Objects/units/RangedTroops/Lich.cpp @@ -0,0 +1,20 @@ +#include "Lich.h" +Unit & Lich::operator+=(NeutralObject &object) { + if (object.getObjName() == HOSPITAL){ + auto *context = new UnitContext(new HospitalStrategyPeople); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == TRAIN){ + auto *context = new UnitContext(new TrainStrategyPeople); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == BAR){ + auto *context = new UnitContext(new BarStrategy); + context->changeUnitsAttributes(*this); + } + else if (object.getObjName() == SHOP){ + auto *context = new UnitContext(new ShopStrategyOther); + context->changeUnitsAttributes(*this); + } + return *this; +} \ No newline at end of file diff --git a/8382/nakonechnaya/Objects/units/RangedTroops/Lich.h b/8382/nakonechnaya/Objects/units/RangedTroops/Lich.h new file mode 100644 index 000000000..a40f5cd9f --- /dev/null +++ b/8382/nakonechnaya/Objects/units/RangedTroops/Lich.h @@ -0,0 +1,22 @@ +#ifndef OOP_LICH_H +#define OOP_LICH_H +#include "RangedTroops.h" +#include "../FactoryMethod.h" + +class Lich : public RangedTroops{ +public: + Lich() { + setAttributes(100, 100, 100); + unitName = LICH; + }; + char getName() final {return 'i';}; + Unit& operator+=(NeutralObject &object) final; +}; + +class LichFactoryMethod : public FactoryMethod{ +public: + Unit* createUnit() const override { + return new Lich(); + }; +}; +#endif //OOP_LICH_H diff --git a/8382/nakonechnaya/Objects/units/RangedTroops/RangedTroops.h b/8382/nakonechnaya/Objects/units/RangedTroops/RangedTroops.h new file mode 100644 index 000000000..0957e2e34 --- /dev/null +++ b/8382/nakonechnaya/Objects/units/RangedTroops/RangedTroops.h @@ -0,0 +1,8 @@ +#ifndef OOP_RANGEDTROOPS_H +#define OOP_RANGEDTROOPS_H +#include "../../neutralObjects/Strategy.h" + +class RangedTroops : public Unit{ +public: +}; +#endif //OOP_RANGEDTROOPS_H diff --git a/8382/nakonechnaya/Objects/units/Unit.cpp b/8382/nakonechnaya/Objects/units/Unit.cpp new file mode 100644 index 000000000..0fbc40f1a --- /dev/null +++ b/8382/nakonechnaya/Objects/units/Unit.cpp @@ -0,0 +1,46 @@ +#include "Unit.h" + +void Unit::setCoordinates(int x, int y) { + coordinates = new Coordinates; + coordinates->x = x; + coordinates->y = y; +} + +void Unit::changeAttributes(int attack, int defense, int health) { + this->attack->changeValue(attack); + this->health->changeValue(health); + this->defense->changeValue(defense); + std::string update = "Update units attributes."; + notifyObservers(&update); +} + +void Unit::setAttributes(int attack, int defense, int health) { + this->attack = new Attack(attack); + this->defense = new Defense(defense); + this->health = new Health(health); +} + +void Unit::printAttributeValues() { + if (health->getValue() < 0) + std::cout << "Health: " << 0 << std::endl; + else + std::cout << "Health: " << health->getValue() << std::endl; + if (defense->getValue() < 0) + std::cout << "Defense: " << 0 << std::endl; + else + std::cout << "Defense: " << defense->getValue() << std::endl; + if (attack->getValue() < 0) + std::cout << "Attack: " << 0 << std::endl; + else + std::cout << "Attack: " << attack->getValue() << std::endl; +} + +void Unit::addObservers(Observer *observer) { + observers.push_back(observer); +} + +void Unit::notifyObservers(std::string *newAction) { + for (auto & observer : observers){ + observer->update(*newAction); + } +} \ No newline at end of file diff --git a/8382/nakonechnaya/Objects/units/Unit.h b/8382/nakonechnaya/Objects/units/Unit.h new file mode 100644 index 000000000..f35011a6f --- /dev/null +++ b/8382/nakonechnaya/Objects/units/Unit.h @@ -0,0 +1,45 @@ +#ifndef OOP_UNIT_H +#define OOP_UNIT_H +#include "Unit.h" + +#include +#include +#include "../neutralObjects/NeutralObject.h" + +#include "attributes/Health.h" +#include "attributes/Attack.h" +#include "attributes/Defense.h" + +#include "../Subject.h" +#include "../Observer.h" + + +enum UnitName {HALBERDIER, SKELETON, ARCHER, LICH, GRIFFIN, BONE_DRAGON}; + +// component +class Unit : public Subject{ +public: + void changeAttributes(int attack, int defense, int health); + void setAttributes(int attack, int defense, int health); + void printAttributeValues(); + void setCoordinates(int x, int y) final; + int getHealthValue() {return health->getValue();}; + int getAttackValue() {return attack->getValue();}; + int getDefenseValue() {return defense->getValue();}; + Coordinates * getCoordinates() final {return coordinates;}; + UnitName getUnitName() {return unitName;}; + virtual ~Unit() = default; + virtual Unit& operator+=(NeutralObject &object) = 0; + void notifyObservers(std::string *newAction) final; + void addObservers(Observer *observer) final; +protected: + explicit Unit() {}; + UnitName unitName; +private: + std::vector observers; + Coordinates *coordinates; + Attack *attack; + Defense *defense; + Health *health; +}; +#endif //OOP_UNIT_H diff --git a/8382/nakonechnaya/Objects/units/attributes/Attack.h b/8382/nakonechnaya/Objects/units/attributes/Attack.h new file mode 100644 index 000000000..f9e7e6514 --- /dev/null +++ b/8382/nakonechnaya/Objects/units/attributes/Attack.h @@ -0,0 +1,9 @@ +#ifndef OOP_ATTACK_H +#define OOP_ATTACK_H +#include "Attribute.h" + +class Attack : public Attribute { +public: + explicit Attack(int val) : Attribute(val) {}; +}; +#endif //OOP_ATTACK_H diff --git a/8382/nakonechnaya/Objects/units/attributes/Attribute.h b/8382/nakonechnaya/Objects/units/attributes/Attribute.h new file mode 100644 index 000000000..db983f14d --- /dev/null +++ b/8382/nakonechnaya/Objects/units/attributes/Attribute.h @@ -0,0 +1,13 @@ +#ifndef OOP_ATTRIBUTE_H +#define OOP_ATTRIBUTE_H +class Attribute{ +protected: + explicit Attribute(int val) : value(val) {}; +public: + int getValue() {return value;}; + void changeValue(int val) {value += val;}; +private: + int value; +}; + +#endif //OOP_ATTRIBUTE_H diff --git a/8382/nakonechnaya/Objects/units/attributes/Defense.h b/8382/nakonechnaya/Objects/units/attributes/Defense.h new file mode 100644 index 000000000..80d1e0541 --- /dev/null +++ b/8382/nakonechnaya/Objects/units/attributes/Defense.h @@ -0,0 +1,9 @@ +#ifndef OOP_DEFENSE_H +#define OOP_DEFENSE_H +#include "Attribute.h" + +class Defense : public Attribute{ +public: + explicit Defense(int val) : Attribute(val) {}; +}; +#endif //OOP_DEFENSE_H diff --git a/8382/nakonechnaya/Objects/units/attributes/Health.h b/8382/nakonechnaya/Objects/units/attributes/Health.h new file mode 100644 index 000000000..3dd2b2d7e --- /dev/null +++ b/8382/nakonechnaya/Objects/units/attributes/Health.h @@ -0,0 +1,9 @@ +#ifndef OOP_HEALTH_H +#define OOP_HEALTH_H +#include "Attribute.h" + +class Health : public Attribute{ +public: + explicit Health(int val) : Attribute(val) {}; +}; +#endif //OOP_HEALTH_H diff --git a/8382/nakonechnaya/cmake-build-debug/1 b/8382/nakonechnaya/cmake-build-debug/1 new file mode 100644 index 000000000..f5cc3c89a --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/1 @@ -0,0 +1,3 @@ +1 [1] : The field with a width = 3 and a height = 3 was created. +2 [1] : The base of e is set in a cell (0,0) +3 [1] : The base of r is set in a cell (2,2) diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeCache.txt b/8382/nakonechnaya/cmake-build-debug/CMakeCache.txt new file mode 100644 index 000000000..228efdfb6 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeCache.txt @@ -0,0 +1,395 @@ +# This is the CMakeCache file. +# For build in directory: /home/osi/CLionProjects/oop/cmake-build-debug +# It was generated by CMake: /snap/clion/114/bin/cmake/linux/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=Debug + +//Id string of the compiler for the CodeBlocks IDE. Automatically +// detected when left empty +CMAKE_CODEBLOCKS_COMPILER_ID:STRING= + +//The CodeBlocks executable +CMAKE_CODEBLOCKS_EXECUTABLE:FILEPATH=/usr/bin/codeblocks + +//Additional command line arguments when CodeBlocks invokes make. +// Enter e.g. -j to get parallel builds +CMAKE_CODEBLOCKS_MAKE_ARGUMENTS:STRING=-j4 + +//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-7 + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-7 + +//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-7 + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-7 + +//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=OFF + +//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=oop + +//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 program. +ProcessorCount_cmd_nproc:FILEPATH=/usr/bin/nproc + +//Path to a program. +ProcessorCount_cmd_sysctl:FILEPATH=/sbin/sysctl + +//Value Computed by CMake +oop_BINARY_DIR:STATIC=/home/osi/CLionProjects/oop/cmake-build-debug + +//Value Computed by CMake +oop_SOURCE_DIR:STATIC=/home/osi/CLionProjects/oop + + +######################## +# 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/osi/CLionProjects/oop/cmake-build-debug +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=16 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=5 +//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE +CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/snap/clion/114/bin/cmake/linux/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/snap/clion/114/bin/cmake/linux/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/snap/clion/114/bin/cmake/linux/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 +//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=CodeBlocks +//CXX compiler system defined macros +CMAKE_EXTRA_GENERATOR_CXX_SYSTEM_DEFINED_MACROS:INTERNAL=__STDC__;1;__STDC_VERSION__;201112L;__STDC_UTF_16__;1;__STDC_UTF_32__;1;__STDC_HOSTED__;1;__GNUC__;7;__GNUC_MINOR__;5;__GNUC_PATCHLEVEL__;0;__VERSION__;"7.5.0";__ATOMIC_RELAXED;0;__ATOMIC_SEQ_CST;5;__ATOMIC_ACQUIRE;2;__ATOMIC_RELEASE;3;__ATOMIC_ACQ_REL;4;__ATOMIC_CONSUME;1;__pic__;2;__PIC__;2;__pie__;2;__PIE__;2;__FINITE_MATH_ONLY__;0;_LP64;1;__LP64__;1;__SIZEOF_INT__;4;__SIZEOF_LONG__;8;__SIZEOF_LONG_LONG__;8;__SIZEOF_SHORT__;2;__SIZEOF_FLOAT__;4;__SIZEOF_DOUBLE__;8;__SIZEOF_LONG_DOUBLE__;16;__SIZEOF_SIZE_T__;8;__CHAR_BIT__;8;__BIGGEST_ALIGNMENT__;16;__ORDER_LITTLE_ENDIAN__;1234;__ORDER_BIG_ENDIAN__;4321;__ORDER_PDP_ENDIAN__;3412;__BYTE_ORDER__;__ORDER_LITTLE_ENDIAN__;__FLOAT_WORD_ORDER__;__ORDER_LITTLE_ENDIAN__;__SIZEOF_POINTER__;8;__SIZE_TYPE__;long unsigned int;__PTRDIFF_TYPE__;long int;__WCHAR_TYPE__;int;__WINT_TYPE__;unsigned int;__INTMAX_TYPE__;long int;__UINTMAX_TYPE__;long unsigned int;__CHAR16_TYPE__;short unsigned int;__CHAR32_TYPE__;unsigned int;__SIG_ATOMIC_TYPE__;int;__INT8_TYPE__;signed char;__INT16_TYPE__;short int;__INT32_TYPE__;int;__INT64_TYPE__;long int;__UINT8_TYPE__;unsigned char;__UINT16_TYPE__;short unsigned int;__UINT32_TYPE__;unsigned int;__UINT64_TYPE__;long unsigned int;__INT_LEAST8_TYPE__;signed char;__INT_LEAST16_TYPE__;short int;__INT_LEAST32_TYPE__;int;__INT_LEAST64_TYPE__;long int;__UINT_LEAST8_TYPE__;unsigned char;__UINT_LEAST16_TYPE__;short unsigned int;__UINT_LEAST32_TYPE__;unsigned int;__UINT_LEAST64_TYPE__;long unsigned int;__INT_FAST8_TYPE__;signed char;__INT_FAST16_TYPE__;long int;__INT_FAST32_TYPE__;long int;__INT_FAST64_TYPE__;long int;__UINT_FAST8_TYPE__;unsigned char;__UINT_FAST16_TYPE__;long unsigned int;__UINT_FAST32_TYPE__;long unsigned int;__UINT_FAST64_TYPE__;long unsigned int;__INTPTR_TYPE__;long int;__UINTPTR_TYPE__;long unsigned int;__has_include(STR);__has_include__(STR);__has_include_next(STR);__has_include_next__(STR);__GXX_ABI_VERSION;1011;__SCHAR_MAX__;0x7f;__SHRT_MAX__;0x7fff;__INT_MAX__;0x7fffffff;__LONG_MAX__;0x7fffffffffffffffL;__LONG_LONG_MAX__;0x7fffffffffffffffLL;__WCHAR_MAX__;0x7fffffff;__WCHAR_MIN__;(-__WCHAR_MAX__ - 1);__WINT_MAX__;0xffffffffU;__WINT_MIN__;0U;__PTRDIFF_MAX__;0x7fffffffffffffffL;__SIZE_MAX__;0xffffffffffffffffUL;__SCHAR_WIDTH__;8;__SHRT_WIDTH__;16;__INT_WIDTH__;32;__LONG_WIDTH__;64;__LONG_LONG_WIDTH__;64;__WCHAR_WIDTH__;32;__WINT_WIDTH__;32;__PTRDIFF_WIDTH__;64;__SIZE_WIDTH__;64;__INTMAX_MAX__;0x7fffffffffffffffL;__INTMAX_C(c);c ## L;__UINTMAX_MAX__;0xffffffffffffffffUL;__UINTMAX_C(c);c ## UL;__INTMAX_WIDTH__;64;__SIG_ATOMIC_MAX__;0x7fffffff;__SIG_ATOMIC_MIN__;(-__SIG_ATOMIC_MAX__ - 1);__SIG_ATOMIC_WIDTH__;32;__INT8_MAX__;0x7f;__INT16_MAX__;0x7fff;__INT32_MAX__;0x7fffffff;__INT64_MAX__;0x7fffffffffffffffL;__UINT8_MAX__;0xff;__UINT16_MAX__;0xffff;__UINT32_MAX__;0xffffffffU;__UINT64_MAX__;0xffffffffffffffffUL;__INT_LEAST8_MAX__;0x7f;__INT8_C(c);c;__INT_LEAST8_WIDTH__;8;__INT_LEAST16_MAX__;0x7fff;__INT16_C(c);c;__INT_LEAST16_WIDTH__;16;__INT_LEAST32_MAX__;0x7fffffff;__INT32_C(c);c;__INT_LEAST32_WIDTH__;32;__INT_LEAST64_MAX__;0x7fffffffffffffffL;__INT64_C(c);c ## L;__INT_LEAST64_WIDTH__;64;__UINT_LEAST8_MAX__;0xff;__UINT8_C(c);c;__UINT_LEAST16_MAX__;0xffff;__UINT16_C(c);c;__UINT_LEAST32_MAX__;0xffffffffU;__UINT32_C(c);c ## U;__UINT_LEAST64_MAX__;0xffffffffffffffffUL;__UINT64_C(c);c ## UL;__INT_FAST8_MAX__;0x7f;__INT_FAST8_WIDTH__;8;__INT_FAST16_MAX__;0x7fffffffffffffffL;__INT_FAST16_WIDTH__;64;__INT_FAST32_MAX__;0x7fffffffffffffffL;__INT_FAST32_WIDTH__;64;__INT_FAST64_MAX__;0x7fffffffffffffffL;__INT_FAST64_WIDTH__;64;__UINT_FAST8_MAX__;0xff;__UINT_FAST16_MAX__;0xffffffffffffffffUL;__UINT_FAST32_MAX__;0xffffffffffffffffUL;__UINT_FAST64_MAX__;0xffffffffffffffffUL;__INTPTR_MAX__;0x7fffffffffffffffL;__INTPTR_WIDTH__;64;__UINTPTR_MAX__;0xffffffffffffffffUL;__GCC_IEC_559;2;__GCC_IEC_559_COMPLEX;2;__FLT_EVAL_METHOD__;0;__FLT_EVAL_METHOD_TS_18661_3__;0;__DEC_EVAL_METHOD__;2;__FLT_RADIX__;2;__FLT_MANT_DIG__;24;__FLT_DIG__;6;__FLT_MIN_EXP__;(-125);__FLT_MIN_10_EXP__;(-37);__FLT_MAX_EXP__;128;__FLT_MAX_10_EXP__;38;__FLT_DECIMAL_DIG__;9;__FLT_MAX__;3.40282346638528859811704183484516925e+38F;__FLT_MIN__;1.17549435082228750796873653722224568e-38F;__FLT_EPSILON__;1.19209289550781250000000000000000000e-7F;__FLT_DENORM_MIN__;1.40129846432481707092372958328991613e-45F;__FLT_HAS_DENORM__;1;__FLT_HAS_INFINITY__;1;__FLT_HAS_QUIET_NAN__;1;__DBL_MANT_DIG__;53;__DBL_DIG__;15;__DBL_MIN_EXP__;(-1021);__DBL_MIN_10_EXP__;(-307);__DBL_MAX_EXP__;1024;__DBL_MAX_10_EXP__;308;__DBL_DECIMAL_DIG__;17;__DBL_MAX__;((double)1.79769313486231570814527423731704357e+308L);__DBL_MIN__;((double)2.22507385850720138309023271733240406e-308L);__DBL_EPSILON__;((double)2.22044604925031308084726333618164062e-16L);__DBL_DENORM_MIN__;((double)4.94065645841246544176568792868221372e-324L);__DBL_HAS_DENORM__;1;__DBL_HAS_INFINITY__;1;__DBL_HAS_QUIET_NAN__;1;__LDBL_MANT_DIG__;64;__LDBL_DIG__;18;__LDBL_MIN_EXP__;(-16381);__LDBL_MIN_10_EXP__;(-4931);__LDBL_MAX_EXP__;16384;__LDBL_MAX_10_EXP__;4932;__DECIMAL_DIG__;21;__LDBL_DECIMAL_DIG__;21;__LDBL_MAX__;1.18973149535723176502126385303097021e+4932L;__LDBL_MIN__;3.36210314311209350626267781732175260e-4932L;__LDBL_EPSILON__;1.08420217248550443400745280086994171e-19L;__LDBL_DENORM_MIN__;3.64519953188247460252840593361941982e-4951L;__LDBL_HAS_DENORM__;1;__LDBL_HAS_INFINITY__;1;__LDBL_HAS_QUIET_NAN__;1;__FLT32_MANT_DIG__;24;__FLT32_DIG__;6;__FLT32_MIN_EXP__;(-125);__FLT32_MIN_10_EXP__;(-37);__FLT32_MAX_EXP__;128;__FLT32_MAX_10_EXP__;38;__FLT32_DECIMAL_DIG__;9;__FLT32_MAX__;3.40282346638528859811704183484516925e+38F32;__FLT32_MIN__;1.17549435082228750796873653722224568e-38F32;__FLT32_EPSILON__;1.19209289550781250000000000000000000e-7F32;__FLT32_DENORM_MIN__;1.40129846432481707092372958328991613e-45F32;__FLT32_HAS_DENORM__;1;__FLT32_HAS_INFINITY__;1;__FLT32_HAS_QUIET_NAN__;1;__FLT64_MANT_DIG__;53;__FLT64_DIG__;15;__FLT64_MIN_EXP__;(-1021);__FLT64_MIN_10_EXP__;(-307);__FLT64_MAX_EXP__;1024;__FLT64_MAX_10_EXP__;308;__FLT64_DECIMAL_DIG__;17;__FLT64_MAX__;1.79769313486231570814527423731704357e+308F64;__FLT64_MIN__;2.22507385850720138309023271733240406e-308F64;__FLT64_EPSILON__;2.22044604925031308084726333618164062e-16F64;__FLT64_DENORM_MIN__;4.94065645841246544176568792868221372e-324F64;__FLT64_HAS_DENORM__;1;__FLT64_HAS_INFINITY__;1;__FLT64_HAS_QUIET_NAN__;1;__FLT128_MANT_DIG__;113;__FLT128_DIG__;33;__FLT128_MIN_EXP__;(-16381);__FLT128_MIN_10_EXP__;(-4931);__FLT128_MAX_EXP__;16384;__FLT128_MAX_10_EXP__;4932;__FLT128_DECIMAL_DIG__;36;__FLT128_MAX__;1.18973149535723176508575932662800702e+4932F128;__FLT128_MIN__;3.36210314311209350626267781732175260e-4932F128;__FLT128_EPSILON__;1.92592994438723585305597794258492732e-34F128;__FLT128_DENORM_MIN__;6.47517511943802511092443895822764655e-4966F128;__FLT128_HAS_DENORM__;1;__FLT128_HAS_INFINITY__;1;__FLT128_HAS_QUIET_NAN__;1;__FLT32X_MANT_DIG__;53;__FLT32X_DIG__;15;__FLT32X_MIN_EXP__;(-1021);__FLT32X_MIN_10_EXP__;(-307);__FLT32X_MAX_EXP__;1024;__FLT32X_MAX_10_EXP__;308;__FLT32X_DECIMAL_DIG__;17;__FLT32X_MAX__;1.79769313486231570814527423731704357e+308F32x;__FLT32X_MIN__;2.22507385850720138309023271733240406e-308F32x;__FLT32X_EPSILON__;2.22044604925031308084726333618164062e-16F32x;__FLT32X_DENORM_MIN__;4.94065645841246544176568792868221372e-324F32x;__FLT32X_HAS_DENORM__;1;__FLT32X_HAS_INFINITY__;1;__FLT32X_HAS_QUIET_NAN__;1;__FLT64X_MANT_DIG__;64;__FLT64X_DIG__;18;__FLT64X_MIN_EXP__;(-16381);__FLT64X_MIN_10_EXP__;(-4931);__FLT64X_MAX_EXP__;16384;__FLT64X_MAX_10_EXP__;4932;__FLT64X_DECIMAL_DIG__;21;__FLT64X_MAX__;1.18973149535723176502126385303097021e+4932F64x;__FLT64X_MIN__;3.36210314311209350626267781732175260e-4932F64x;__FLT64X_EPSILON__;1.08420217248550443400745280086994171e-19F64x;__FLT64X_DENORM_MIN__;3.64519953188247460252840593361941982e-4951F64x;__FLT64X_HAS_DENORM__;1;__FLT64X_HAS_INFINITY__;1;__FLT64X_HAS_QUIET_NAN__;1;__DEC32_MANT_DIG__;7;__DEC32_MIN_EXP__;(-94);__DEC32_MAX_EXP__;97;__DEC32_MIN__;1E-95DF;__DEC32_MAX__;9.999999E96DF;__DEC32_EPSILON__;1E-6DF;__DEC32_SUBNORMAL_MIN__;0.000001E-95DF;__DEC64_MANT_DIG__;16;__DEC64_MIN_EXP__;(-382);__DEC64_MAX_EXP__;385;__DEC64_MIN__;1E-383DD;__DEC64_MAX__;9.999999999999999E384DD;__DEC64_EPSILON__;1E-15DD;__DEC64_SUBNORMAL_MIN__;0.000000000000001E-383DD;__DEC128_MANT_DIG__;34;__DEC128_MIN_EXP__;(-6142);__DEC128_MAX_EXP__;6145;__DEC128_MIN__;1E-6143DL;__DEC128_MAX__;9.999999999999999999999999999999999E6144DL;__DEC128_EPSILON__;1E-33DL;__DEC128_SUBNORMAL_MIN__;0.000000000000000000000000000000001E-6143DL;__REGISTER_PREFIX__; ;__USER_LABEL_PREFIX__; ;__GNUC_STDC_INLINE__;1;__NO_INLINE__;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8;1;__GCC_ATOMIC_BOOL_LOCK_FREE;2;__GCC_ATOMIC_CHAR_LOCK_FREE;2;__GCC_ATOMIC_CHAR16_T_LOCK_FREE;2;__GCC_ATOMIC_CHAR32_T_LOCK_FREE;2;__GCC_ATOMIC_WCHAR_T_LOCK_FREE;2;__GCC_ATOMIC_SHORT_LOCK_FREE;2;__GCC_ATOMIC_INT_LOCK_FREE;2;__GCC_ATOMIC_LONG_LOCK_FREE;2;__GCC_ATOMIC_LLONG_LOCK_FREE;2;__GCC_ATOMIC_TEST_AND_SET_TRUEVAL;1;__GCC_ATOMIC_POINTER_LOCK_FREE;2;__GCC_HAVE_DWARF2_CFI_ASM;1;__PRAGMA_REDEFINE_EXTNAME;1;__SSP_STRONG__;3;__SIZEOF_INT128__;16;__SIZEOF_WCHAR_T__;4;__SIZEOF_WINT_T__;4;__SIZEOF_PTRDIFF_T__;8;__amd64;1;__amd64__;1;__x86_64;1;__x86_64__;1;__SIZEOF_FLOAT80__;16;__SIZEOF_FLOAT128__;16;__ATOMIC_HLE_ACQUIRE;65536;__ATOMIC_HLE_RELEASE;131072;__GCC_ASM_FLAG_OUTPUTS__;1;__k8;1;__k8__;1;__code_model_small__;1;__MMX__;1;__SSE__;1;__SSE2__;1;__FXSR__;1;__SSE_MATH__;1;__SSE2_MATH__;1;__SEG_FS;1;__SEG_GS;1;__gnu_linux__;1;__linux;1;__linux__;1;linux;1;__unix;1;__unix__;1;unix;1;__ELF__;1;__DECIMAL_BID_FORMAT__;1;_STDC_PREDEF_H;1;__STDC_IEC_559__;1;__STDC_IEC_559_COMPLEX__;1;__STDC_ISO_10646__;201706L;__STDC_NO_THREADS__;1;__STDC__;1;__cplusplus;201402L;__STDC_UTF_16__;1;__STDC_UTF_32__;1;__STDC_HOSTED__;1;__GNUC__;7;__GNUC_MINOR__;5;__GNUC_PATCHLEVEL__;0;__VERSION__;"7.5.0";__ATOMIC_RELAXED;0;__ATOMIC_SEQ_CST;5;__ATOMIC_ACQUIRE;2;__ATOMIC_RELEASE;3;__ATOMIC_ACQ_REL;4;__ATOMIC_CONSUME;1;__pic__;2;__PIC__;2;__pie__;2;__PIE__;2;__FINITE_MATH_ONLY__;0;_LP64;1;__LP64__;1;__SIZEOF_INT__;4;__SIZEOF_LONG__;8;__SIZEOF_LONG_LONG__;8;__SIZEOF_SHORT__;2;__SIZEOF_FLOAT__;4;__SIZEOF_DOUBLE__;8;__SIZEOF_LONG_DOUBLE__;16;__SIZEOF_SIZE_T__;8;__CHAR_BIT__;8;__BIGGEST_ALIGNMENT__;16;__ORDER_LITTLE_ENDIAN__;1234;__ORDER_BIG_ENDIAN__;4321;__ORDER_PDP_ENDIAN__;3412;__BYTE_ORDER__;__ORDER_LITTLE_ENDIAN__;__FLOAT_WORD_ORDER__;__ORDER_LITTLE_ENDIAN__;__SIZEOF_POINTER__;8;__GNUG__;7;__SIZE_TYPE__;long unsigned int;__PTRDIFF_TYPE__;long int;__WCHAR_TYPE__;int;__WINT_TYPE__;unsigned int;__INTMAX_TYPE__;long int;__UINTMAX_TYPE__;long unsigned int;__CHAR16_TYPE__;short unsigned int;__CHAR32_TYPE__;unsigned int;__SIG_ATOMIC_TYPE__;int;__INT8_TYPE__;signed char;__INT16_TYPE__;short int;__INT32_TYPE__;int;__INT64_TYPE__;long int;__UINT8_TYPE__;unsigned char;__UINT16_TYPE__;short unsigned int;__UINT32_TYPE__;unsigned int;__UINT64_TYPE__;long unsigned int;__INT_LEAST8_TYPE__;signed char;__INT_LEAST16_TYPE__;short int;__INT_LEAST32_TYPE__;int;__INT_LEAST64_TYPE__;long int;__UINT_LEAST8_TYPE__;unsigned char;__UINT_LEAST16_TYPE__;short unsigned int;__UINT_LEAST32_TYPE__;unsigned int;__UINT_LEAST64_TYPE__;long unsigned int;__INT_FAST8_TYPE__;signed char;__INT_FAST16_TYPE__;long int;__INT_FAST32_TYPE__;long int;__INT_FAST64_TYPE__;long int;__UINT_FAST8_TYPE__;unsigned char;__UINT_FAST16_TYPE__;long unsigned int;__UINT_FAST32_TYPE__;long unsigned int;__UINT_FAST64_TYPE__;long unsigned int;__INTPTR_TYPE__;long int;__UINTPTR_TYPE__;long unsigned int;__has_include(STR);__has_include__(STR);__has_include_next(STR);__has_include_next__(STR);__GXX_WEAK__;1;__DEPRECATED;1;__GXX_RTTI;1;__cpp_rtti;199711;__GXX_EXPERIMENTAL_CXX0X__;1;__cpp_binary_literals;201304;__cpp_hex_float;201603;__cpp_runtime_arrays;198712;__cpp_unicode_characters;200704;__cpp_raw_strings;200710;__cpp_unicode_literals;200710;__cpp_user_defined_literals;200809;__cpp_lambdas;200907;__cpp_range_based_for;200907;__cpp_static_assert;200410;__cpp_decltype;200707;__cpp_attributes;200809;__cpp_rvalue_reference;200610;__cpp_rvalue_references;200610;__cpp_variadic_templates;200704;__cpp_initializer_lists;200806;__cpp_delegating_constructors;200604;__cpp_nsdmi;200809;__cpp_inheriting_constructors;201511;__cpp_ref_qualifiers;200710;__cpp_alias_templates;200704;__cpp_return_type_deduction;201304;__cpp_init_captures;201304;__cpp_generic_lambdas;201304;__cpp_constexpr;201304;__cpp_decltype_auto;201304;__cpp_aggregate_nsdmi;201304;__cpp_variable_templates;201304;__cpp_digit_separators;201309;__cpp_sized_deallocation;201309;__cpp_threadsafe_static_init;200806;__EXCEPTIONS;1;__cpp_exceptions;199711;__GXX_ABI_VERSION;1011;__SCHAR_MAX__;0x7f;__SHRT_MAX__;0x7fff;__INT_MAX__;0x7fffffff;__LONG_MAX__;0x7fffffffffffffffL;__LONG_LONG_MAX__;0x7fffffffffffffffLL;__WCHAR_MAX__;0x7fffffff;__WCHAR_MIN__;(-__WCHAR_MAX__ - 1);__WINT_MAX__;0xffffffffU;__WINT_MIN__;0U;__PTRDIFF_MAX__;0x7fffffffffffffffL;__SIZE_MAX__;0xffffffffffffffffUL;__SCHAR_WIDTH__;8;__SHRT_WIDTH__;16;__INT_WIDTH__;32;__LONG_WIDTH__;64;__LONG_LONG_WIDTH__;64;__WCHAR_WIDTH__;32;__WINT_WIDTH__;32;__PTRDIFF_WIDTH__;64;__SIZE_WIDTH__;64;__GLIBCXX_TYPE_INT_N_0;__int128;__GLIBCXX_BITSIZE_INT_N_0;128;__INTMAX_MAX__;0x7fffffffffffffffL;__INTMAX_C(c);c ## L;__UINTMAX_MAX__;0xffffffffffffffffUL;__UINTMAX_C(c);c ## UL;__INTMAX_WIDTH__;64;__SIG_ATOMIC_MAX__;0x7fffffff;__SIG_ATOMIC_MIN__;(-__SIG_ATOMIC_MAX__ - 1);__SIG_ATOMIC_WIDTH__;32;__INT8_MAX__;0x7f;__INT16_MAX__;0x7fff;__INT32_MAX__;0x7fffffff;__INT64_MAX__;0x7fffffffffffffffL;__UINT8_MAX__;0xff;__UINT16_MAX__;0xffff;__UINT32_MAX__;0xffffffffU;__UINT64_MAX__;0xffffffffffffffffUL;__INT_LEAST8_MAX__;0x7f;__INT8_C(c);c;__INT_LEAST8_WIDTH__;8;__INT_LEAST16_MAX__;0x7fff;__INT16_C(c);c;__INT_LEAST16_WIDTH__;16;__INT_LEAST32_MAX__;0x7fffffff;__INT32_C(c);c;__INT_LEAST32_WIDTH__;32;__INT_LEAST64_MAX__;0x7fffffffffffffffL;__INT64_C(c);c ## L;__INT_LEAST64_WIDTH__;64;__UINT_LEAST8_MAX__;0xff;__UINT8_C(c);c;__UINT_LEAST16_MAX__;0xffff;__UINT16_C(c);c;__UINT_LEAST32_MAX__;0xffffffffU;__UINT32_C(c);c ## U;__UINT_LEAST64_MAX__;0xffffffffffffffffUL;__UINT64_C(c);c ## UL;__INT_FAST8_MAX__;0x7f;__INT_FAST8_WIDTH__;8;__INT_FAST16_MAX__;0x7fffffffffffffffL;__INT_FAST16_WIDTH__;64;__INT_FAST32_MAX__;0x7fffffffffffffffL;__INT_FAST32_WIDTH__;64;__INT_FAST64_MAX__;0x7fffffffffffffffL;__INT_FAST64_WIDTH__;64;__UINT_FAST8_MAX__;0xff;__UINT_FAST16_MAX__;0xffffffffffffffffUL;__UINT_FAST32_MAX__;0xffffffffffffffffUL;__UINT_FAST64_MAX__;0xffffffffffffffffUL;__INTPTR_MAX__;0x7fffffffffffffffL;__INTPTR_WIDTH__;64;__UINTPTR_MAX__;0xffffffffffffffffUL;__GCC_IEC_559;2;__GCC_IEC_559_COMPLEX;2;__FLT_EVAL_METHOD__;0;__FLT_EVAL_METHOD_TS_18661_3__;0;__DEC_EVAL_METHOD__;2;__FLT_RADIX__;2;__FLT_MANT_DIG__;24;__FLT_DIG__;6;__FLT_MIN_EXP__;(-125);__FLT_MIN_10_EXP__;(-37);__FLT_MAX_EXP__;128;__FLT_MAX_10_EXP__;38;__FLT_DECIMAL_DIG__;9;__FLT_MAX__;3.40282346638528859811704183484516925e+38F;__FLT_MIN__;1.17549435082228750796873653722224568e-38F;__FLT_EPSILON__;1.19209289550781250000000000000000000e-7F;__FLT_DENORM_MIN__;1.40129846432481707092372958328991613e-45F;__FLT_HAS_DENORM__;1;__FLT_HAS_INFINITY__;1;__FLT_HAS_QUIET_NAN__;1;__DBL_MANT_DIG__;53;__DBL_DIG__;15;__DBL_MIN_EXP__;(-1021);__DBL_MIN_10_EXP__;(-307);__DBL_MAX_EXP__;1024;__DBL_MAX_10_EXP__;308;__DBL_DECIMAL_DIG__;17;__DBL_MAX__;double(1.79769313486231570814527423731704357e+308L);__DBL_MIN__;double(2.22507385850720138309023271733240406e-308L);__DBL_EPSILON__;double(2.22044604925031308084726333618164062e-16L);__DBL_DENORM_MIN__;double(4.94065645841246544176568792868221372e-324L);__DBL_HAS_DENORM__;1;__DBL_HAS_INFINITY__;1;__DBL_HAS_QUIET_NAN__;1;__LDBL_MANT_DIG__;64;__LDBL_DIG__;18;__LDBL_MIN_EXP__;(-16381);__LDBL_MIN_10_EXP__;(-4931);__LDBL_MAX_EXP__;16384;__LDBL_MAX_10_EXP__;4932;__DECIMAL_DIG__;21;__LDBL_DECIMAL_DIG__;21;__LDBL_MAX__;1.18973149535723176502126385303097021e+4932L;__LDBL_MIN__;3.36210314311209350626267781732175260e-4932L;__LDBL_EPSILON__;1.08420217248550443400745280086994171e-19L;__LDBL_DENORM_MIN__;3.64519953188247460252840593361941982e-4951L;__LDBL_HAS_DENORM__;1;__LDBL_HAS_INFINITY__;1;__LDBL_HAS_QUIET_NAN__;1;__FLT32_MANT_DIG__;24;__FLT32_DIG__;6;__FLT32_MIN_EXP__;(-125);__FLT32_MIN_10_EXP__;(-37);__FLT32_MAX_EXP__;128;__FLT32_MAX_10_EXP__;38;__FLT32_DECIMAL_DIG__;9;__FLT32_MAX__;3.40282346638528859811704183484516925e+38F32;__FLT32_MIN__;1.17549435082228750796873653722224568e-38F32;__FLT32_EPSILON__;1.19209289550781250000000000000000000e-7F32;__FLT32_DENORM_MIN__;1.40129846432481707092372958328991613e-45F32;__FLT32_HAS_DENORM__;1;__FLT32_HAS_INFINITY__;1;__FLT32_HAS_QUIET_NAN__;1;__FLT64_MANT_DIG__;53;__FLT64_DIG__;15;__FLT64_MIN_EXP__;(-1021);__FLT64_MIN_10_EXP__;(-307);__FLT64_MAX_EXP__;1024;__FLT64_MAX_10_EXP__;308;__FLT64_DECIMAL_DIG__;17;__FLT64_MAX__;1.79769313486231570814527423731704357e+308F64;__FLT64_MIN__;2.22507385850720138309023271733240406e-308F64;__FLT64_EPSILON__;2.22044604925031308084726333618164062e-16F64;__FLT64_DENORM_MIN__;4.94065645841246544176568792868221372e-324F64;__FLT64_HAS_DENORM__;1;__FLT64_HAS_INFINITY__;1;__FLT64_HAS_QUIET_NAN__;1;__FLT128_MANT_DIG__;113;__FLT128_DIG__;33;__FLT128_MIN_EXP__;(-16381);__FLT128_MIN_10_EXP__;(-4931);__FLT128_MAX_EXP__;16384;__FLT128_MAX_10_EXP__;4932;__FLT128_DECIMAL_DIG__;36;__FLT128_MAX__;1.18973149535723176508575932662800702e+4932F128;__FLT128_MIN__;3.36210314311209350626267781732175260e-4932F128;__FLT128_EPSILON__;1.92592994438723585305597794258492732e-34F128;__FLT128_DENORM_MIN__;6.47517511943802511092443895822764655e-4966F128;__FLT128_HAS_DENORM__;1;__FLT128_HAS_INFINITY__;1;__FLT128_HAS_QUIET_NAN__;1;__FLT32X_MANT_DIG__;53;__FLT32X_DIG__;15;__FLT32X_MIN_EXP__;(-1021);__FLT32X_MIN_10_EXP__;(-307);__FLT32X_MAX_EXP__;1024;__FLT32X_MAX_10_EXP__;308;__FLT32X_DECIMAL_DIG__;17;__FLT32X_MAX__;1.79769313486231570814527423731704357e+308F32x;__FLT32X_MIN__;2.22507385850720138309023271733240406e-308F32x;__FLT32X_EPSILON__;2.22044604925031308084726333618164062e-16F32x;__FLT32X_DENORM_MIN__;4.94065645841246544176568792868221372e-324F32x;__FLT32X_HAS_DENORM__;1;__FLT32X_HAS_INFINITY__;1;__FLT32X_HAS_QUIET_NAN__;1;__FLT64X_MANT_DIG__;64;__FLT64X_DIG__;18;__FLT64X_MIN_EXP__;(-16381);__FLT64X_MIN_10_EXP__;(-4931);__FLT64X_MAX_EXP__;16384;__FLT64X_MAX_10_EXP__;4932;__FLT64X_DECIMAL_DIG__;21;__FLT64X_MAX__;1.18973149535723176502126385303097021e+4932F64x;__FLT64X_MIN__;3.36210314311209350626267781732175260e-4932F64x;__FLT64X_EPSILON__;1.08420217248550443400745280086994171e-19F64x;__FLT64X_DENORM_MIN__;3.64519953188247460252840593361941982e-4951F64x;__FLT64X_HAS_DENORM__;1;__FLT64X_HAS_INFINITY__;1;__FLT64X_HAS_QUIET_NAN__;1;__DEC32_MANT_DIG__;7;__DEC32_MIN_EXP__;(-94);__DEC32_MAX_EXP__;97;__DEC32_MIN__;1E-95DF;__DEC32_MAX__;9.999999E96DF;__DEC32_EPSILON__;1E-6DF;__DEC32_SUBNORMAL_MIN__;0.000001E-95DF;__DEC64_MANT_DIG__;16;__DEC64_MIN_EXP__;(-382);__DEC64_MAX_EXP__;385;__DEC64_MIN__;1E-383DD;__DEC64_MAX__;9.999999999999999E384DD;__DEC64_EPSILON__;1E-15DD;__DEC64_SUBNORMAL_MIN__;0.000000000000001E-383DD;__DEC128_MANT_DIG__;34;__DEC128_MIN_EXP__;(-6142);__DEC128_MAX_EXP__;6145;__DEC128_MIN__;1E-6143DL;__DEC128_MAX__;9.999999999999999999999999999999999E6144DL;__DEC128_EPSILON__;1E-33DL;__DEC128_SUBNORMAL_MIN__;0.000000000000000000000000000000001E-6143DL;__REGISTER_PREFIX__; ;__USER_LABEL_PREFIX__; ;__GNUC_STDC_INLINE__;1;__NO_INLINE__;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8;1;__GCC_ATOMIC_BOOL_LOCK_FREE;2;__GCC_ATOMIC_CHAR_LOCK_FREE;2;__GCC_ATOMIC_CHAR16_T_LOCK_FREE;2;__GCC_ATOMIC_CHAR32_T_LOCK_FREE;2;__GCC_ATOMIC_WCHAR_T_LOCK_FREE;2;__GCC_ATOMIC_SHORT_LOCK_FREE;2;__GCC_ATOMIC_INT_LOCK_FREE;2;__GCC_ATOMIC_LONG_LOCK_FREE;2;__GCC_ATOMIC_LLONG_LOCK_FREE;2;__GCC_ATOMIC_TEST_AND_SET_TRUEVAL;1;__GCC_ATOMIC_POINTER_LOCK_FREE;2;__GCC_HAVE_DWARF2_CFI_ASM;1;__PRAGMA_REDEFINE_EXTNAME;1;__SSP_STRONG__;3;__SIZEOF_INT128__;16;__SIZEOF_WCHAR_T__;4;__SIZEOF_WINT_T__;4;__SIZEOF_PTRDIFF_T__;8;__amd64;1;__amd64__;1;__x86_64;1;__x86_64__;1;__SIZEOF_FLOAT80__;16;__SIZEOF_FLOAT128__;16;__ATOMIC_HLE_ACQUIRE;65536;__ATOMIC_HLE_RELEASE;131072;__GCC_ASM_FLAG_OUTPUTS__;1;__k8;1;__k8__;1;__code_model_small__;1;__MMX__;1;__SSE__;1;__SSE2__;1;__FXSR__;1;__SSE_MATH__;1;__SSE2_MATH__;1;__SEG_FS;1;__SEG_GS;1;__gnu_linux__;1;__linux;1;__linux__;1;linux;1;__unix;1;__unix__;1;unix;1;__ELF__;1;__DECIMAL_BID_FORMAT__;1;_GNU_SOURCE;1;_STDC_PREDEF_H;1;__STDC_IEC_559__;1;__STDC_IEC_559_COMPLEX__;1;__STDC_ISO_10646__;201706L;__STDC_NO_THREADS__;1 +//CXX compiler system include directories +CMAKE_EXTRA_GENERATOR_CXX_SYSTEM_INCLUDE_DIRS:INTERNAL=/usr/include/c++/7;/usr/include/x86_64-linux-gnu/c++/7;/usr/include/c++/7/backward;/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include +//C compiler system defined macros +CMAKE_EXTRA_GENERATOR_C_SYSTEM_DEFINED_MACROS:INTERNAL=__STDC__;1;__STDC_VERSION__;201112L;__STDC_UTF_16__;1;__STDC_UTF_32__;1;__STDC_HOSTED__;1;__GNUC__;7;__GNUC_MINOR__;5;__GNUC_PATCHLEVEL__;0;__VERSION__;"7.5.0";__ATOMIC_RELAXED;0;__ATOMIC_SEQ_CST;5;__ATOMIC_ACQUIRE;2;__ATOMIC_RELEASE;3;__ATOMIC_ACQ_REL;4;__ATOMIC_CONSUME;1;__pic__;2;__PIC__;2;__pie__;2;__PIE__;2;__FINITE_MATH_ONLY__;0;_LP64;1;__LP64__;1;__SIZEOF_INT__;4;__SIZEOF_LONG__;8;__SIZEOF_LONG_LONG__;8;__SIZEOF_SHORT__;2;__SIZEOF_FLOAT__;4;__SIZEOF_DOUBLE__;8;__SIZEOF_LONG_DOUBLE__;16;__SIZEOF_SIZE_T__;8;__CHAR_BIT__;8;__BIGGEST_ALIGNMENT__;16;__ORDER_LITTLE_ENDIAN__;1234;__ORDER_BIG_ENDIAN__;4321;__ORDER_PDP_ENDIAN__;3412;__BYTE_ORDER__;__ORDER_LITTLE_ENDIAN__;__FLOAT_WORD_ORDER__;__ORDER_LITTLE_ENDIAN__;__SIZEOF_POINTER__;8;__SIZE_TYPE__;long unsigned int;__PTRDIFF_TYPE__;long int;__WCHAR_TYPE__;int;__WINT_TYPE__;unsigned int;__INTMAX_TYPE__;long int;__UINTMAX_TYPE__;long unsigned int;__CHAR16_TYPE__;short unsigned int;__CHAR32_TYPE__;unsigned int;__SIG_ATOMIC_TYPE__;int;__INT8_TYPE__;signed char;__INT16_TYPE__;short int;__INT32_TYPE__;int;__INT64_TYPE__;long int;__UINT8_TYPE__;unsigned char;__UINT16_TYPE__;short unsigned int;__UINT32_TYPE__;unsigned int;__UINT64_TYPE__;long unsigned int;__INT_LEAST8_TYPE__;signed char;__INT_LEAST16_TYPE__;short int;__INT_LEAST32_TYPE__;int;__INT_LEAST64_TYPE__;long int;__UINT_LEAST8_TYPE__;unsigned char;__UINT_LEAST16_TYPE__;short unsigned int;__UINT_LEAST32_TYPE__;unsigned int;__UINT_LEAST64_TYPE__;long unsigned int;__INT_FAST8_TYPE__;signed char;__INT_FAST16_TYPE__;long int;__INT_FAST32_TYPE__;long int;__INT_FAST64_TYPE__;long int;__UINT_FAST8_TYPE__;unsigned char;__UINT_FAST16_TYPE__;long unsigned int;__UINT_FAST32_TYPE__;long unsigned int;__UINT_FAST64_TYPE__;long unsigned int;__INTPTR_TYPE__;long int;__UINTPTR_TYPE__;long unsigned int;__has_include(STR);__has_include__(STR);__has_include_next(STR);__has_include_next__(STR);__GXX_ABI_VERSION;1011;__SCHAR_MAX__;0x7f;__SHRT_MAX__;0x7fff;__INT_MAX__;0x7fffffff;__LONG_MAX__;0x7fffffffffffffffL;__LONG_LONG_MAX__;0x7fffffffffffffffLL;__WCHAR_MAX__;0x7fffffff;__WCHAR_MIN__;(-__WCHAR_MAX__ - 1);__WINT_MAX__;0xffffffffU;__WINT_MIN__;0U;__PTRDIFF_MAX__;0x7fffffffffffffffL;__SIZE_MAX__;0xffffffffffffffffUL;__SCHAR_WIDTH__;8;__SHRT_WIDTH__;16;__INT_WIDTH__;32;__LONG_WIDTH__;64;__LONG_LONG_WIDTH__;64;__WCHAR_WIDTH__;32;__WINT_WIDTH__;32;__PTRDIFF_WIDTH__;64;__SIZE_WIDTH__;64;__INTMAX_MAX__;0x7fffffffffffffffL;__INTMAX_C(c);c ## L;__UINTMAX_MAX__;0xffffffffffffffffUL;__UINTMAX_C(c);c ## UL;__INTMAX_WIDTH__;64;__SIG_ATOMIC_MAX__;0x7fffffff;__SIG_ATOMIC_MIN__;(-__SIG_ATOMIC_MAX__ - 1);__SIG_ATOMIC_WIDTH__;32;__INT8_MAX__;0x7f;__INT16_MAX__;0x7fff;__INT32_MAX__;0x7fffffff;__INT64_MAX__;0x7fffffffffffffffL;__UINT8_MAX__;0xff;__UINT16_MAX__;0xffff;__UINT32_MAX__;0xffffffffU;__UINT64_MAX__;0xffffffffffffffffUL;__INT_LEAST8_MAX__;0x7f;__INT8_C(c);c;__INT_LEAST8_WIDTH__;8;__INT_LEAST16_MAX__;0x7fff;__INT16_C(c);c;__INT_LEAST16_WIDTH__;16;__INT_LEAST32_MAX__;0x7fffffff;__INT32_C(c);c;__INT_LEAST32_WIDTH__;32;__INT_LEAST64_MAX__;0x7fffffffffffffffL;__INT64_C(c);c ## L;__INT_LEAST64_WIDTH__;64;__UINT_LEAST8_MAX__;0xff;__UINT8_C(c);c;__UINT_LEAST16_MAX__;0xffff;__UINT16_C(c);c;__UINT_LEAST32_MAX__;0xffffffffU;__UINT32_C(c);c ## U;__UINT_LEAST64_MAX__;0xffffffffffffffffUL;__UINT64_C(c);c ## UL;__INT_FAST8_MAX__;0x7f;__INT_FAST8_WIDTH__;8;__INT_FAST16_MAX__;0x7fffffffffffffffL;__INT_FAST16_WIDTH__;64;__INT_FAST32_MAX__;0x7fffffffffffffffL;__INT_FAST32_WIDTH__;64;__INT_FAST64_MAX__;0x7fffffffffffffffL;__INT_FAST64_WIDTH__;64;__UINT_FAST8_MAX__;0xff;__UINT_FAST16_MAX__;0xffffffffffffffffUL;__UINT_FAST32_MAX__;0xffffffffffffffffUL;__UINT_FAST64_MAX__;0xffffffffffffffffUL;__INTPTR_MAX__;0x7fffffffffffffffL;__INTPTR_WIDTH__;64;__UINTPTR_MAX__;0xffffffffffffffffUL;__GCC_IEC_559;2;__GCC_IEC_559_COMPLEX;2;__FLT_EVAL_METHOD__;0;__FLT_EVAL_METHOD_TS_18661_3__;0;__DEC_EVAL_METHOD__;2;__FLT_RADIX__;2;__FLT_MANT_DIG__;24;__FLT_DIG__;6;__FLT_MIN_EXP__;(-125);__FLT_MIN_10_EXP__;(-37);__FLT_MAX_EXP__;128;__FLT_MAX_10_EXP__;38;__FLT_DECIMAL_DIG__;9;__FLT_MAX__;3.40282346638528859811704183484516925e+38F;__FLT_MIN__;1.17549435082228750796873653722224568e-38F;__FLT_EPSILON__;1.19209289550781250000000000000000000e-7F;__FLT_DENORM_MIN__;1.40129846432481707092372958328991613e-45F;__FLT_HAS_DENORM__;1;__FLT_HAS_INFINITY__;1;__FLT_HAS_QUIET_NAN__;1;__DBL_MANT_DIG__;53;__DBL_DIG__;15;__DBL_MIN_EXP__;(-1021);__DBL_MIN_10_EXP__;(-307);__DBL_MAX_EXP__;1024;__DBL_MAX_10_EXP__;308;__DBL_DECIMAL_DIG__;17;__DBL_MAX__;((double)1.79769313486231570814527423731704357e+308L);__DBL_MIN__;((double)2.22507385850720138309023271733240406e-308L);__DBL_EPSILON__;((double)2.22044604925031308084726333618164062e-16L);__DBL_DENORM_MIN__;((double)4.94065645841246544176568792868221372e-324L);__DBL_HAS_DENORM__;1;__DBL_HAS_INFINITY__;1;__DBL_HAS_QUIET_NAN__;1;__LDBL_MANT_DIG__;64;__LDBL_DIG__;18;__LDBL_MIN_EXP__;(-16381);__LDBL_MIN_10_EXP__;(-4931);__LDBL_MAX_EXP__;16384;__LDBL_MAX_10_EXP__;4932;__DECIMAL_DIG__;21;__LDBL_DECIMAL_DIG__;21;__LDBL_MAX__;1.18973149535723176502126385303097021e+4932L;__LDBL_MIN__;3.36210314311209350626267781732175260e-4932L;__LDBL_EPSILON__;1.08420217248550443400745280086994171e-19L;__LDBL_DENORM_MIN__;3.64519953188247460252840593361941982e-4951L;__LDBL_HAS_DENORM__;1;__LDBL_HAS_INFINITY__;1;__LDBL_HAS_QUIET_NAN__;1;__FLT32_MANT_DIG__;24;__FLT32_DIG__;6;__FLT32_MIN_EXP__;(-125);__FLT32_MIN_10_EXP__;(-37);__FLT32_MAX_EXP__;128;__FLT32_MAX_10_EXP__;38;__FLT32_DECIMAL_DIG__;9;__FLT32_MAX__;3.40282346638528859811704183484516925e+38F32;__FLT32_MIN__;1.17549435082228750796873653722224568e-38F32;__FLT32_EPSILON__;1.19209289550781250000000000000000000e-7F32;__FLT32_DENORM_MIN__;1.40129846432481707092372958328991613e-45F32;__FLT32_HAS_DENORM__;1;__FLT32_HAS_INFINITY__;1;__FLT32_HAS_QUIET_NAN__;1;__FLT64_MANT_DIG__;53;__FLT64_DIG__;15;__FLT64_MIN_EXP__;(-1021);__FLT64_MIN_10_EXP__;(-307);__FLT64_MAX_EXP__;1024;__FLT64_MAX_10_EXP__;308;__FLT64_DECIMAL_DIG__;17;__FLT64_MAX__;1.79769313486231570814527423731704357e+308F64;__FLT64_MIN__;2.22507385850720138309023271733240406e-308F64;__FLT64_EPSILON__;2.22044604925031308084726333618164062e-16F64;__FLT64_DENORM_MIN__;4.94065645841246544176568792868221372e-324F64;__FLT64_HAS_DENORM__;1;__FLT64_HAS_INFINITY__;1;__FLT64_HAS_QUIET_NAN__;1;__FLT128_MANT_DIG__;113;__FLT128_DIG__;33;__FLT128_MIN_EXP__;(-16381);__FLT128_MIN_10_EXP__;(-4931);__FLT128_MAX_EXP__;16384;__FLT128_MAX_10_EXP__;4932;__FLT128_DECIMAL_DIG__;36;__FLT128_MAX__;1.18973149535723176508575932662800702e+4932F128;__FLT128_MIN__;3.36210314311209350626267781732175260e-4932F128;__FLT128_EPSILON__;1.92592994438723585305597794258492732e-34F128;__FLT128_DENORM_MIN__;6.47517511943802511092443895822764655e-4966F128;__FLT128_HAS_DENORM__;1;__FLT128_HAS_INFINITY__;1;__FLT128_HAS_QUIET_NAN__;1;__FLT32X_MANT_DIG__;53;__FLT32X_DIG__;15;__FLT32X_MIN_EXP__;(-1021);__FLT32X_MIN_10_EXP__;(-307);__FLT32X_MAX_EXP__;1024;__FLT32X_MAX_10_EXP__;308;__FLT32X_DECIMAL_DIG__;17;__FLT32X_MAX__;1.79769313486231570814527423731704357e+308F32x;__FLT32X_MIN__;2.22507385850720138309023271733240406e-308F32x;__FLT32X_EPSILON__;2.22044604925031308084726333618164062e-16F32x;__FLT32X_DENORM_MIN__;4.94065645841246544176568792868221372e-324F32x;__FLT32X_HAS_DENORM__;1;__FLT32X_HAS_INFINITY__;1;__FLT32X_HAS_QUIET_NAN__;1;__FLT64X_MANT_DIG__;64;__FLT64X_DIG__;18;__FLT64X_MIN_EXP__;(-16381);__FLT64X_MIN_10_EXP__;(-4931);__FLT64X_MAX_EXP__;16384;__FLT64X_MAX_10_EXP__;4932;__FLT64X_DECIMAL_DIG__;21;__FLT64X_MAX__;1.18973149535723176502126385303097021e+4932F64x;__FLT64X_MIN__;3.36210314311209350626267781732175260e-4932F64x;__FLT64X_EPSILON__;1.08420217248550443400745280086994171e-19F64x;__FLT64X_DENORM_MIN__;3.64519953188247460252840593361941982e-4951F64x;__FLT64X_HAS_DENORM__;1;__FLT64X_HAS_INFINITY__;1;__FLT64X_HAS_QUIET_NAN__;1;__DEC32_MANT_DIG__;7;__DEC32_MIN_EXP__;(-94);__DEC32_MAX_EXP__;97;__DEC32_MIN__;1E-95DF;__DEC32_MAX__;9.999999E96DF;__DEC32_EPSILON__;1E-6DF;__DEC32_SUBNORMAL_MIN__;0.000001E-95DF;__DEC64_MANT_DIG__;16;__DEC64_MIN_EXP__;(-382);__DEC64_MAX_EXP__;385;__DEC64_MIN__;1E-383DD;__DEC64_MAX__;9.999999999999999E384DD;__DEC64_EPSILON__;1E-15DD;__DEC64_SUBNORMAL_MIN__;0.000000000000001E-383DD;__DEC128_MANT_DIG__;34;__DEC128_MIN_EXP__;(-6142);__DEC128_MAX_EXP__;6145;__DEC128_MIN__;1E-6143DL;__DEC128_MAX__;9.999999999999999999999999999999999E6144DL;__DEC128_EPSILON__;1E-33DL;__DEC128_SUBNORMAL_MIN__;0.000000000000000000000000000000001E-6143DL;__REGISTER_PREFIX__; ;__USER_LABEL_PREFIX__; ;__GNUC_STDC_INLINE__;1;__NO_INLINE__;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4;1;__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8;1;__GCC_ATOMIC_BOOL_LOCK_FREE;2;__GCC_ATOMIC_CHAR_LOCK_FREE;2;__GCC_ATOMIC_CHAR16_T_LOCK_FREE;2;__GCC_ATOMIC_CHAR32_T_LOCK_FREE;2;__GCC_ATOMIC_WCHAR_T_LOCK_FREE;2;__GCC_ATOMIC_SHORT_LOCK_FREE;2;__GCC_ATOMIC_INT_LOCK_FREE;2;__GCC_ATOMIC_LONG_LOCK_FREE;2;__GCC_ATOMIC_LLONG_LOCK_FREE;2;__GCC_ATOMIC_TEST_AND_SET_TRUEVAL;1;__GCC_ATOMIC_POINTER_LOCK_FREE;2;__GCC_HAVE_DWARF2_CFI_ASM;1;__PRAGMA_REDEFINE_EXTNAME;1;__SSP_STRONG__;3;__SIZEOF_INT128__;16;__SIZEOF_WCHAR_T__;4;__SIZEOF_WINT_T__;4;__SIZEOF_PTRDIFF_T__;8;__amd64;1;__amd64__;1;__x86_64;1;__x86_64__;1;__SIZEOF_FLOAT80__;16;__SIZEOF_FLOAT128__;16;__ATOMIC_HLE_ACQUIRE;65536;__ATOMIC_HLE_RELEASE;131072;__GCC_ASM_FLAG_OUTPUTS__;1;__k8;1;__k8__;1;__code_model_small__;1;__MMX__;1;__SSE__;1;__SSE2__;1;__FXSR__;1;__SSE_MATH__;1;__SSE2_MATH__;1;__SEG_FS;1;__SEG_GS;1;__gnu_linux__;1;__linux;1;__linux__;1;linux;1;__unix;1;__unix__;1;unix;1;__ELF__;1;__DECIMAL_BID_FORMAT__;1;_STDC_PREDEF_H;1;__STDC_IEC_559__;1;__STDC_IEC_559_COMPLEX__;1;__STDC_ISO_10646__;201706L;__STDC_NO_THREADS__;1 +//C compiler system include directories +CMAKE_EXTRA_GENERATOR_C_SYSTEM_INCLUDE_DIRS:INTERNAL=/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include +//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/osi/CLionProjects/oop +//Install .so files without execute permission. +CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1 +//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=/snap/clion/114/bin/cmake/linux/share/cmake-3.16 +//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=/bin/uname +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: ProcessorCount_cmd_nproc +ProcessorCount_cmd_nproc-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: ProcessorCount_cmd_sysctl +ProcessorCount_cmd_sysctl-ADVANCED:INTERNAL=1 + diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeCCompiler.cmake b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeCCompiler.cmake new file mode 100644 index 000000000..5e07ef4f5 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeCCompiler.cmake @@ -0,0 +1,76 @@ +set(CMAKE_C_COMPILER "/usr/bin/cc") +set(CMAKE_C_COMPILER_ARG1 "") +set(CMAKE_C_COMPILER_ID "GNU") +set(CMAKE_C_COMPILER_VERSION "7.5.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-7") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7") +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 "x86_64-linux-gnu") + +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 "x86_64-linux-gnu") +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-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/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-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib") +set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeCXXCompiler.cmake b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeCXXCompiler.cmake new file mode 100644 index 000000000..1ff034b11 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeCXXCompiler.cmake @@ -0,0 +1,88 @@ +set(CMAKE_CXX_COMPILER "/usr/bin/c++") +set(CMAKE_CXX_COMPILER_ARG1 "") +set(CMAKE_CXX_COMPILER_ID "GNU") +set(CMAKE_CXX_COMPILER_VERSION "7.5.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") +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 "") + +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-7") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7") +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 "x86_64-linux-gnu") + +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 "x86_64-linux-gnu") +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++/7;/usr/include/x86_64-linux-gnu/c++/7;/usr/include/c++/7/backward;/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/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-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib") +set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeDetermineCompilerABI_C.bin b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeDetermineCompilerABI_C.bin new file mode 100755 index 000000000..11a81f892 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeDetermineCompilerABI_C.bin differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeDetermineCompilerABI_CXX.bin b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeDetermineCompilerABI_CXX.bin new file mode 100755 index 000000000..06f175697 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeDetermineCompilerABI_CXX.bin differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeSystem.cmake b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeSystem.cmake new file mode 100644 index 000000000..40be15b65 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CMakeSystem.cmake @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "Linux-4.15.0-101-generic") +set(CMAKE_HOST_SYSTEM_NAME "Linux") +set(CMAKE_HOST_SYSTEM_VERSION "4.15.0-101-generic") +set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") + + + +set(CMAKE_SYSTEM "Linux-4.15.0-101-generic") +set(CMAKE_SYSTEM_NAME "Linux") +set(CMAKE_SYSTEM_VERSION "4.15.0-101-generic") +set(CMAKE_SYSTEM_PROCESSOR "x86_64") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CompilerIdC/CMakeCCompilerId.c b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CompilerIdC/CMakeCCompilerId.c new file mode 100644 index 000000000..d884b5090 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CompilerIdC/CMakeCCompilerId.c @@ -0,0 +1,671 @@ +#ifdef __cplusplus +# error "A C++ compiler has been selected for C." +#endif + +#if defined(__18CXX) +# define ID_VOID_MAIN +#endif +#if defined(__CLASSIC_C__) +/* cv-qualifiers did not exist in K&R C */ +# define const +# define volatile +#endif + + +/* Version number components: V=Version, R=Revision, P=Patch + Version date components: YYYY=Year, MM=Month, DD=Day */ + +#if defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# if defined(__GNUC__) +# define SIMULATE_ID "GNU" +# endif + /* __INTEL_COMPILER = VRP */ +# 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_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(__CRAYXE) || defined(__CRAYXC) +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" + +# 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 +#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(__CRAYXE) || defined(__CRAYXC) + require += info_cray[argc]; +#endif + require += info_language_dialect_default[argc]; + (void)argv; + return require; +} +#endif diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CompilerIdC/a.out b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CompilerIdC/a.out new file mode 100755 index 000000000..11b7df452 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CompilerIdC/a.out differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CompilerIdCXX/CMakeCXXCompilerId.cpp b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CompilerIdCXX/CMakeCXXCompilerId.cpp new file mode 100644 index 000000000..69cfdba6b --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CompilerIdCXX/CMakeCXXCompilerId.cpp @@ -0,0 +1,660 @@ +/* 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(__CRAYXE) || defined(__CRAYXC) +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" + +# 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 +#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(__CRAYXE) || defined(__CRAYXC) + require += info_cray[argc]; +#endif + require += info_language_dialect_default[argc]; + (void)argv; + return require; +} diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CompilerIdCXX/a.out b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CompilerIdCXX/a.out new file mode 100755 index 000000000..71c2ceda8 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/3.16.5/CompilerIdCXX/a.out differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 000000000..e4e47d441 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/osi/CLionProjects/oop") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/osi/CLionProjects/oop/cmake-build-debug") + +# 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/8382/nakonechnaya/cmake-build-debug/CMakeFiles/CMakeOutput.log b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/CMakeOutput.log new file mode 100644 index 000000000..20d5147b8 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/CMakeOutput.log @@ -0,0 +1,465 @@ +The system is: Linux - 4.15.0-101-generic - 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/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/3.16.5/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/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/3.16.5/CompilerIdCXX/a.out" + +Determining if the C compiler works passed with the following output: +Change Dir: /home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/make cmTC_f7d7f/fast && /usr/bin/make -f CMakeFiles/cmTC_f7d7f.dir/build.make CMakeFiles/cmTC_f7d7f.dir/build +make[1]: вход в каталог «/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp» +Building C object CMakeFiles/cmTC_f7d7f.dir/testCCompiler.c.o +/usr/bin/cc -o CMakeFiles/cmTC_f7d7f.dir/testCCompiler.c.o -c /home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c +Linking C executable cmTC_f7d7f +/snap/clion/112/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f7d7f.dir/link.txt --verbose=1 +/usr/bin/cc CMakeFiles/cmTC_f7d7f.dir/testCCompiler.c.o -o cmTC_f7d7f +make[1]: выход из каталога «/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp» + + + +Detecting C compiler ABI info compiled with the following output: +Change Dir: /home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/make cmTC_c3383/fast && /usr/bin/make -f CMakeFiles/cmTC_c3383.dir/build.make CMakeFiles/cmTC_c3383.dir/build +make[1]: Entering directory '/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o +/usr/bin/cc -v -o CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o -c /snap/clion/112/bin/cmake/linux/share/cmake-3.16/Modules/CMakeCCompilerABI.c +Using built-in specs. +COLLECT_GCC=/usr/bin/cc +OFFLOAD_TARGET_NAMES=nvptx-none +OFFLOAD_TARGET_DEFAULT=1 +Target: x86_64-linux-gnu +Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu +Thread model: posix +gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' + /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu /snap/clion/112/bin/cmake/linux/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccxzLdBp.s +GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) + compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP + +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" +ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include" +#include "..." search starts here: +#include <...> search starts here: + /usr/lib/gcc/x86_64-linux-gnu/7/include + /usr/local/include + /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed + /usr/include/x86_64-linux-gnu + /usr/include +End of search list. +GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) + compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP + +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8 +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' + as -v --64 -o CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o /tmp/ccxzLdBp.s +GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30 +COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' +Linking C executable cmTC_c3383 +/snap/clion/112/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c3383.dir/link.txt --verbose=1 +/usr/bin/cc -v CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o -o cmTC_c3383 +Using built-in specs. +COLLECT_GCC=/usr/bin/cc +COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper +OFFLOAD_TARGET_NAMES=nvptx-none +OFFLOAD_TARGET_DEFAULT=1 +Target: x86_64-linux-gnu +Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu +Thread model: posix +gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) +COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_c3383' '-mtune=generic' '-march=x86-64' + /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccZruymt.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 -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_c3383 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_c3383.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-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_c3383' '-mtune=generic' '-march=x86-64' +make[1]: Leaving directory '/home/osi/CLionProjects/oop/cmake-build-debug/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-linux-gnu/7/include] + add: [/usr/local/include] + add: [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] + add: [/usr/include/x86_64-linux-gnu] + add: [/usr/include] + end of search list found + collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include] + collapse include dir [/usr/local/include] ==> [/usr/local/include] + collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] + collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu] + collapse include dir [/usr/include] ==> [/usr/include] + implicit include dirs: [/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/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/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp] + ignore line: [] + ignore line: [Run Build Command(s):/usr/bin/make cmTC_c3383/fast && /usr/bin/make -f CMakeFiles/cmTC_c3383.dir/build.make CMakeFiles/cmTC_c3383.dir/build] + ignore line: [make[1]: Entering directory '/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp'] + ignore line: [Building C object CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o] + ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o -c /snap/clion/112/bin/cmake/linux/share/cmake-3.16/Modules/CMakeCCompilerABI.c] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/cc] + ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] + ignore line: [OFFLOAD_TARGET_DEFAULT=1] + ignore line: [Target: x86_64-linux-gnu] + ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] + ignore line: [Thread model: posix] + ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] + ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu /snap/clion/112/bin/cmake/linux/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccxzLdBp.s] + ignore line: [GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)] + ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"] + ignore line: [#include "..." search starts here:] + ignore line: [#include <...> search starts here:] + ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include] + ignore line: [ /usr/local/include] + ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] + ignore line: [ /usr/include/x86_64-linux-gnu] + ignore line: [ /usr/include] + ignore line: [End of search list.] + ignore line: [GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)] + ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] + ignore line: [ as -v --64 -o CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o /tmp/ccxzLdBp.s] + ignore line: [GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] + ignore line: [Linking C executable cmTC_c3383] + ignore line: [/snap/clion/112/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c3383.dir/link.txt --verbose=1] + ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_c3383.dir/CMakeCCompilerABI.c.o -o cmTC_c3383 ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/cc] + ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] + ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] + ignore line: [OFFLOAD_TARGET_DEFAULT=1] + ignore line: [Target: x86_64-linux-gnu] + ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] + ignore line: [Thread model: posix] + ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_c3383' '-mtune=generic' '-march=x86-64'] + link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccZruymt.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 -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_c3383 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_c3383.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-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] + arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore + arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/ccZruymt.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 [-m] ==> ignore + arg [elf_x86_64] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [--as-needed] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore + arg [-pie] ==> ignore + arg [-znow] ==> ignore + arg [-zrelro] ==> ignore + arg [-o] ==> ignore + arg [cmTC_c3383] ==> ignore + arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore + arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> ignore + arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o] ==> ignore + arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] + arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu] + arg [-L/lib/../lib] ==> dir [/lib/../lib] + arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] + arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] + arg [CMakeFiles/cmTC_c3383.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-linux-gnu/7/crtendS.o] ==> ignore + arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> ignore + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib] + collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu] + collapse library dir [/lib/../lib] ==> [/lib] + collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] + collapse library dir [/usr/lib/../lib] ==> [/usr/lib] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib] + implicit libs: [gcc;gcc_s;c;gcc;gcc_s] + implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib] + implicit fwks: [] + + +Determining if the CXX compiler works passed with the following output: +Change Dir: /home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/make cmTC_06e04/fast && /usr/bin/make -f CMakeFiles/cmTC_06e04.dir/build.make CMakeFiles/cmTC_06e04.dir/build +make[1]: вход в каталог «/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp» +Building CXX object CMakeFiles/cmTC_06e04.dir/testCXXCompiler.cxx.o +/usr/bin/c++ -o CMakeFiles/cmTC_06e04.dir/testCXXCompiler.cxx.o -c /home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp/testCXXCompiler.cxx +Linking CXX executable cmTC_06e04 +/snap/clion/112/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_06e04.dir/link.txt --verbose=1 +/usr/bin/c++ CMakeFiles/cmTC_06e04.dir/testCXXCompiler.cxx.o -o cmTC_06e04 +make[1]: выход из каталога «/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp» + + + +Detecting CXX compiler ABI info compiled with the following output: +Change Dir: /home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/make cmTC_829d7/fast && /usr/bin/make -f CMakeFiles/cmTC_829d7.dir/build.make CMakeFiles/cmTC_829d7.dir/build +make[1]: Entering directory '/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o +/usr/bin/c++ -v -o CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o -c /snap/clion/112/bin/cmake/linux/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp +Using built-in specs. +COLLECT_GCC=/usr/bin/c++ +OFFLOAD_TARGET_NAMES=nvptx-none +OFFLOAD_TARGET_DEFAULT=1 +Target: x86_64-linux-gnu +Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu +Thread model: posix +gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' + /usr/lib/gcc/x86_64-linux-gnu/7/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /snap/clion/112/bin/cmake/linux/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/cclAvRSE.s +GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) + compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP + +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/7" +ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" +ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include" +#include "..." search starts here: +#include <...> search starts here: + /usr/include/c++/7 + /usr/include/x86_64-linux-gnu/c++/7 + /usr/include/c++/7/backward + /usr/lib/gcc/x86_64-linux-gnu/7/include + /usr/local/include + /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed + /usr/include/x86_64-linux-gnu + /usr/include +End of search list. +GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu) + compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP + +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +Compiler executable checksum: 3eb3dc290cd5714c3e1c3ae751116f07 +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' + as -v --64 -o CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o /tmp/cclAvRSE.s +GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30 +COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' +Linking CXX executable cmTC_829d7 +/snap/clion/112/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_829d7.dir/link.txt --verbose=1 +/usr/bin/c++ -v CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_829d7 +Using built-in specs. +COLLECT_GCC=/usr/bin/c++ +COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper +OFFLOAD_TARGET_NAMES=nvptx-none +OFFLOAD_TARGET_DEFAULT=1 +Target: x86_64-linux-gnu +Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu +Thread model: posix +gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) +COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_829d7' '-shared-libgcc' '-mtune=generic' '-march=x86-64' + /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cctpxenG.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 -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_829d7 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_829d7' '-shared-libgcc' '-mtune=generic' '-march=x86-64' +make[1]: Leaving directory '/home/osi/CLionProjects/oop/cmake-build-debug/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/include/c++/7] + add: [/usr/include/x86_64-linux-gnu/c++/7] + add: [/usr/include/c++/7/backward] + add: [/usr/lib/gcc/x86_64-linux-gnu/7/include] + add: [/usr/local/include] + add: [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] + add: [/usr/include/x86_64-linux-gnu] + add: [/usr/include] + end of search list found + collapse include dir [/usr/include/c++/7] ==> [/usr/include/c++/7] + collapse include dir [/usr/include/x86_64-linux-gnu/c++/7] ==> [/usr/include/x86_64-linux-gnu/c++/7] + collapse include dir [/usr/include/c++/7/backward] ==> [/usr/include/c++/7/backward] + collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include] + collapse include dir [/usr/local/include] ==> [/usr/local/include] + collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] + collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu] + collapse include dir [/usr/include] ==> [/usr/include] + implicit include dirs: [/usr/include/c++/7;/usr/include/x86_64-linux-gnu/c++/7;/usr/include/c++/7/backward;/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/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/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp] + ignore line: [] + ignore line: [Run Build Command(s):/usr/bin/make cmTC_829d7/fast && /usr/bin/make -f CMakeFiles/cmTC_829d7.dir/build.make CMakeFiles/cmTC_829d7.dir/build] + ignore line: [make[1]: Entering directory '/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/CMakeTmp'] + ignore line: [Building CXX object CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o] + ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o -c /snap/clion/112/bin/cmake/linux/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/c++] + ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] + ignore line: [OFFLOAD_TARGET_DEFAULT=1] + ignore line: [Target: x86_64-linux-gnu] + ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] + ignore line: [Thread model: posix] + ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] + ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /snap/clion/112/bin/cmake/linux/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/cclAvRSE.s] + ignore line: [GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)] + ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/7"] + ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"] + ignore line: [#include "..." search starts here:] + ignore line: [#include <...> search starts here:] + ignore line: [ /usr/include/c++/7] + ignore line: [ /usr/include/x86_64-linux-gnu/c++/7] + ignore line: [ /usr/include/c++/7/backward] + ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include] + ignore line: [ /usr/local/include] + ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] + ignore line: [ /usr/include/x86_64-linux-gnu] + ignore line: [ /usr/include] + ignore line: [End of search list.] + ignore line: [GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)] + ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [Compiler executable checksum: 3eb3dc290cd5714c3e1c3ae751116f07] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] + ignore line: [ as -v --64 -o CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o /tmp/cclAvRSE.s] + ignore line: [GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] + ignore line: [Linking CXX executable cmTC_829d7] + ignore line: [/snap/clion/112/bin/cmake/linux/bin/cmake -E cmake_link_script CMakeFiles/cmTC_829d7.dir/link.txt --verbose=1] + ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_829d7 ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/c++] + ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] + ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] + ignore line: [OFFLOAD_TARGET_DEFAULT=1] + ignore line: [Target: x86_64-linux-gnu] + ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] + ignore line: [Thread model: posix] + ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_829d7' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] + link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cctpxenG.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 -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_829d7 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_829d7.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] + arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore + arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/cctpxenG.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 [-m] ==> ignore + arg [elf_x86_64] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [--as-needed] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore + arg [-pie] ==> ignore + arg [-znow] ==> ignore + arg [-zrelro] ==> ignore + arg [-o] ==> ignore + arg [cmTC_829d7] ==> ignore + arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore + arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> ignore + arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o] ==> ignore + arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] + arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu] + arg [-L/lib/../lib] ==> dir [/lib/../lib] + arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] + arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] + arg [CMakeFiles/cmTC_829d7.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-linux-gnu/7/crtendS.o] ==> ignore + arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> ignore + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib] + collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu] + collapse library dir [/lib/../lib] ==> [/lib] + collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] + collapse library dir [/usr/lib/../lib] ==> [/usr/lib] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib] + implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc] + implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib] + implicit fwks: [] + + diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/Makefile.cmake b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/Makefile.cmake new file mode 100644 index 000000000..1f63bb0a7 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/Makefile.cmake @@ -0,0 +1,52 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# The generator used is: +set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") + +# The top level Makefile was generated from the following files: +set(CMAKE_MAKEFILE_DEPENDS + "CMakeCache.txt" + "../CMakeLists.txt" + "CMakeFiles/3.16.5/CMakeCCompiler.cmake" + "CMakeFiles/3.16.5/CMakeCXXCompiler.cmake" + "CMakeFiles/3.16.5/CMakeSystem.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/CMakeCInformation.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/CMakeCXXInformation.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/CMakeCommonLanguageInclude.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/CMakeFindCodeBlocks.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/CMakeGenericSystem.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/CMakeInitializeConfigs.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/CMakeLanguageInformation.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/CMakeSystemSpecificInformation.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/CMakeSystemSpecificInitialize.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/Compiler/CMakeCommonCompilerMacros.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/Compiler/GNU-C.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/Compiler/GNU-CXX.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/Compiler/GNU.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/Internal/CMakeCheckCompilerFlag.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/Platform/Linux-GNU-C.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/Platform/Linux-GNU-CXX.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/Platform/Linux-GNU.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/Platform/Linux.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/Platform/UnixPaths.cmake" + "/snap/clion/114/bin/cmake/linux/share/cmake-3.16/Modules/ProcessorCount.cmake" + ) + +# The corresponding makefile is: +set(CMAKE_MAKEFILE_OUTPUTS + "Makefile" + "CMakeFiles/cmake.check_cache" + ) + +# Byproducts of CMake generate step: +set(CMAKE_MAKEFILE_PRODUCTS + "CMakeFiles/CMakeDirectoryInformation.cmake" + ) + +# Dependency information for all targets: +set(CMAKE_DEPEND_INFO_FILES + "CMakeFiles/oop.dir/DependInfo.cmake" + ) diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/Makefile2 b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/Makefile2 new file mode 100644 index 000000000..8dc3b63cf --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/Makefile2 @@ -0,0 +1,106 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# Default target executed when no arguments are given to make. +default_target: all + +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# 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 = /snap/clion/114/bin/cmake/linux/bin/cmake + +# The command to remove a file. +RM = /snap/clion/114/bin/cmake/linux/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/osi/CLionProjects/oop + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/osi/CLionProjects/oop/cmake-build-debug + +#============================================================================= +# Directory level rules for the build root directory + +# The main recursive "all" target. +all: CMakeFiles/oop.dir/all + +.PHONY : all + +# The main recursive "preinstall" target. +preinstall: + +.PHONY : preinstall + +# The main recursive "clean" target. +clean: CMakeFiles/oop.dir/clean + +.PHONY : clean + +#============================================================================= +# Target rules for target CMakeFiles/oop.dir + +# All Build rule for target. +CMakeFiles/oop.dir/all: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/depend + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22 "Built target oop" +.PHONY : CMakeFiles/oop.dir/all + +# Build rule for subdir invocation for target. +CMakeFiles/oop.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles 22 + $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/oop.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles 0 +.PHONY : CMakeFiles/oop.dir/rule + +# Convenience name for target. +oop: CMakeFiles/oop.dir/rule + +.PHONY : oop + +# clean rule for target. +CMakeFiles/oop.dir/clean: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/clean +.PHONY : CMakeFiles/oop.dir/clean + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/TargetDirectories.txt b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/TargetDirectories.txt new file mode 100644 index 000000000..b4f665f73 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/TargetDirectories.txt @@ -0,0 +1,3 @@ +/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/rebuild_cache.dir +/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/edit_cache.dir +/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/clion-environment.txt b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/clion-environment.txt new file mode 100644 index 000000000..270d93c28 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/clion-environment.txt @@ -0,0 +1,3 @@ +ToolSet: 1.0 (local)Options: + +Options: \ No newline at end of file diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/clion-log.txt b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/clion-log.txt new file mode 100644 index 000000000..2180a87a2 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/clion-log.txt @@ -0,0 +1,4 @@ +/snap/clion/114/bin/cmake/linux/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /home/osi/CLionProjects/oop +-- Configuring done +-- Generating done +-- Build files have been written to: /home/osi/CLionProjects/oop/cmake-build-debug diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/cmake.check_cache b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/cmake.check_cache new file mode 100644 index 000000000..3dccd7317 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/CXX.includecache b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/CXX.includecache new file mode 100644 index 000000000..c840f1fe5 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/CXX.includecache @@ -0,0 +1,392 @@ +#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) + +#IncludeRegexScan: ^.*$ + +#IncludeRegexComplain: ^$ + +#IncludeRegexTransform: + +/home/osi/CLionProjects/oop/Commands/ActionWithObjectCommand.h +Command.h +/home/osi/CLionProjects/oop/Commands/Command.h + +/home/osi/CLionProjects/oop/Commands/AttackBaseCommand.h +Command.h +/home/osi/CLionProjects/oop/Commands/Command.h + +/home/osi/CLionProjects/oop/Commands/AttackUnitCommand.h +Command.h +/home/osi/CLionProjects/oop/Commands/Command.h + +/home/osi/CLionProjects/oop/Commands/Command.h +../Loggers/LogProxy.h +/home/osi/CLionProjects/oop/Loggers/LogProxy.h +../Loggers/Adapter.h +/home/osi/CLionProjects/oop/Loggers/Adapter.h +Rules.h +/home/osi/CLionProjects/oop/Commands/Rules.h +cmath +- + +/home/osi/CLionProjects/oop/Commands/CreateUnitCommand.h +Command.h +/home/osi/CLionProjects/oop/Commands/Command.h +GameException.h +/home/osi/CLionProjects/oop/Commands/GameException.h + +/home/osi/CLionProjects/oop/Commands/DeleteUnitCommand.h +Command.h +/home/osi/CLionProjects/oop/Commands/Command.h + +/home/osi/CLionProjects/oop/Commands/GameException.h +exception +- +iostream +- + +/home/osi/CLionProjects/oop/Commands/MoveUnitCommand.h +Command.h +/home/osi/CLionProjects/oop/Commands/Command.h + +/home/osi/CLionProjects/oop/Commands/Rules.h +../GameField.h +/home/osi/CLionProjects/oop/GameField.h + +/home/osi/CLionProjects/oop/Commands/StartGameCommand.h +Command.h +/home/osi/CLionProjects/oop/Commands/Command.h + +/home/osi/CLionProjects/oop/Commands/UnitsAttributesCommand.h +Command.h +/home/osi/CLionProjects/oop/Commands/Command.h + +/home/osi/CLionProjects/oop/Facade.cpp +Facade.h +/home/osi/CLionProjects/oop/Facade.h + +/home/osi/CLionProjects/oop/Facade.h +Manager.h +/home/osi/CLionProjects/oop/Manager.h + +/home/osi/CLionProjects/oop/FieldCell.h +landscapes/Forest.h +/home/osi/CLionProjects/oop/landscapes/Forest.h +landscapes/Grass.h +/home/osi/CLionProjects/oop/landscapes/Grass.h +landscapes/Mountains.h +/home/osi/CLionProjects/oop/landscapes/Mountains.h +landscapes/Swamp.h +/home/osi/CLionProjects/oop/landscapes/Swamp.h +landscapes/Proxy.h +/home/osi/CLionProjects/oop/landscapes/Proxy.h +Objects/units/FootTroops/Halberdier.h +/home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.h +Objects/units/FootTroops/Skeleton.h +/home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.h +Objects/units/RangedTroops/Archer.h +/home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.h +Objects/units/RangedTroops/Lich.h +/home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.h +Objects/units/FlyingTroops/Griffin.h +/home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.h +Objects/units/FlyingTroops/BoneDragon.h +/home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.h +Objects/neutralObjects/Bar.h +/home/osi/CLionProjects/oop/Objects/neutralObjects/Bar.h +Objects/neutralObjects/Hospital.h +/home/osi/CLionProjects/oop/Objects/neutralObjects/Hospital.h +Objects/neutralObjects/Shop.h +/home/osi/CLionProjects/oop/Objects/neutralObjects/Shop.h +Objects/neutralObjects/TrainingBase.h +/home/osi/CLionProjects/oop/Objects/neutralObjects/TrainingBase.h + +/home/osi/CLionProjects/oop/Game.h +Facade.h +/home/osi/CLionProjects/oop/Facade.h + +/home/osi/CLionProjects/oop/GameField.cpp +GameField.h +/home/osi/CLionProjects/oop/GameField.h + +/home/osi/CLionProjects/oop/GameField.h +Objects/Base.h +/home/osi/CLionProjects/oop/Objects/Base.h + +/home/osi/CLionProjects/oop/Gamer.h +Objects/Base.h +/home/osi/CLionProjects/oop/Objects/Base.h +string +- +utility +- + +/home/osi/CLionProjects/oop/Loggers/Adapter.cpp +Adapter.h +/home/osi/CLionProjects/oop/Loggers/Adapter.h + +/home/osi/CLionProjects/oop/Loggers/Adapter.h +Logger.h +/home/osi/CLionProjects/oop/Loggers/Logger.h +../GameField.h +/home/osi/CLionProjects/oop/GameField.h + +/home/osi/CLionProjects/oop/Loggers/FileLogger.h +Logger.h +/home/osi/CLionProjects/oop/Loggers/Logger.h +utility +- +fstream +/home/osi/CLionProjects/oop/Loggers/fstream + +/home/osi/CLionProjects/oop/Loggers/LogProxy.h +NoLogger.h +/home/osi/CLionProjects/oop/Loggers/NoLogger.h +FileLogger.h +/home/osi/CLionProjects/oop/Loggers/FileLogger.h +TerminalLogger.h +/home/osi/CLionProjects/oop/Loggers/TerminalLogger.h + +/home/osi/CLionProjects/oop/Loggers/Logger.h +string +- +iostream +- + +/home/osi/CLionProjects/oop/Loggers/NoLogger.h +Logger.h +/home/osi/CLionProjects/oop/Loggers/Logger.h + +/home/osi/CLionProjects/oop/Loggers/TerminalLogger.h +Logger.h +/home/osi/CLionProjects/oop/Loggers/Logger.h + +/home/osi/CLionProjects/oop/Manager.cpp +Manager.h +/home/osi/CLionProjects/oop/Manager.h + +/home/osi/CLionProjects/oop/Manager.h +iostream +- +map +- +vector +- +Commands/StartGameCommand.h +/home/osi/CLionProjects/oop/Commands/StartGameCommand.h +Commands/CreateUnitCommand.h +/home/osi/CLionProjects/oop/Commands/CreateUnitCommand.h +Commands/DeleteUnitCommand.h +/home/osi/CLionProjects/oop/Commands/DeleteUnitCommand.h +Commands/MoveUnitCommand.h +/home/osi/CLionProjects/oop/Commands/MoveUnitCommand.h +Commands/AttackUnitCommand.h +/home/osi/CLionProjects/oop/Commands/AttackUnitCommand.h +Commands/UnitsAttributesCommand.h +/home/osi/CLionProjects/oop/Commands/UnitsAttributesCommand.h +Commands/ActionWithObjectCommand.h +/home/osi/CLionProjects/oop/Commands/ActionWithObjectCommand.h +Commands/AttackBaseCommand.h +/home/osi/CLionProjects/oop/Commands/AttackBaseCommand.h +Memento.h +/home/osi/CLionProjects/oop/Memento.h + +/home/osi/CLionProjects/oop/Memento.cpp +Memento.h +/home/osi/CLionProjects/oop/Memento.h + +/home/osi/CLionProjects/oop/Memento.h +iostream +- +ctime +- +fstream +- +map +- +GameField.h +/home/osi/CLionProjects/oop/GameField.h +Loggers/LogProxy.h +/home/osi/CLionProjects/oop/Loggers/LogProxy.h +Gamer.h +/home/osi/CLionProjects/oop/Gamer.h + +/home/osi/CLionProjects/oop/Objects/Base.h +iostream +- +units/CompositeUnit.h +/home/osi/CLionProjects/oop/Objects/units/CompositeUnit.h +../FieldCell.h +/home/osi/CLionProjects/oop/FieldCell.h +Observer.h +/home/osi/CLionProjects/oop/Objects/Observer.h + +/home/osi/CLionProjects/oop/Objects/Object.h +string +- + +/home/osi/CLionProjects/oop/Objects/Observer.h +Object.h +/home/osi/CLionProjects/oop/Objects/Object.h + +/home/osi/CLionProjects/oop/Objects/Subject.h +Object.h +/home/osi/CLionProjects/oop/Objects/Object.h +Observer.h +/home/osi/CLionProjects/oop/Objects/Observer.h + +/home/osi/CLionProjects/oop/Objects/neutralObjects/Bar.h +NeutralObject.h +/home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + +/home/osi/CLionProjects/oop/Objects/neutralObjects/Hospital.h +NeutralObject.h +/home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + +/home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h +../Object.h +/home/osi/CLionProjects/oop/Objects/Object.h + +/home/osi/CLionProjects/oop/Objects/neutralObjects/Shop.h +NeutralObject.h +/home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + +/home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h +../units/Unit.h +/home/osi/CLionProjects/oop/Objects/units/Unit.h + +/home/osi/CLionProjects/oop/Objects/neutralObjects/TrainingBase.h +NeutralObject.h +/home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + +/home/osi/CLionProjects/oop/Objects/units/CompositeUnit.h +Unit.h +/home/osi/CLionProjects/oop/Objects/units/Unit.h +vector +- + +/home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h +Unit.h +/home/osi/CLionProjects/oop/Objects/units/Unit.h + +/home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.h +FlyingTroops.h +/home/osi/CLionProjects/oop/Objects/units/FlyingTroops/FlyingTroops.h +../FactoryMethod.h +/home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + +/home/osi/CLionProjects/oop/Objects/units/FlyingTroops/FlyingTroops.h +../../neutralObjects/Strategy.h +/home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + +/home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.h +FlyingTroops.h +/home/osi/CLionProjects/oop/Objects/units/FlyingTroops/FlyingTroops.h +../FactoryMethod.h +/home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + +/home/osi/CLionProjects/oop/Objects/units/FootTroops/FootTroops.h +../../neutralObjects/Strategy.h +/home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + +/home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.h +FootTroops.h +/home/osi/CLionProjects/oop/Objects/units/FootTroops/FootTroops.h +../FactoryMethod.h +/home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + +/home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.h +FootTroops.h +/home/osi/CLionProjects/oop/Objects/units/FootTroops/FootTroops.h +../FactoryMethod.h +/home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + +/home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.h +RangedTroops.h +/home/osi/CLionProjects/oop/Objects/units/RangedTroops/RangedTroops.h +../FactoryMethod.h +/home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + +/home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.h +RangedTroops.h +/home/osi/CLionProjects/oop/Objects/units/RangedTroops/RangedTroops.h +../FactoryMethod.h +/home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + +/home/osi/CLionProjects/oop/Objects/units/RangedTroops/RangedTroops.h +../../neutralObjects/Strategy.h +/home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + +/home/osi/CLionProjects/oop/Objects/units/Unit.cpp +Unit.h +/home/osi/CLionProjects/oop/Objects/units/Unit.h + +/home/osi/CLionProjects/oop/Objects/units/Unit.h +Unit.h +/home/osi/CLionProjects/oop/Objects/units/Unit.h +iostream +- +vector +- +../neutralObjects/NeutralObject.h +/home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h +attributes/Health.h +/home/osi/CLionProjects/oop/Objects/units/attributes/Health.h +attributes/Attack.h +/home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h +attributes/Defense.h +/home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h +../Subject.h +/home/osi/CLionProjects/oop/Objects/Subject.h +../Observer.h +/home/osi/CLionProjects/oop/Objects/Observer.h + +/home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h +Attribute.h +/home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + +/home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + +/home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h +Attribute.h +/home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + +/home/osi/CLionProjects/oop/Objects/units/attributes/Health.h +Attribute.h +/home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + +/home/osi/CLionProjects/oop/landscapes/Forest.h +Landscape.h +/home/osi/CLionProjects/oop/landscapes/Landscape.h + +/home/osi/CLionProjects/oop/landscapes/Grass.h +Landscape.h +/home/osi/CLionProjects/oop/landscapes/Landscape.h + +/home/osi/CLionProjects/oop/landscapes/Landscape.h +../Objects/units/Unit.h +/home/osi/CLionProjects/oop/Objects/units/Unit.h + +/home/osi/CLionProjects/oop/landscapes/Mountains.h +Landscape.h +/home/osi/CLionProjects/oop/landscapes/Landscape.h + +/home/osi/CLionProjects/oop/landscapes/Proxy.h +Grass.h +/home/osi/CLionProjects/oop/landscapes/Grass.h +Forest.h +/home/osi/CLionProjects/oop/landscapes/Forest.h +Mountains.h +/home/osi/CLionProjects/oop/landscapes/Mountains.h +Swamp.h +/home/osi/CLionProjects/oop/landscapes/Swamp.h + +/home/osi/CLionProjects/oop/landscapes/Swamp.h +Landscape.h +/home/osi/CLionProjects/oop/landscapes/Landscape.h + +/home/osi/CLionProjects/oop/main.cpp +iostream +- +Game.h +/home/osi/CLionProjects/oop/Game.h + diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/DependInfo.cmake b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/DependInfo.cmake new file mode 100644 index 000000000..61708496b --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/DependInfo.cmake @@ -0,0 +1,40 @@ +# 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/osi/CLionProjects/oop/Facade.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Facade.cpp.o" + "/home/osi/CLionProjects/oop/FieldCell.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/FieldCell.cpp.o" + "/home/osi/CLionProjects/oop/GameField.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/GameField.cpp.o" + "/home/osi/CLionProjects/oop/Loggers/Adapter.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Loggers/Adapter.cpp.o" + "/home/osi/CLionProjects/oop/Loggers/FileLogger.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o" + "/home/osi/CLionProjects/oop/Loggers/LogProxy.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o" + "/home/osi/CLionProjects/oop/Loggers/TerminalLogger.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o" + "/home/osi/CLionProjects/oop/Manager.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Manager.cpp.o" + "/home/osi/CLionProjects/oop/Memento.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Memento.cpp.o" + "/home/osi/CLionProjects/oop/Objects/Base.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Objects/Base.cpp.o" + "/home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o" + "/home/osi/CLionProjects/oop/Objects/units/CompositeUnit.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o" + "/home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o" + "/home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o" + "/home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o" + "/home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o" + "/home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o" + "/home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o" + "/home/osi/CLionProjects/oop/Objects/units/Unit.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/Unit.cpp.o" + "/home/osi/CLionProjects/oop/landscapes/Proxy.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/landscapes/Proxy.cpp.o" + "/home/osi/CLionProjects/oop/main.cpp" "/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.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/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Facade.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Facade.cpp.o new file mode 100644 index 000000000..a493681d9 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Facade.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/FieldCell.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/FieldCell.cpp.o new file mode 100644 index 000000000..8d7b16881 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/FieldCell.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/GameField.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/GameField.cpp.o new file mode 100644 index 000000000..ca9d15224 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/GameField.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Loggers/Adapter.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Loggers/Adapter.cpp.o new file mode 100644 index 000000000..2bb84b5e2 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Loggers/Adapter.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o new file mode 100644 index 000000000..22d801d0c Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o new file mode 100644 index 000000000..873b83783 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o new file mode 100644 index 000000000..d1cea5ecc Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Manager.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Manager.cpp.o new file mode 100644 index 000000000..5bee52f8a Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Manager.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Memento.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Memento.cpp.o new file mode 100644 index 000000000..61d3ca4c4 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Memento.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/Base.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/Base.cpp.o new file mode 100644 index 000000000..6bf8a1482 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/Base.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o new file mode 100644 index 000000000..ccb329e93 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o new file mode 100644 index 000000000..629ec6dd9 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o new file mode 100644 index 000000000..40cb3f2ae Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o new file mode 100644 index 000000000..1bcb52703 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o new file mode 100644 index 000000000..91942a2fd Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o new file mode 100644 index 000000000..8c967cca8 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o new file mode 100644 index 000000000..3dd2253a2 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o new file mode 100644 index 000000000..8db48becb Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/Unit.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/Unit.cpp.o new file mode 100644 index 000000000..6fde03a3d Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/Objects/units/Unit.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/build.make b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/build.make new file mode 100644 index 000000000..46a9d6ee5 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/build.make @@ -0,0 +1,398 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# Delete rule output on recipe failure. +.DELETE_ON_ERROR: + + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# 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 = /snap/clion/114/bin/cmake/linux/bin/cmake + +# The command to remove a file. +RM = /snap/clion/114/bin/cmake/linux/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/osi/CLionProjects/oop + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/osi/CLionProjects/oop/cmake-build-debug + +# Include any dependencies generated for this target. +include CMakeFiles/oop.dir/depend.make + +# Include the progress variables for this target. +include CMakeFiles/oop.dir/progress.make + +# Include the compile flags for this target's objects. +include CMakeFiles/oop.dir/flags.make + +CMakeFiles/oop.dir/main.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/main.cpp.o: ../main.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/oop.dir/main.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/main.cpp.o -c /home/osi/CLionProjects/oop/main.cpp + +CMakeFiles/oop.dir/main.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/main.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/main.cpp > CMakeFiles/oop.dir/main.cpp.i + +CMakeFiles/oop.dir/main.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/main.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/main.cpp -o CMakeFiles/oop.dir/main.cpp.s + +CMakeFiles/oop.dir/Facade.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Facade.cpp.o: ../Facade.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/oop.dir/Facade.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Facade.cpp.o -c /home/osi/CLionProjects/oop/Facade.cpp + +CMakeFiles/oop.dir/Facade.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Facade.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Facade.cpp > CMakeFiles/oop.dir/Facade.cpp.i + +CMakeFiles/oop.dir/Facade.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Facade.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Facade.cpp -o CMakeFiles/oop.dir/Facade.cpp.s + +CMakeFiles/oop.dir/Manager.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Manager.cpp.o: ../Manager.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building CXX object CMakeFiles/oop.dir/Manager.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Manager.cpp.o -c /home/osi/CLionProjects/oop/Manager.cpp + +CMakeFiles/oop.dir/Manager.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Manager.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Manager.cpp > CMakeFiles/oop.dir/Manager.cpp.i + +CMakeFiles/oop.dir/Manager.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Manager.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Manager.cpp -o CMakeFiles/oop.dir/Manager.cpp.s + +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Loggers/Adapter.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building CXX object CMakeFiles/oop.dir/Loggers/Adapter.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Loggers/Adapter.cpp.o -c /home/osi/CLionProjects/oop/Loggers/Adapter.cpp + +CMakeFiles/oop.dir/Loggers/Adapter.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Loggers/Adapter.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Loggers/Adapter.cpp > CMakeFiles/oop.dir/Loggers/Adapter.cpp.i + +CMakeFiles/oop.dir/Loggers/Adapter.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Loggers/Adapter.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Loggers/Adapter.cpp -o CMakeFiles/oop.dir/Loggers/Adapter.cpp.s + +CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o: ../Loggers/LogProxy.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building CXX object CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o -c /home/osi/CLionProjects/oop/Loggers/LogProxy.cpp + +CMakeFiles/oop.dir/Loggers/LogProxy.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Loggers/LogProxy.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Loggers/LogProxy.cpp > CMakeFiles/oop.dir/Loggers/LogProxy.cpp.i + +CMakeFiles/oop.dir/Loggers/LogProxy.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Loggers/LogProxy.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Loggers/LogProxy.cpp -o CMakeFiles/oop.dir/Loggers/LogProxy.cpp.s + +CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o: ../Loggers/FileLogger.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Building CXX object CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o -c /home/osi/CLionProjects/oop/Loggers/FileLogger.cpp + +CMakeFiles/oop.dir/Loggers/FileLogger.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Loggers/FileLogger.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Loggers/FileLogger.cpp > CMakeFiles/oop.dir/Loggers/FileLogger.cpp.i + +CMakeFiles/oop.dir/Loggers/FileLogger.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Loggers/FileLogger.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Loggers/FileLogger.cpp -o CMakeFiles/oop.dir/Loggers/FileLogger.cpp.s + +CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o: ../Loggers/TerminalLogger.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "Building CXX object CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o -c /home/osi/CLionProjects/oop/Loggers/TerminalLogger.cpp + +CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Loggers/TerminalLogger.cpp > CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.i + +CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Loggers/TerminalLogger.cpp -o CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.s + +CMakeFiles/oop.dir/GameField.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/GameField.cpp.o: ../GameField.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "Building CXX object CMakeFiles/oop.dir/GameField.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/GameField.cpp.o -c /home/osi/CLionProjects/oop/GameField.cpp + +CMakeFiles/oop.dir/GameField.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/GameField.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/GameField.cpp > CMakeFiles/oop.dir/GameField.cpp.i + +CMakeFiles/oop.dir/GameField.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/GameField.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/GameField.cpp -o CMakeFiles/oop.dir/GameField.cpp.s + +CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o: ../Objects/neutralObjects/NeutralObject.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_9) "Building CXX object CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o -c /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.cpp + +CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.cpp > CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.i + +CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.cpp -o CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.s + +CMakeFiles/oop.dir/Objects/Base.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/Base.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_10) "Building CXX object CMakeFiles/oop.dir/Objects/Base.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Objects/Base.cpp.o -c /home/osi/CLionProjects/oop/Objects/Base.cpp + +CMakeFiles/oop.dir/Objects/Base.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Objects/Base.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Objects/Base.cpp > CMakeFiles/oop.dir/Objects/Base.cpp.i + +CMakeFiles/oop.dir/Objects/Base.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Objects/Base.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Objects/Base.cpp -o CMakeFiles/oop.dir/Objects/Base.cpp.s + +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../landscapes/Proxy.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_11) "Building CXX object CMakeFiles/oop.dir/landscapes/Proxy.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/landscapes/Proxy.cpp.o -c /home/osi/CLionProjects/oop/landscapes/Proxy.cpp + +CMakeFiles/oop.dir/landscapes/Proxy.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/landscapes/Proxy.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/landscapes/Proxy.cpp > CMakeFiles/oop.dir/landscapes/Proxy.cpp.i + +CMakeFiles/oop.dir/landscapes/Proxy.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/landscapes/Proxy.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/landscapes/Proxy.cpp -o CMakeFiles/oop.dir/landscapes/Proxy.cpp.s + +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/units/FlyingTroops/BoneDragon.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_12) "Building CXX object CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o -c /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.cpp + +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.cpp > CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.i + +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.cpp -o CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.s + +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/units/FlyingTroops/Griffin.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_13) "Building CXX object CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o -c /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.cpp + +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.cpp > CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.i + +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.cpp -o CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.s + +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/units/FootTroops/Skeleton.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_14) "Building CXX object CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o -c /home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.cpp + +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.cpp > CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.i + +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.cpp -o CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.s + +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/units/FootTroops/Halberdier.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_15) "Building CXX object CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o -c /home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.cpp + +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.cpp > CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.i + +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.cpp -o CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.s + +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/units/RangedTroops/Archer.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_16) "Building CXX object CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o -c /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.cpp + +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.cpp > CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.i + +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.cpp -o CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.s + +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/units/RangedTroops/Lich.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_17) "Building CXX object CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o -c /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.cpp + +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.cpp > CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.i + +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.cpp -o CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.s + +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o: ../Objects/units/CompositeUnit.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_18) "Building CXX object CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o -c /home/osi/CLionProjects/oop/Objects/units/CompositeUnit.cpp + +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Objects/units/CompositeUnit.cpp > CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.i + +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Objects/units/CompositeUnit.cpp -o CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.s + +CMakeFiles/oop.dir/Objects/units/Unit.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Objects/units/Unit.cpp.o: ../Objects/units/Unit.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_19) "Building CXX object CMakeFiles/oop.dir/Objects/units/Unit.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Objects/units/Unit.cpp.o -c /home/osi/CLionProjects/oop/Objects/units/Unit.cpp + +CMakeFiles/oop.dir/Objects/units/Unit.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Objects/units/Unit.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Objects/units/Unit.cpp > CMakeFiles/oop.dir/Objects/units/Unit.cpp.i + +CMakeFiles/oop.dir/Objects/units/Unit.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Objects/units/Unit.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Objects/units/Unit.cpp -o CMakeFiles/oop.dir/Objects/units/Unit.cpp.s + +CMakeFiles/oop.dir/FieldCell.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/FieldCell.cpp.o: ../FieldCell.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_20) "Building CXX object CMakeFiles/oop.dir/FieldCell.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/FieldCell.cpp.o -c /home/osi/CLionProjects/oop/FieldCell.cpp + +CMakeFiles/oop.dir/FieldCell.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/FieldCell.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/FieldCell.cpp > CMakeFiles/oop.dir/FieldCell.cpp.i + +CMakeFiles/oop.dir/FieldCell.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/FieldCell.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/FieldCell.cpp -o CMakeFiles/oop.dir/FieldCell.cpp.s + +CMakeFiles/oop.dir/Memento.cpp.o: CMakeFiles/oop.dir/flags.make +CMakeFiles/oop.dir/Memento.cpp.o: ../Memento.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_21) "Building CXX object CMakeFiles/oop.dir/Memento.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/oop.dir/Memento.cpp.o -c /home/osi/CLionProjects/oop/Memento.cpp + +CMakeFiles/oop.dir/Memento.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/oop.dir/Memento.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/osi/CLionProjects/oop/Memento.cpp > CMakeFiles/oop.dir/Memento.cpp.i + +CMakeFiles/oop.dir/Memento.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/oop.dir/Memento.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/osi/CLionProjects/oop/Memento.cpp -o CMakeFiles/oop.dir/Memento.cpp.s + +# Object files for target oop +oop_OBJECTS = \ +"CMakeFiles/oop.dir/main.cpp.o" \ +"CMakeFiles/oop.dir/Facade.cpp.o" \ +"CMakeFiles/oop.dir/Manager.cpp.o" \ +"CMakeFiles/oop.dir/Loggers/Adapter.cpp.o" \ +"CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o" \ +"CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o" \ +"CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o" \ +"CMakeFiles/oop.dir/GameField.cpp.o" \ +"CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o" \ +"CMakeFiles/oop.dir/Objects/Base.cpp.o" \ +"CMakeFiles/oop.dir/landscapes/Proxy.cpp.o" \ +"CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o" \ +"CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o" \ +"CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o" \ +"CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o" \ +"CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o" \ +"CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o" \ +"CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o" \ +"CMakeFiles/oop.dir/Objects/units/Unit.cpp.o" \ +"CMakeFiles/oop.dir/FieldCell.cpp.o" \ +"CMakeFiles/oop.dir/Memento.cpp.o" + +# External object files for target oop +oop_EXTERNAL_OBJECTS = + +oop: CMakeFiles/oop.dir/main.cpp.o +oop: CMakeFiles/oop.dir/Facade.cpp.o +oop: CMakeFiles/oop.dir/Manager.cpp.o +oop: CMakeFiles/oop.dir/Loggers/Adapter.cpp.o +oop: CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o +oop: CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o +oop: CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o +oop: CMakeFiles/oop.dir/GameField.cpp.o +oop: CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o +oop: CMakeFiles/oop.dir/Objects/Base.cpp.o +oop: CMakeFiles/oop.dir/landscapes/Proxy.cpp.o +oop: CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o +oop: CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o +oop: CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o +oop: CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o +oop: CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o +oop: CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o +oop: CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o +oop: CMakeFiles/oop.dir/Objects/units/Unit.cpp.o +oop: CMakeFiles/oop.dir/FieldCell.cpp.o +oop: CMakeFiles/oop.dir/Memento.cpp.o +oop: CMakeFiles/oop.dir/build.make +oop: CMakeFiles/oop.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_22) "Linking CXX executable oop" + $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/oop.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +CMakeFiles/oop.dir/build: oop + +.PHONY : CMakeFiles/oop.dir/build + +CMakeFiles/oop.dir/clean: + $(CMAKE_COMMAND) -P CMakeFiles/oop.dir/cmake_clean.cmake +.PHONY : CMakeFiles/oop.dir/clean + +CMakeFiles/oop.dir/depend: + cd /home/osi/CLionProjects/oop/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/osi/CLionProjects/oop /home/osi/CLionProjects/oop /home/osi/CLionProjects/oop/cmake-build-debug /home/osi/CLionProjects/oop/cmake-build-debug /home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/oop.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : CMakeFiles/oop.dir/depend + diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/cmake_clean.cmake b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/cmake_clean.cmake new file mode 100644 index 000000000..57dee91da --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/cmake_clean.cmake @@ -0,0 +1,30 @@ +file(REMOVE_RECURSE + "CMakeFiles/oop.dir/Facade.cpp.o" + "CMakeFiles/oop.dir/FieldCell.cpp.o" + "CMakeFiles/oop.dir/GameField.cpp.o" + "CMakeFiles/oop.dir/Loggers/Adapter.cpp.o" + "CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o" + "CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o" + "CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o" + "CMakeFiles/oop.dir/Manager.cpp.o" + "CMakeFiles/oop.dir/Memento.cpp.o" + "CMakeFiles/oop.dir/Objects/Base.cpp.o" + "CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o" + "CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o" + "CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o" + "CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o" + "CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o" + "CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o" + "CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o" + "CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o" + "CMakeFiles/oop.dir/Objects/units/Unit.cpp.o" + "CMakeFiles/oop.dir/landscapes/Proxy.cpp.o" + "CMakeFiles/oop.dir/main.cpp.o" + "oop" + "oop.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/oop.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/depend.internal b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/depend.internal new file mode 100644 index 000000000..9382635cd --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/depend.internal @@ -0,0 +1,508 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +CMakeFiles/oop.dir/Facade.cpp.o + /home/osi/CLionProjects/oop/Commands/ActionWithObjectCommand.h + /home/osi/CLionProjects/oop/Commands/AttackBaseCommand.h + /home/osi/CLionProjects/oop/Commands/AttackUnitCommand.h + /home/osi/CLionProjects/oop/Commands/Command.h + /home/osi/CLionProjects/oop/Commands/CreateUnitCommand.h + /home/osi/CLionProjects/oop/Commands/DeleteUnitCommand.h + /home/osi/CLionProjects/oop/Commands/GameException.h + /home/osi/CLionProjects/oop/Commands/MoveUnitCommand.h + /home/osi/CLionProjects/oop/Commands/Rules.h + /home/osi/CLionProjects/oop/Commands/StartGameCommand.h + /home/osi/CLionProjects/oop/Commands/UnitsAttributesCommand.h + /home/osi/CLionProjects/oop/Facade.cpp + /home/osi/CLionProjects/oop/Facade.h + /home/osi/CLionProjects/oop/FieldCell.h + /home/osi/CLionProjects/oop/GameField.h + /home/osi/CLionProjects/oop/Gamer.h + /home/osi/CLionProjects/oop/Loggers/Adapter.h + /home/osi/CLionProjects/oop/Loggers/FileLogger.h + /home/osi/CLionProjects/oop/Loggers/LogProxy.h + /home/osi/CLionProjects/oop/Loggers/Logger.h + /home/osi/CLionProjects/oop/Loggers/NoLogger.h + /home/osi/CLionProjects/oop/Loggers/TerminalLogger.h + /home/osi/CLionProjects/oop/Manager.h + /home/osi/CLionProjects/oop/Memento.h + /home/osi/CLionProjects/oop/Objects/Base.h + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Bar.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Hospital.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Shop.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/TrainingBase.h + /home/osi/CLionProjects/oop/Objects/units/CompositeUnit.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/FlyingTroops.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/FootTroops.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/RangedTroops.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h + /home/osi/CLionProjects/oop/landscapes/Forest.h + /home/osi/CLionProjects/oop/landscapes/Grass.h + /home/osi/CLionProjects/oop/landscapes/Landscape.h + /home/osi/CLionProjects/oop/landscapes/Mountains.h + /home/osi/CLionProjects/oop/landscapes/Proxy.h + /home/osi/CLionProjects/oop/landscapes/Swamp.h +CMakeFiles/oop.dir/FieldCell.cpp.o + /home/osi/CLionProjects/oop/FieldCell.cpp + /home/osi/CLionProjects/oop/FieldCell.h + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Bar.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Hospital.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Shop.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/TrainingBase.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/FlyingTroops.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/FootTroops.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/RangedTroops.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h + /home/osi/CLionProjects/oop/landscapes/Forest.h + /home/osi/CLionProjects/oop/landscapes/Grass.h + /home/osi/CLionProjects/oop/landscapes/Landscape.h + /home/osi/CLionProjects/oop/landscapes/Mountains.h + /home/osi/CLionProjects/oop/landscapes/Proxy.h + /home/osi/CLionProjects/oop/landscapes/Swamp.h +CMakeFiles/oop.dir/GameField.cpp.o + /home/osi/CLionProjects/oop/FieldCell.h + /home/osi/CLionProjects/oop/GameField.cpp + /home/osi/CLionProjects/oop/GameField.h + /home/osi/CLionProjects/oop/Objects/Base.h + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Bar.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Hospital.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Shop.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/TrainingBase.h + /home/osi/CLionProjects/oop/Objects/units/CompositeUnit.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/FlyingTroops.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/FootTroops.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/RangedTroops.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h + /home/osi/CLionProjects/oop/landscapes/Forest.h + /home/osi/CLionProjects/oop/landscapes/Grass.h + /home/osi/CLionProjects/oop/landscapes/Landscape.h + /home/osi/CLionProjects/oop/landscapes/Mountains.h + /home/osi/CLionProjects/oop/landscapes/Proxy.h + /home/osi/CLionProjects/oop/landscapes/Swamp.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o + /home/osi/CLionProjects/oop/FieldCell.h + /home/osi/CLionProjects/oop/GameField.h + /home/osi/CLionProjects/oop/Loggers/Adapter.cpp + /home/osi/CLionProjects/oop/Loggers/Adapter.h + /home/osi/CLionProjects/oop/Loggers/Logger.h + /home/osi/CLionProjects/oop/Objects/Base.h + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Bar.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Hospital.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Shop.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/TrainingBase.h + /home/osi/CLionProjects/oop/Objects/units/CompositeUnit.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/FlyingTroops.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/FootTroops.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/RangedTroops.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h + /home/osi/CLionProjects/oop/landscapes/Forest.h + /home/osi/CLionProjects/oop/landscapes/Grass.h + /home/osi/CLionProjects/oop/landscapes/Landscape.h + /home/osi/CLionProjects/oop/landscapes/Mountains.h + /home/osi/CLionProjects/oop/landscapes/Proxy.h + /home/osi/CLionProjects/oop/landscapes/Swamp.h +CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o + /home/osi/CLionProjects/oop/Loggers/FileLogger.cpp + /home/osi/CLionProjects/oop/Loggers/FileLogger.h + /home/osi/CLionProjects/oop/Loggers/Logger.h +CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o + /home/osi/CLionProjects/oop/Loggers/FileLogger.h + /home/osi/CLionProjects/oop/Loggers/LogProxy.cpp + /home/osi/CLionProjects/oop/Loggers/LogProxy.h + /home/osi/CLionProjects/oop/Loggers/Logger.h + /home/osi/CLionProjects/oop/Loggers/NoLogger.h + /home/osi/CLionProjects/oop/Loggers/TerminalLogger.h +CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o + /home/osi/CLionProjects/oop/Loggers/Logger.h + /home/osi/CLionProjects/oop/Loggers/TerminalLogger.cpp + /home/osi/CLionProjects/oop/Loggers/TerminalLogger.h +CMakeFiles/oop.dir/Manager.cpp.o + /home/osi/CLionProjects/oop/Commands/ActionWithObjectCommand.h + /home/osi/CLionProjects/oop/Commands/AttackBaseCommand.h + /home/osi/CLionProjects/oop/Commands/AttackUnitCommand.h + /home/osi/CLionProjects/oop/Commands/Command.h + /home/osi/CLionProjects/oop/Commands/CreateUnitCommand.h + /home/osi/CLionProjects/oop/Commands/DeleteUnitCommand.h + /home/osi/CLionProjects/oop/Commands/GameException.h + /home/osi/CLionProjects/oop/Commands/MoveUnitCommand.h + /home/osi/CLionProjects/oop/Commands/Rules.h + /home/osi/CLionProjects/oop/Commands/StartGameCommand.h + /home/osi/CLionProjects/oop/Commands/UnitsAttributesCommand.h + /home/osi/CLionProjects/oop/FieldCell.h + /home/osi/CLionProjects/oop/GameField.h + /home/osi/CLionProjects/oop/Gamer.h + /home/osi/CLionProjects/oop/Loggers/Adapter.h + /home/osi/CLionProjects/oop/Loggers/FileLogger.h + /home/osi/CLionProjects/oop/Loggers/LogProxy.h + /home/osi/CLionProjects/oop/Loggers/Logger.h + /home/osi/CLionProjects/oop/Loggers/NoLogger.h + /home/osi/CLionProjects/oop/Loggers/TerminalLogger.h + /home/osi/CLionProjects/oop/Manager.cpp + /home/osi/CLionProjects/oop/Manager.h + /home/osi/CLionProjects/oop/Memento.h + /home/osi/CLionProjects/oop/Objects/Base.h + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Bar.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Hospital.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Shop.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/TrainingBase.h + /home/osi/CLionProjects/oop/Objects/units/CompositeUnit.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/FlyingTroops.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/FootTroops.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/RangedTroops.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h + /home/osi/CLionProjects/oop/landscapes/Forest.h + /home/osi/CLionProjects/oop/landscapes/Grass.h + /home/osi/CLionProjects/oop/landscapes/Landscape.h + /home/osi/CLionProjects/oop/landscapes/Mountains.h + /home/osi/CLionProjects/oop/landscapes/Proxy.h + /home/osi/CLionProjects/oop/landscapes/Swamp.h +CMakeFiles/oop.dir/Memento.cpp.o + /home/osi/CLionProjects/oop/FieldCell.h + /home/osi/CLionProjects/oop/GameField.h + /home/osi/CLionProjects/oop/Gamer.h + /home/osi/CLionProjects/oop/Loggers/FileLogger.h + /home/osi/CLionProjects/oop/Loggers/LogProxy.h + /home/osi/CLionProjects/oop/Loggers/Logger.h + /home/osi/CLionProjects/oop/Loggers/NoLogger.h + /home/osi/CLionProjects/oop/Loggers/TerminalLogger.h + /home/osi/CLionProjects/oop/Memento.cpp + /home/osi/CLionProjects/oop/Memento.h + /home/osi/CLionProjects/oop/Objects/Base.h + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Bar.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Hospital.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Shop.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/TrainingBase.h + /home/osi/CLionProjects/oop/Objects/units/CompositeUnit.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/FlyingTroops.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/FootTroops.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/RangedTroops.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h + /home/osi/CLionProjects/oop/landscapes/Forest.h + /home/osi/CLionProjects/oop/landscapes/Grass.h + /home/osi/CLionProjects/oop/landscapes/Landscape.h + /home/osi/CLionProjects/oop/landscapes/Mountains.h + /home/osi/CLionProjects/oop/landscapes/Proxy.h + /home/osi/CLionProjects/oop/landscapes/Swamp.h +CMakeFiles/oop.dir/Objects/Base.cpp.o + /home/osi/CLionProjects/oop/FieldCell.h + /home/osi/CLionProjects/oop/Objects/Base.cpp + /home/osi/CLionProjects/oop/Objects/Base.h + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Bar.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Hospital.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Shop.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/TrainingBase.h + /home/osi/CLionProjects/oop/Objects/units/CompositeUnit.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/FlyingTroops.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/FootTroops.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/RangedTroops.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h + /home/osi/CLionProjects/oop/landscapes/Forest.h + /home/osi/CLionProjects/oop/landscapes/Grass.h + /home/osi/CLionProjects/oop/landscapes/Landscape.h + /home/osi/CLionProjects/oop/landscapes/Mountains.h + /home/osi/CLionProjects/oop/landscapes/Proxy.h + /home/osi/CLionProjects/oop/landscapes/Swamp.h +CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.cpp + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/units/CompositeUnit.cpp + /home/osi/CLionProjects/oop/Objects/units/CompositeUnit.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.cpp + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/FlyingTroops.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/FlyingTroops.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.cpp + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/FootTroops.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.cpp + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/FootTroops.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.cpp + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.cpp + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/RangedTroops.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.cpp + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/RangedTroops.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h +CMakeFiles/oop.dir/Objects/units/Unit.cpp.o + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/units/Unit.cpp + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h + /home/osi/CLionProjects/oop/landscapes/Forest.h + /home/osi/CLionProjects/oop/landscapes/Grass.h + /home/osi/CLionProjects/oop/landscapes/Landscape.h + /home/osi/CLionProjects/oop/landscapes/Mountains.h + /home/osi/CLionProjects/oop/landscapes/Proxy.cpp + /home/osi/CLionProjects/oop/landscapes/Proxy.h + /home/osi/CLionProjects/oop/landscapes/Swamp.h +CMakeFiles/oop.dir/main.cpp.o + /home/osi/CLionProjects/oop/Commands/ActionWithObjectCommand.h + /home/osi/CLionProjects/oop/Commands/AttackBaseCommand.h + /home/osi/CLionProjects/oop/Commands/AttackUnitCommand.h + /home/osi/CLionProjects/oop/Commands/Command.h + /home/osi/CLionProjects/oop/Commands/CreateUnitCommand.h + /home/osi/CLionProjects/oop/Commands/DeleteUnitCommand.h + /home/osi/CLionProjects/oop/Commands/GameException.h + /home/osi/CLionProjects/oop/Commands/MoveUnitCommand.h + /home/osi/CLionProjects/oop/Commands/Rules.h + /home/osi/CLionProjects/oop/Commands/StartGameCommand.h + /home/osi/CLionProjects/oop/Commands/UnitsAttributesCommand.h + /home/osi/CLionProjects/oop/Facade.h + /home/osi/CLionProjects/oop/FieldCell.h + /home/osi/CLionProjects/oop/Game.h + /home/osi/CLionProjects/oop/GameField.h + /home/osi/CLionProjects/oop/Gamer.h + /home/osi/CLionProjects/oop/Loggers/Adapter.h + /home/osi/CLionProjects/oop/Loggers/FileLogger.h + /home/osi/CLionProjects/oop/Loggers/LogProxy.h + /home/osi/CLionProjects/oop/Loggers/Logger.h + /home/osi/CLionProjects/oop/Loggers/NoLogger.h + /home/osi/CLionProjects/oop/Loggers/TerminalLogger.h + /home/osi/CLionProjects/oop/Manager.h + /home/osi/CLionProjects/oop/Memento.h + /home/osi/CLionProjects/oop/Objects/Base.h + /home/osi/CLionProjects/oop/Objects/Object.h + /home/osi/CLionProjects/oop/Objects/Observer.h + /home/osi/CLionProjects/oop/Objects/Subject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Bar.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Hospital.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/NeutralObject.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Shop.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/Strategy.h + /home/osi/CLionProjects/oop/Objects/neutralObjects/TrainingBase.h + /home/osi/CLionProjects/oop/Objects/units/CompositeUnit.h + /home/osi/CLionProjects/oop/Objects/units/FactoryMethod.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/BoneDragon.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/FlyingTroops.h + /home/osi/CLionProjects/oop/Objects/units/FlyingTroops/Griffin.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/FootTroops.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Halberdier.h + /home/osi/CLionProjects/oop/Objects/units/FootTroops/Skeleton.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Archer.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/Lich.h + /home/osi/CLionProjects/oop/Objects/units/RangedTroops/RangedTroops.h + /home/osi/CLionProjects/oop/Objects/units/Unit.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attack.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Attribute.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Defense.h + /home/osi/CLionProjects/oop/Objects/units/attributes/Health.h + /home/osi/CLionProjects/oop/landscapes/Forest.h + /home/osi/CLionProjects/oop/landscapes/Grass.h + /home/osi/CLionProjects/oop/landscapes/Landscape.h + /home/osi/CLionProjects/oop/landscapes/Mountains.h + /home/osi/CLionProjects/oop/landscapes/Proxy.h + /home/osi/CLionProjects/oop/landscapes/Swamp.h + /home/osi/CLionProjects/oop/main.cpp diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/depend.make b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/depend.make new file mode 100644 index 000000000..fbe42b84d --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/depend.make @@ -0,0 +1,508 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +CMakeFiles/oop.dir/Facade.cpp.o: ../Commands/ActionWithObjectCommand.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Commands/AttackBaseCommand.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Commands/AttackUnitCommand.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Commands/Command.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Commands/CreateUnitCommand.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Commands/DeleteUnitCommand.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Commands/GameException.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Commands/MoveUnitCommand.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Commands/Rules.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Commands/StartGameCommand.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Commands/UnitsAttributesCommand.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Facade.cpp +CMakeFiles/oop.dir/Facade.cpp.o: ../Facade.h +CMakeFiles/oop.dir/Facade.cpp.o: ../FieldCell.h +CMakeFiles/oop.dir/Facade.cpp.o: ../GameField.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Gamer.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Loggers/Adapter.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Loggers/FileLogger.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Loggers/LogProxy.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Loggers/Logger.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Loggers/NoLogger.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Loggers/TerminalLogger.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Manager.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Memento.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/Base.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/neutralObjects/Bar.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/neutralObjects/Hospital.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/neutralObjects/Shop.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/neutralObjects/TrainingBase.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/CompositeUnit.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/FlyingTroops/BoneDragon.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/FlyingTroops/FlyingTroops.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/FlyingTroops/Griffin.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/FootTroops/FootTroops.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/FootTroops/Halberdier.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/FootTroops/Skeleton.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/RangedTroops/Archer.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/RangedTroops/Lich.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/RangedTroops/RangedTroops.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/Facade.cpp.o: ../Objects/units/attributes/Health.h +CMakeFiles/oop.dir/Facade.cpp.o: ../landscapes/Forest.h +CMakeFiles/oop.dir/Facade.cpp.o: ../landscapes/Grass.h +CMakeFiles/oop.dir/Facade.cpp.o: ../landscapes/Landscape.h +CMakeFiles/oop.dir/Facade.cpp.o: ../landscapes/Mountains.h +CMakeFiles/oop.dir/Facade.cpp.o: ../landscapes/Proxy.h +CMakeFiles/oop.dir/Facade.cpp.o: ../landscapes/Swamp.h + +CMakeFiles/oop.dir/FieldCell.cpp.o: ../FieldCell.cpp +CMakeFiles/oop.dir/FieldCell.cpp.o: ../FieldCell.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/neutralObjects/Bar.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/neutralObjects/Hospital.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/neutralObjects/Shop.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/neutralObjects/TrainingBase.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/FlyingTroops/BoneDragon.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/FlyingTroops/FlyingTroops.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/FlyingTroops/Griffin.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/FootTroops/FootTroops.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/FootTroops/Halberdier.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/FootTroops/Skeleton.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/RangedTroops/Archer.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/RangedTroops/Lich.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/RangedTroops/RangedTroops.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../Objects/units/attributes/Health.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../landscapes/Forest.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../landscapes/Grass.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../landscapes/Landscape.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../landscapes/Mountains.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../landscapes/Proxy.h +CMakeFiles/oop.dir/FieldCell.cpp.o: ../landscapes/Swamp.h + +CMakeFiles/oop.dir/GameField.cpp.o: ../FieldCell.h +CMakeFiles/oop.dir/GameField.cpp.o: ../GameField.cpp +CMakeFiles/oop.dir/GameField.cpp.o: ../GameField.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/Base.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/neutralObjects/Bar.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/neutralObjects/Hospital.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/neutralObjects/Shop.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/neutralObjects/TrainingBase.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/CompositeUnit.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/FlyingTroops/BoneDragon.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/FlyingTroops/FlyingTroops.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/FlyingTroops/Griffin.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/FootTroops/FootTroops.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/FootTroops/Halberdier.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/FootTroops/Skeleton.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/RangedTroops/Archer.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/RangedTroops/Lich.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/RangedTroops/RangedTroops.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/GameField.cpp.o: ../Objects/units/attributes/Health.h +CMakeFiles/oop.dir/GameField.cpp.o: ../landscapes/Forest.h +CMakeFiles/oop.dir/GameField.cpp.o: ../landscapes/Grass.h +CMakeFiles/oop.dir/GameField.cpp.o: ../landscapes/Landscape.h +CMakeFiles/oop.dir/GameField.cpp.o: ../landscapes/Mountains.h +CMakeFiles/oop.dir/GameField.cpp.o: ../landscapes/Proxy.h +CMakeFiles/oop.dir/GameField.cpp.o: ../landscapes/Swamp.h + +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../FieldCell.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../GameField.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Loggers/Adapter.cpp +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Loggers/Adapter.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Loggers/Logger.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/Base.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/neutralObjects/Bar.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/neutralObjects/Hospital.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/neutralObjects/Shop.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/neutralObjects/TrainingBase.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/CompositeUnit.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/FlyingTroops/BoneDragon.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/FlyingTroops/FlyingTroops.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/FlyingTroops/Griffin.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/FootTroops/FootTroops.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/FootTroops/Halberdier.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/FootTroops/Skeleton.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/RangedTroops/Archer.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/RangedTroops/Lich.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/RangedTroops/RangedTroops.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../Objects/units/attributes/Health.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../landscapes/Forest.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../landscapes/Grass.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../landscapes/Landscape.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../landscapes/Mountains.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../landscapes/Proxy.h +CMakeFiles/oop.dir/Loggers/Adapter.cpp.o: ../landscapes/Swamp.h + +CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o: ../Loggers/FileLogger.cpp +CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o: ../Loggers/FileLogger.h +CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o: ../Loggers/Logger.h + +CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o: ../Loggers/FileLogger.h +CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o: ../Loggers/LogProxy.cpp +CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o: ../Loggers/LogProxy.h +CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o: ../Loggers/Logger.h +CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o: ../Loggers/NoLogger.h +CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o: ../Loggers/TerminalLogger.h + +CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o: ../Loggers/Logger.h +CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o: ../Loggers/TerminalLogger.cpp +CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o: ../Loggers/TerminalLogger.h + +CMakeFiles/oop.dir/Manager.cpp.o: ../Commands/ActionWithObjectCommand.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Commands/AttackBaseCommand.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Commands/AttackUnitCommand.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Commands/Command.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Commands/CreateUnitCommand.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Commands/DeleteUnitCommand.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Commands/GameException.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Commands/MoveUnitCommand.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Commands/Rules.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Commands/StartGameCommand.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Commands/UnitsAttributesCommand.h +CMakeFiles/oop.dir/Manager.cpp.o: ../FieldCell.h +CMakeFiles/oop.dir/Manager.cpp.o: ../GameField.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Gamer.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Loggers/Adapter.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Loggers/FileLogger.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Loggers/LogProxy.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Loggers/Logger.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Loggers/NoLogger.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Loggers/TerminalLogger.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Manager.cpp +CMakeFiles/oop.dir/Manager.cpp.o: ../Manager.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Memento.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/Base.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/neutralObjects/Bar.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/neutralObjects/Hospital.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/neutralObjects/Shop.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/neutralObjects/TrainingBase.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/CompositeUnit.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/FlyingTroops/BoneDragon.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/FlyingTroops/FlyingTroops.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/FlyingTroops/Griffin.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/FootTroops/FootTroops.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/FootTroops/Halberdier.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/FootTroops/Skeleton.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/RangedTroops/Archer.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/RangedTroops/Lich.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/RangedTroops/RangedTroops.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/Manager.cpp.o: ../Objects/units/attributes/Health.h +CMakeFiles/oop.dir/Manager.cpp.o: ../landscapes/Forest.h +CMakeFiles/oop.dir/Manager.cpp.o: ../landscapes/Grass.h +CMakeFiles/oop.dir/Manager.cpp.o: ../landscapes/Landscape.h +CMakeFiles/oop.dir/Manager.cpp.o: ../landscapes/Mountains.h +CMakeFiles/oop.dir/Manager.cpp.o: ../landscapes/Proxy.h +CMakeFiles/oop.dir/Manager.cpp.o: ../landscapes/Swamp.h + +CMakeFiles/oop.dir/Memento.cpp.o: ../FieldCell.h +CMakeFiles/oop.dir/Memento.cpp.o: ../GameField.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Gamer.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Loggers/FileLogger.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Loggers/LogProxy.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Loggers/Logger.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Loggers/NoLogger.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Loggers/TerminalLogger.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Memento.cpp +CMakeFiles/oop.dir/Memento.cpp.o: ../Memento.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/Base.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/neutralObjects/Bar.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/neutralObjects/Hospital.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/neutralObjects/Shop.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/neutralObjects/TrainingBase.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/CompositeUnit.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/FlyingTroops/BoneDragon.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/FlyingTroops/FlyingTroops.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/FlyingTroops/Griffin.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/FootTroops/FootTroops.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/FootTroops/Halberdier.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/FootTroops/Skeleton.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/RangedTroops/Archer.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/RangedTroops/Lich.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/RangedTroops/RangedTroops.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/Memento.cpp.o: ../Objects/units/attributes/Health.h +CMakeFiles/oop.dir/Memento.cpp.o: ../landscapes/Forest.h +CMakeFiles/oop.dir/Memento.cpp.o: ../landscapes/Grass.h +CMakeFiles/oop.dir/Memento.cpp.o: ../landscapes/Landscape.h +CMakeFiles/oop.dir/Memento.cpp.o: ../landscapes/Mountains.h +CMakeFiles/oop.dir/Memento.cpp.o: ../landscapes/Proxy.h +CMakeFiles/oop.dir/Memento.cpp.o: ../landscapes/Swamp.h + +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../FieldCell.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/Base.cpp +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/Base.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/neutralObjects/Bar.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/neutralObjects/Hospital.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/neutralObjects/Shop.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/neutralObjects/TrainingBase.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/CompositeUnit.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/FlyingTroops/BoneDragon.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/FlyingTroops/FlyingTroops.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/FlyingTroops/Griffin.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/FootTroops/FootTroops.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/FootTroops/Halberdier.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/FootTroops/Skeleton.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/RangedTroops/Archer.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/RangedTroops/Lich.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/RangedTroops/RangedTroops.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../Objects/units/attributes/Health.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../landscapes/Forest.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../landscapes/Grass.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../landscapes/Landscape.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../landscapes/Mountains.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../landscapes/Proxy.h +CMakeFiles/oop.dir/Objects/Base.cpp.o: ../landscapes/Swamp.h + +CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o: ../Objects/neutralObjects/NeutralObject.cpp +CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o: ../Objects/neutralObjects/NeutralObject.h + +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o: ../Objects/units/CompositeUnit.cpp +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o: ../Objects/units/CompositeUnit.h +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o: ../Objects/units/attributes/Health.h + +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/units/FlyingTroops/BoneDragon.cpp +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/units/FlyingTroops/BoneDragon.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/units/FlyingTroops/FlyingTroops.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o: ../Objects/units/attributes/Health.h + +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/units/FlyingTroops/FlyingTroops.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/units/FlyingTroops/Griffin.cpp +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/units/FlyingTroops/Griffin.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o: ../Objects/units/attributes/Health.h + +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/units/FootTroops/FootTroops.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/units/FootTroops/Halberdier.cpp +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/units/FootTroops/Halberdier.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o: ../Objects/units/attributes/Health.h + +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/units/FootTroops/FootTroops.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/units/FootTroops/Skeleton.cpp +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/units/FootTroops/Skeleton.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o: ../Objects/units/attributes/Health.h + +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/units/RangedTroops/Archer.cpp +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/units/RangedTroops/Archer.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/units/RangedTroops/RangedTroops.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o: ../Objects/units/attributes/Health.h + +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/units/RangedTroops/Lich.cpp +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/units/RangedTroops/Lich.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/units/RangedTroops/RangedTroops.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o: ../Objects/units/attributes/Health.h + +CMakeFiles/oop.dir/Objects/units/Unit.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/Objects/units/Unit.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/Objects/units/Unit.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/Objects/units/Unit.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/Objects/units/Unit.cpp.o: ../Objects/units/Unit.cpp +CMakeFiles/oop.dir/Objects/units/Unit.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/Objects/units/Unit.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/Objects/units/Unit.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/Objects/units/Unit.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/Objects/units/Unit.cpp.o: ../Objects/units/attributes/Health.h + +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../Objects/units/attributes/Health.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../landscapes/Forest.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../landscapes/Grass.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../landscapes/Landscape.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../landscapes/Mountains.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../landscapes/Proxy.cpp +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../landscapes/Proxy.h +CMakeFiles/oop.dir/landscapes/Proxy.cpp.o: ../landscapes/Swamp.h + +CMakeFiles/oop.dir/main.cpp.o: ../Commands/ActionWithObjectCommand.h +CMakeFiles/oop.dir/main.cpp.o: ../Commands/AttackBaseCommand.h +CMakeFiles/oop.dir/main.cpp.o: ../Commands/AttackUnitCommand.h +CMakeFiles/oop.dir/main.cpp.o: ../Commands/Command.h +CMakeFiles/oop.dir/main.cpp.o: ../Commands/CreateUnitCommand.h +CMakeFiles/oop.dir/main.cpp.o: ../Commands/DeleteUnitCommand.h +CMakeFiles/oop.dir/main.cpp.o: ../Commands/GameException.h +CMakeFiles/oop.dir/main.cpp.o: ../Commands/MoveUnitCommand.h +CMakeFiles/oop.dir/main.cpp.o: ../Commands/Rules.h +CMakeFiles/oop.dir/main.cpp.o: ../Commands/StartGameCommand.h +CMakeFiles/oop.dir/main.cpp.o: ../Commands/UnitsAttributesCommand.h +CMakeFiles/oop.dir/main.cpp.o: ../Facade.h +CMakeFiles/oop.dir/main.cpp.o: ../FieldCell.h +CMakeFiles/oop.dir/main.cpp.o: ../Game.h +CMakeFiles/oop.dir/main.cpp.o: ../GameField.h +CMakeFiles/oop.dir/main.cpp.o: ../Gamer.h +CMakeFiles/oop.dir/main.cpp.o: ../Loggers/Adapter.h +CMakeFiles/oop.dir/main.cpp.o: ../Loggers/FileLogger.h +CMakeFiles/oop.dir/main.cpp.o: ../Loggers/LogProxy.h +CMakeFiles/oop.dir/main.cpp.o: ../Loggers/Logger.h +CMakeFiles/oop.dir/main.cpp.o: ../Loggers/NoLogger.h +CMakeFiles/oop.dir/main.cpp.o: ../Loggers/TerminalLogger.h +CMakeFiles/oop.dir/main.cpp.o: ../Manager.h +CMakeFiles/oop.dir/main.cpp.o: ../Memento.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/Base.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/Object.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/Observer.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/Subject.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/neutralObjects/Bar.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/neutralObjects/Hospital.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/neutralObjects/NeutralObject.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/neutralObjects/Shop.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/neutralObjects/Strategy.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/neutralObjects/TrainingBase.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/CompositeUnit.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/FactoryMethod.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/FlyingTroops/BoneDragon.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/FlyingTroops/FlyingTroops.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/FlyingTroops/Griffin.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/FootTroops/FootTroops.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/FootTroops/Halberdier.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/FootTroops/Skeleton.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/RangedTroops/Archer.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/RangedTroops/Lich.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/RangedTroops/RangedTroops.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/Unit.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/attributes/Attack.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/attributes/Attribute.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/attributes/Defense.h +CMakeFiles/oop.dir/main.cpp.o: ../Objects/units/attributes/Health.h +CMakeFiles/oop.dir/main.cpp.o: ../landscapes/Forest.h +CMakeFiles/oop.dir/main.cpp.o: ../landscapes/Grass.h +CMakeFiles/oop.dir/main.cpp.o: ../landscapes/Landscape.h +CMakeFiles/oop.dir/main.cpp.o: ../landscapes/Mountains.h +CMakeFiles/oop.dir/main.cpp.o: ../landscapes/Proxy.h +CMakeFiles/oop.dir/main.cpp.o: ../landscapes/Swamp.h +CMakeFiles/oop.dir/main.cpp.o: ../main.cpp + diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/flags.make b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/flags.make new file mode 100644 index 000000000..bd8683da8 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/flags.make @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# compile CXX with /usr/bin/c++ +CXX_FLAGS = -g -std=gnu++14 + +CXX_DEFINES = + +CXX_INCLUDES = + diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/landscapes/Proxy.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/landscapes/Proxy.cpp.o new file mode 100644 index 000000000..22936279e Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/landscapes/Proxy.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/link.txt b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/link.txt new file mode 100644 index 000000000..c33577a24 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/link.txt @@ -0,0 +1 @@ +/usr/bin/c++ -g CMakeFiles/oop.dir/main.cpp.o CMakeFiles/oop.dir/Facade.cpp.o CMakeFiles/oop.dir/Manager.cpp.o CMakeFiles/oop.dir/Loggers/Adapter.cpp.o CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o CMakeFiles/oop.dir/GameField.cpp.o CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o CMakeFiles/oop.dir/Objects/Base.cpp.o CMakeFiles/oop.dir/landscapes/Proxy.cpp.o CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o CMakeFiles/oop.dir/Objects/units/Unit.cpp.o CMakeFiles/oop.dir/FieldCell.cpp.o CMakeFiles/oop.dir/Memento.cpp.o -o oop diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/main.cpp.o b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/main.cpp.o new file mode 100644 index 000000000..3d4e68a17 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/main.cpp.o differ diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/progress.make b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/progress.make new file mode 100644 index 000000000..cb545c54f --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/oop.dir/progress.make @@ -0,0 +1,23 @@ +CMAKE_PROGRESS_1 = 1 +CMAKE_PROGRESS_2 = 2 +CMAKE_PROGRESS_3 = 3 +CMAKE_PROGRESS_4 = 4 +CMAKE_PROGRESS_5 = 5 +CMAKE_PROGRESS_6 = 6 +CMAKE_PROGRESS_7 = 7 +CMAKE_PROGRESS_8 = 8 +CMAKE_PROGRESS_9 = 9 +CMAKE_PROGRESS_10 = 10 +CMAKE_PROGRESS_11 = 11 +CMAKE_PROGRESS_12 = 12 +CMAKE_PROGRESS_13 = 13 +CMAKE_PROGRESS_14 = 14 +CMAKE_PROGRESS_15 = 15 +CMAKE_PROGRESS_16 = 16 +CMAKE_PROGRESS_17 = 17 +CMAKE_PROGRESS_18 = 18 +CMAKE_PROGRESS_19 = 19 +CMAKE_PROGRESS_20 = 20 +CMAKE_PROGRESS_21 = 21 +CMAKE_PROGRESS_22 = 22 + diff --git a/8382/nakonechnaya/cmake-build-debug/CMakeFiles/progress.marks b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/progress.marks new file mode 100644 index 000000000..2bd5a0a98 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/CMakeFiles/progress.marks @@ -0,0 +1 @@ +22 diff --git a/8382/nakonechnaya/cmake-build-debug/Makefile b/8382/nakonechnaya/cmake-build-debug/Makefile new file mode 100644 index 000000000..c3726d6c4 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/Makefile @@ -0,0 +1,778 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.16 + +# Default target executed when no arguments are given to make. +default_target: all + +.PHONY : default_target + +# Allow only one "make -f Makefile2" at a time, but pass parallelism. +.NOTPARALLEL: + + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# 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 = /snap/clion/114/bin/cmake/linux/bin/cmake + +# The command to remove a file. +RM = /snap/clion/114/bin/cmake/linux/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/osi/CLionProjects/oop + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/osi/CLionProjects/oop/cmake-build-debug + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /snap/clion/114/bin/cmake/linux/bin/cmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) +.PHONY : rebuild_cache + +# Special rule for the target rebuild_cache +rebuild_cache/fast: rebuild_cache + +.PHONY : rebuild_cache/fast + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..." + /snap/clion/114/bin/cmake/linux/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available. +.PHONY : edit_cache + +# Special rule for the target edit_cache +edit_cache/fast: edit_cache + +.PHONY : edit_cache/fast + +# The main all target +all: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles /home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles/progress.marks + $(MAKE) -f CMakeFiles/Makefile2 all + $(CMAKE_COMMAND) -E cmake_progress_start /home/osi/CLionProjects/oop/cmake-build-debug/CMakeFiles 0 +.PHONY : all + +# The main clean target +clean: + $(MAKE) -f CMakeFiles/Makefile2 clean +.PHONY : clean + +# The main clean target +clean/fast: clean + +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + $(MAKE) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + $(MAKE) -f CMakeFiles/Makefile2 preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +#============================================================================= +# Target rules for targets named oop + +# Build rule for target. +oop: cmake_check_build_system + $(MAKE) -f CMakeFiles/Makefile2 oop +.PHONY : oop + +# fast build rule for target. +oop/fast: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/build +.PHONY : oop/fast + +Facade.o: Facade.cpp.o + +.PHONY : Facade.o + +# target to build an object file +Facade.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Facade.cpp.o +.PHONY : Facade.cpp.o + +Facade.i: Facade.cpp.i + +.PHONY : Facade.i + +# target to preprocess a source file +Facade.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Facade.cpp.i +.PHONY : Facade.cpp.i + +Facade.s: Facade.cpp.s + +.PHONY : Facade.s + +# target to generate assembly for a file +Facade.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Facade.cpp.s +.PHONY : Facade.cpp.s + +FieldCell.o: FieldCell.cpp.o + +.PHONY : FieldCell.o + +# target to build an object file +FieldCell.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/FieldCell.cpp.o +.PHONY : FieldCell.cpp.o + +FieldCell.i: FieldCell.cpp.i + +.PHONY : FieldCell.i + +# target to preprocess a source file +FieldCell.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/FieldCell.cpp.i +.PHONY : FieldCell.cpp.i + +FieldCell.s: FieldCell.cpp.s + +.PHONY : FieldCell.s + +# target to generate assembly for a file +FieldCell.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/FieldCell.cpp.s +.PHONY : FieldCell.cpp.s + +GameField.o: GameField.cpp.o + +.PHONY : GameField.o + +# target to build an object file +GameField.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/GameField.cpp.o +.PHONY : GameField.cpp.o + +GameField.i: GameField.cpp.i + +.PHONY : GameField.i + +# target to preprocess a source file +GameField.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/GameField.cpp.i +.PHONY : GameField.cpp.i + +GameField.s: GameField.cpp.s + +.PHONY : GameField.s + +# target to generate assembly for a file +GameField.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/GameField.cpp.s +.PHONY : GameField.cpp.s + +Loggers/Adapter.o: Loggers/Adapter.cpp.o + +.PHONY : Loggers/Adapter.o + +# target to build an object file +Loggers/Adapter.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Loggers/Adapter.cpp.o +.PHONY : Loggers/Adapter.cpp.o + +Loggers/Adapter.i: Loggers/Adapter.cpp.i + +.PHONY : Loggers/Adapter.i + +# target to preprocess a source file +Loggers/Adapter.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Loggers/Adapter.cpp.i +.PHONY : Loggers/Adapter.cpp.i + +Loggers/Adapter.s: Loggers/Adapter.cpp.s + +.PHONY : Loggers/Adapter.s + +# target to generate assembly for a file +Loggers/Adapter.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Loggers/Adapter.cpp.s +.PHONY : Loggers/Adapter.cpp.s + +Loggers/FileLogger.o: Loggers/FileLogger.cpp.o + +.PHONY : Loggers/FileLogger.o + +# target to build an object file +Loggers/FileLogger.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Loggers/FileLogger.cpp.o +.PHONY : Loggers/FileLogger.cpp.o + +Loggers/FileLogger.i: Loggers/FileLogger.cpp.i + +.PHONY : Loggers/FileLogger.i + +# target to preprocess a source file +Loggers/FileLogger.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Loggers/FileLogger.cpp.i +.PHONY : Loggers/FileLogger.cpp.i + +Loggers/FileLogger.s: Loggers/FileLogger.cpp.s + +.PHONY : Loggers/FileLogger.s + +# target to generate assembly for a file +Loggers/FileLogger.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Loggers/FileLogger.cpp.s +.PHONY : Loggers/FileLogger.cpp.s + +Loggers/LogProxy.o: Loggers/LogProxy.cpp.o + +.PHONY : Loggers/LogProxy.o + +# target to build an object file +Loggers/LogProxy.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Loggers/LogProxy.cpp.o +.PHONY : Loggers/LogProxy.cpp.o + +Loggers/LogProxy.i: Loggers/LogProxy.cpp.i + +.PHONY : Loggers/LogProxy.i + +# target to preprocess a source file +Loggers/LogProxy.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Loggers/LogProxy.cpp.i +.PHONY : Loggers/LogProxy.cpp.i + +Loggers/LogProxy.s: Loggers/LogProxy.cpp.s + +.PHONY : Loggers/LogProxy.s + +# target to generate assembly for a file +Loggers/LogProxy.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Loggers/LogProxy.cpp.s +.PHONY : Loggers/LogProxy.cpp.s + +Loggers/TerminalLogger.o: Loggers/TerminalLogger.cpp.o + +.PHONY : Loggers/TerminalLogger.o + +# target to build an object file +Loggers/TerminalLogger.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.o +.PHONY : Loggers/TerminalLogger.cpp.o + +Loggers/TerminalLogger.i: Loggers/TerminalLogger.cpp.i + +.PHONY : Loggers/TerminalLogger.i + +# target to preprocess a source file +Loggers/TerminalLogger.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.i +.PHONY : Loggers/TerminalLogger.cpp.i + +Loggers/TerminalLogger.s: Loggers/TerminalLogger.cpp.s + +.PHONY : Loggers/TerminalLogger.s + +# target to generate assembly for a file +Loggers/TerminalLogger.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Loggers/TerminalLogger.cpp.s +.PHONY : Loggers/TerminalLogger.cpp.s + +Manager.o: Manager.cpp.o + +.PHONY : Manager.o + +# target to build an object file +Manager.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Manager.cpp.o +.PHONY : Manager.cpp.o + +Manager.i: Manager.cpp.i + +.PHONY : Manager.i + +# target to preprocess a source file +Manager.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Manager.cpp.i +.PHONY : Manager.cpp.i + +Manager.s: Manager.cpp.s + +.PHONY : Manager.s + +# target to generate assembly for a file +Manager.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Manager.cpp.s +.PHONY : Manager.cpp.s + +Memento.o: Memento.cpp.o + +.PHONY : Memento.o + +# target to build an object file +Memento.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Memento.cpp.o +.PHONY : Memento.cpp.o + +Memento.i: Memento.cpp.i + +.PHONY : Memento.i + +# target to preprocess a source file +Memento.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Memento.cpp.i +.PHONY : Memento.cpp.i + +Memento.s: Memento.cpp.s + +.PHONY : Memento.s + +# target to generate assembly for a file +Memento.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Memento.cpp.s +.PHONY : Memento.cpp.s + +Objects/Base.o: Objects/Base.cpp.o + +.PHONY : Objects/Base.o + +# target to build an object file +Objects/Base.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/Base.cpp.o +.PHONY : Objects/Base.cpp.o + +Objects/Base.i: Objects/Base.cpp.i + +.PHONY : Objects/Base.i + +# target to preprocess a source file +Objects/Base.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/Base.cpp.i +.PHONY : Objects/Base.cpp.i + +Objects/Base.s: Objects/Base.cpp.s + +.PHONY : Objects/Base.s + +# target to generate assembly for a file +Objects/Base.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/Base.cpp.s +.PHONY : Objects/Base.cpp.s + +Objects/neutralObjects/NeutralObject.o: Objects/neutralObjects/NeutralObject.cpp.o + +.PHONY : Objects/neutralObjects/NeutralObject.o + +# target to build an object file +Objects/neutralObjects/NeutralObject.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.o +.PHONY : Objects/neutralObjects/NeutralObject.cpp.o + +Objects/neutralObjects/NeutralObject.i: Objects/neutralObjects/NeutralObject.cpp.i + +.PHONY : Objects/neutralObjects/NeutralObject.i + +# target to preprocess a source file +Objects/neutralObjects/NeutralObject.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.i +.PHONY : Objects/neutralObjects/NeutralObject.cpp.i + +Objects/neutralObjects/NeutralObject.s: Objects/neutralObjects/NeutralObject.cpp.s + +.PHONY : Objects/neutralObjects/NeutralObject.s + +# target to generate assembly for a file +Objects/neutralObjects/NeutralObject.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/neutralObjects/NeutralObject.cpp.s +.PHONY : Objects/neutralObjects/NeutralObject.cpp.s + +Objects/units/CompositeUnit.o: Objects/units/CompositeUnit.cpp.o + +.PHONY : Objects/units/CompositeUnit.o + +# target to build an object file +Objects/units/CompositeUnit.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.o +.PHONY : Objects/units/CompositeUnit.cpp.o + +Objects/units/CompositeUnit.i: Objects/units/CompositeUnit.cpp.i + +.PHONY : Objects/units/CompositeUnit.i + +# target to preprocess a source file +Objects/units/CompositeUnit.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.i +.PHONY : Objects/units/CompositeUnit.cpp.i + +Objects/units/CompositeUnit.s: Objects/units/CompositeUnit.cpp.s + +.PHONY : Objects/units/CompositeUnit.s + +# target to generate assembly for a file +Objects/units/CompositeUnit.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/CompositeUnit.cpp.s +.PHONY : Objects/units/CompositeUnit.cpp.s + +Objects/units/FlyingTroops/BoneDragon.o: Objects/units/FlyingTroops/BoneDragon.cpp.o + +.PHONY : Objects/units/FlyingTroops/BoneDragon.o + +# target to build an object file +Objects/units/FlyingTroops/BoneDragon.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.o +.PHONY : Objects/units/FlyingTroops/BoneDragon.cpp.o + +Objects/units/FlyingTroops/BoneDragon.i: Objects/units/FlyingTroops/BoneDragon.cpp.i + +.PHONY : Objects/units/FlyingTroops/BoneDragon.i + +# target to preprocess a source file +Objects/units/FlyingTroops/BoneDragon.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.i +.PHONY : Objects/units/FlyingTroops/BoneDragon.cpp.i + +Objects/units/FlyingTroops/BoneDragon.s: Objects/units/FlyingTroops/BoneDragon.cpp.s + +.PHONY : Objects/units/FlyingTroops/BoneDragon.s + +# target to generate assembly for a file +Objects/units/FlyingTroops/BoneDragon.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/FlyingTroops/BoneDragon.cpp.s +.PHONY : Objects/units/FlyingTroops/BoneDragon.cpp.s + +Objects/units/FlyingTroops/Griffin.o: Objects/units/FlyingTroops/Griffin.cpp.o + +.PHONY : Objects/units/FlyingTroops/Griffin.o + +# target to build an object file +Objects/units/FlyingTroops/Griffin.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.o +.PHONY : Objects/units/FlyingTroops/Griffin.cpp.o + +Objects/units/FlyingTroops/Griffin.i: Objects/units/FlyingTroops/Griffin.cpp.i + +.PHONY : Objects/units/FlyingTroops/Griffin.i + +# target to preprocess a source file +Objects/units/FlyingTroops/Griffin.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.i +.PHONY : Objects/units/FlyingTroops/Griffin.cpp.i + +Objects/units/FlyingTroops/Griffin.s: Objects/units/FlyingTroops/Griffin.cpp.s + +.PHONY : Objects/units/FlyingTroops/Griffin.s + +# target to generate assembly for a file +Objects/units/FlyingTroops/Griffin.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/FlyingTroops/Griffin.cpp.s +.PHONY : Objects/units/FlyingTroops/Griffin.cpp.s + +Objects/units/FootTroops/Halberdier.o: Objects/units/FootTroops/Halberdier.cpp.o + +.PHONY : Objects/units/FootTroops/Halberdier.o + +# target to build an object file +Objects/units/FootTroops/Halberdier.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.o +.PHONY : Objects/units/FootTroops/Halberdier.cpp.o + +Objects/units/FootTroops/Halberdier.i: Objects/units/FootTroops/Halberdier.cpp.i + +.PHONY : Objects/units/FootTroops/Halberdier.i + +# target to preprocess a source file +Objects/units/FootTroops/Halberdier.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.i +.PHONY : Objects/units/FootTroops/Halberdier.cpp.i + +Objects/units/FootTroops/Halberdier.s: Objects/units/FootTroops/Halberdier.cpp.s + +.PHONY : Objects/units/FootTroops/Halberdier.s + +# target to generate assembly for a file +Objects/units/FootTroops/Halberdier.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/FootTroops/Halberdier.cpp.s +.PHONY : Objects/units/FootTroops/Halberdier.cpp.s + +Objects/units/FootTroops/Skeleton.o: Objects/units/FootTroops/Skeleton.cpp.o + +.PHONY : Objects/units/FootTroops/Skeleton.o + +# target to build an object file +Objects/units/FootTroops/Skeleton.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.o +.PHONY : Objects/units/FootTroops/Skeleton.cpp.o + +Objects/units/FootTroops/Skeleton.i: Objects/units/FootTroops/Skeleton.cpp.i + +.PHONY : Objects/units/FootTroops/Skeleton.i + +# target to preprocess a source file +Objects/units/FootTroops/Skeleton.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.i +.PHONY : Objects/units/FootTroops/Skeleton.cpp.i + +Objects/units/FootTroops/Skeleton.s: Objects/units/FootTroops/Skeleton.cpp.s + +.PHONY : Objects/units/FootTroops/Skeleton.s + +# target to generate assembly for a file +Objects/units/FootTroops/Skeleton.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/FootTroops/Skeleton.cpp.s +.PHONY : Objects/units/FootTroops/Skeleton.cpp.s + +Objects/units/RangedTroops/Archer.o: Objects/units/RangedTroops/Archer.cpp.o + +.PHONY : Objects/units/RangedTroops/Archer.o + +# target to build an object file +Objects/units/RangedTroops/Archer.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.o +.PHONY : Objects/units/RangedTroops/Archer.cpp.o + +Objects/units/RangedTroops/Archer.i: Objects/units/RangedTroops/Archer.cpp.i + +.PHONY : Objects/units/RangedTroops/Archer.i + +# target to preprocess a source file +Objects/units/RangedTroops/Archer.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.i +.PHONY : Objects/units/RangedTroops/Archer.cpp.i + +Objects/units/RangedTroops/Archer.s: Objects/units/RangedTroops/Archer.cpp.s + +.PHONY : Objects/units/RangedTroops/Archer.s + +# target to generate assembly for a file +Objects/units/RangedTroops/Archer.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/RangedTroops/Archer.cpp.s +.PHONY : Objects/units/RangedTroops/Archer.cpp.s + +Objects/units/RangedTroops/Lich.o: Objects/units/RangedTroops/Lich.cpp.o + +.PHONY : Objects/units/RangedTroops/Lich.o + +# target to build an object file +Objects/units/RangedTroops/Lich.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.o +.PHONY : Objects/units/RangedTroops/Lich.cpp.o + +Objects/units/RangedTroops/Lich.i: Objects/units/RangedTroops/Lich.cpp.i + +.PHONY : Objects/units/RangedTroops/Lich.i + +# target to preprocess a source file +Objects/units/RangedTroops/Lich.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.i +.PHONY : Objects/units/RangedTroops/Lich.cpp.i + +Objects/units/RangedTroops/Lich.s: Objects/units/RangedTroops/Lich.cpp.s + +.PHONY : Objects/units/RangedTroops/Lich.s + +# target to generate assembly for a file +Objects/units/RangedTroops/Lich.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/RangedTroops/Lich.cpp.s +.PHONY : Objects/units/RangedTroops/Lich.cpp.s + +Objects/units/Unit.o: Objects/units/Unit.cpp.o + +.PHONY : Objects/units/Unit.o + +# target to build an object file +Objects/units/Unit.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/Unit.cpp.o +.PHONY : Objects/units/Unit.cpp.o + +Objects/units/Unit.i: Objects/units/Unit.cpp.i + +.PHONY : Objects/units/Unit.i + +# target to preprocess a source file +Objects/units/Unit.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/Unit.cpp.i +.PHONY : Objects/units/Unit.cpp.i + +Objects/units/Unit.s: Objects/units/Unit.cpp.s + +.PHONY : Objects/units/Unit.s + +# target to generate assembly for a file +Objects/units/Unit.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/Objects/units/Unit.cpp.s +.PHONY : Objects/units/Unit.cpp.s + +landscapes/Proxy.o: landscapes/Proxy.cpp.o + +.PHONY : landscapes/Proxy.o + +# target to build an object file +landscapes/Proxy.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/landscapes/Proxy.cpp.o +.PHONY : landscapes/Proxy.cpp.o + +landscapes/Proxy.i: landscapes/Proxy.cpp.i + +.PHONY : landscapes/Proxy.i + +# target to preprocess a source file +landscapes/Proxy.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/landscapes/Proxy.cpp.i +.PHONY : landscapes/Proxy.cpp.i + +landscapes/Proxy.s: landscapes/Proxy.cpp.s + +.PHONY : landscapes/Proxy.s + +# target to generate assembly for a file +landscapes/Proxy.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/landscapes/Proxy.cpp.s +.PHONY : landscapes/Proxy.cpp.s + +main.o: main.cpp.o + +.PHONY : main.o + +# target to build an object file +main.cpp.o: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/main.cpp.o +.PHONY : main.cpp.o + +main.i: main.cpp.i + +.PHONY : main.i + +# target to preprocess a source file +main.cpp.i: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/main.cpp.i +.PHONY : main.cpp.i + +main.s: main.cpp.s + +.PHONY : main.s + +# target to generate assembly for a file +main.cpp.s: + $(MAKE) -f CMakeFiles/oop.dir/build.make CMakeFiles/oop.dir/main.cpp.s +.PHONY : main.cpp.s + +# Help Target +help: + @echo "The following are some of the valid targets for this Makefile:" + @echo "... all (the default if no target is provided)" + @echo "... clean" + @echo "... depend" + @echo "... rebuild_cache" + @echo "... edit_cache" + @echo "... oop" + @echo "... Facade.o" + @echo "... Facade.i" + @echo "... Facade.s" + @echo "... FieldCell.o" + @echo "... FieldCell.i" + @echo "... FieldCell.s" + @echo "... GameField.o" + @echo "... GameField.i" + @echo "... GameField.s" + @echo "... Loggers/Adapter.o" + @echo "... Loggers/Adapter.i" + @echo "... Loggers/Adapter.s" + @echo "... Loggers/FileLogger.o" + @echo "... Loggers/FileLogger.i" + @echo "... Loggers/FileLogger.s" + @echo "... Loggers/LogProxy.o" + @echo "... Loggers/LogProxy.i" + @echo "... Loggers/LogProxy.s" + @echo "... Loggers/TerminalLogger.o" + @echo "... Loggers/TerminalLogger.i" + @echo "... Loggers/TerminalLogger.s" + @echo "... Manager.o" + @echo "... Manager.i" + @echo "... Manager.s" + @echo "... Memento.o" + @echo "... Memento.i" + @echo "... Memento.s" + @echo "... Objects/Base.o" + @echo "... Objects/Base.i" + @echo "... Objects/Base.s" + @echo "... Objects/neutralObjects/NeutralObject.o" + @echo "... Objects/neutralObjects/NeutralObject.i" + @echo "... Objects/neutralObjects/NeutralObject.s" + @echo "... Objects/units/CompositeUnit.o" + @echo "... Objects/units/CompositeUnit.i" + @echo "... Objects/units/CompositeUnit.s" + @echo "... Objects/units/FlyingTroops/BoneDragon.o" + @echo "... Objects/units/FlyingTroops/BoneDragon.i" + @echo "... Objects/units/FlyingTroops/BoneDragon.s" + @echo "... Objects/units/FlyingTroops/Griffin.o" + @echo "... Objects/units/FlyingTroops/Griffin.i" + @echo "... Objects/units/FlyingTroops/Griffin.s" + @echo "... Objects/units/FootTroops/Halberdier.o" + @echo "... Objects/units/FootTroops/Halberdier.i" + @echo "... Objects/units/FootTroops/Halberdier.s" + @echo "... Objects/units/FootTroops/Skeleton.o" + @echo "... Objects/units/FootTroops/Skeleton.i" + @echo "... Objects/units/FootTroops/Skeleton.s" + @echo "... Objects/units/RangedTroops/Archer.o" + @echo "... Objects/units/RangedTroops/Archer.i" + @echo "... Objects/units/RangedTroops/Archer.s" + @echo "... Objects/units/RangedTroops/Lich.o" + @echo "... Objects/units/RangedTroops/Lich.i" + @echo "... Objects/units/RangedTroops/Lich.s" + @echo "... Objects/units/Unit.o" + @echo "... Objects/units/Unit.i" + @echo "... Objects/units/Unit.s" + @echo "... landscapes/Proxy.o" + @echo "... landscapes/Proxy.i" + @echo "... landscapes/Proxy.s" + @echo "... main.o" + @echo "... main.i" + @echo "... main.s" +.PHONY : help + + + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/8382/nakonechnaya/cmake-build-debug/cmake_install.cmake b/8382/nakonechnaya/cmake-build-debug/cmake_install.cmake new file mode 100644 index 000000000..ce61a535f --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/cmake_install.cmake @@ -0,0 +1,49 @@ +# Install script for directory: /home/osi/CLionProjects/oop + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Debug") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Install shared libraries without execute permission? +if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) + set(CMAKE_INSTALL_SO_NO_EXE "1") +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +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/osi/CLionProjects/oop/cmake-build-debug/${CMAKE_INSTALL_MANIFEST}" + "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/8382/nakonechnaya/cmake-build-debug/oop b/8382/nakonechnaya/cmake-build-debug/oop new file mode 100755 index 000000000..4306f26e8 Binary files /dev/null and b/8382/nakonechnaya/cmake-build-debug/oop differ diff --git a/8382/nakonechnaya/cmake-build-debug/oop.cbp b/8382/nakonechnaya/cmake-build-debug/oop.cbp new file mode 100644 index 000000000..95ee8ed48 --- /dev/null +++ b/8382/nakonechnaya/cmake-build-debug/oop.cbp @@ -0,0 +1,322 @@ + + + + + + diff --git a/8382/nakonechnaya/landscapes/Forest.h b/8382/nakonechnaya/landscapes/Forest.h new file mode 100644 index 000000000..9b53f4975 --- /dev/null +++ b/8382/nakonechnaya/landscapes/Forest.h @@ -0,0 +1,14 @@ +#ifndef OOP_FOREST_H +#define OOP_FOREST_H +#include "Landscape.h" + +class Forest : public Landscape{ +public: + Forest() : Landscape() {landName = FOREST;}; + char getName() final {return 'F';}; + void changeAttribute(Unit *unit) final {unit->changeAttributes(-10, 0, 0);}; + Land getLandName() final {return landName;}; +private: + Land landName; +}; +#endif //OOP_FOREST_H diff --git a/8382/nakonechnaya/landscapes/Grass.h b/8382/nakonechnaya/landscapes/Grass.h new file mode 100644 index 000000000..87d2161db --- /dev/null +++ b/8382/nakonechnaya/landscapes/Grass.h @@ -0,0 +1,19 @@ +#ifndef OOP_GRASS_H +#define OOP_GRASS_H +#include "Landscape.h" + +class Grass : public Landscape{ +public: + Grass() : Landscape() {landName = GRASS;}; + char getName() final {return 'G';}; + void changeAttribute(Unit *unit) final { + if (unit->getUnitName() == ARCHER || unit->getUnitName() == LICH) + unit->changeAttributes(30, -10, 0); + else + unit->changeAttributes(0, -10, 0); + }; + Land getLandName() final {return landName;}; +private: + Land landName; +}; +#endif //OOP_GRASS_H diff --git a/8382/nakonechnaya/landscapes/Landscape.h b/8382/nakonechnaya/landscapes/Landscape.h new file mode 100644 index 000000000..daec7b202 --- /dev/null +++ b/8382/nakonechnaya/landscapes/Landscape.h @@ -0,0 +1,15 @@ +#ifndef OOP_LANDSCAPE_H +#define OOP_LANDSCAPE_H +#include "../Objects/units/Unit.h" + +enum Land {GRASS, MOUNTAINS, FOREST, SWAMP}; + +class Landscape{ +protected: + explicit Landscape() = default; +public: + virtual char getName() = 0; + virtual void changeAttribute(Unit *unit) = 0; + virtual Land getLandName() = 0; +}; +#endif //OOP_LANDSCAPE_H diff --git a/8382/nakonechnaya/landscapes/Mountains.h b/8382/nakonechnaya/landscapes/Mountains.h new file mode 100644 index 000000000..046d84b95 --- /dev/null +++ b/8382/nakonechnaya/landscapes/Mountains.h @@ -0,0 +1,14 @@ +#ifndef OOP_MOUNTAINS_H +#define OOP_MOUNTAINS_H +#include "Landscape.h" + +class Mountains : public Landscape{ +public: + Mountains() : Landscape() {landName = MOUNTAINS;}; + char getName() final {return 'M';}; + void changeAttribute(Unit *unit) final {unit->changeAttributes(10, 0, 0);}; + Land getLandName() final {return landName;}; +private: + Land landName; +}; +#endif //OOP_MOUNTAINS_H diff --git a/8382/nakonechnaya/landscapes/Proxy.cpp b/8382/nakonechnaya/landscapes/Proxy.cpp new file mode 100644 index 000000000..2fd946561 --- /dev/null +++ b/8382/nakonechnaya/landscapes/Proxy.cpp @@ -0,0 +1,23 @@ +#include "Proxy.h" + +Proxy::Proxy(Land land){ + switch (land){ + case GRASS: + landscape = new Grass(); + break; + case FOREST: + landscape = new Forest(); + break; + case MOUNTAINS: + landscape = new Mountains(); + break; + case SWAMP: + landscape = new Swamp(); + break; + } +} + +void Proxy::changeAttribute(Unit *unit) { + if (unit->getUnitName() == ARCHER || unit->getUnitName() == LICH || unit->getUnitName() == GRIFFIN) + landscape->changeAttribute(unit); +} \ No newline at end of file diff --git a/8382/nakonechnaya/landscapes/Proxy.h b/8382/nakonechnaya/landscapes/Proxy.h new file mode 100644 index 000000000..a244dbcab --- /dev/null +++ b/8382/nakonechnaya/landscapes/Proxy.h @@ -0,0 +1,17 @@ +#ifndef OOP_PROXY_H +#define OOP_PROXY_H +#include "Grass.h" +#include "Forest.h" +#include "Mountains.h" +#include "Swamp.h" + +class Proxy : public Landscape{ +public: + explicit Proxy(Land land); + void changeAttribute(Unit *unit) override; + char getName() final {}; + Land getLandName() final {}; +private: + Landscape *landscape; +}; +#endif //OOP_PROXY_H diff --git a/8382/nakonechnaya/landscapes/Swamp.h b/8382/nakonechnaya/landscapes/Swamp.h new file mode 100644 index 000000000..b8834d6ea --- /dev/null +++ b/8382/nakonechnaya/landscapes/Swamp.h @@ -0,0 +1,14 @@ +#ifndef OOP_SWAMP_H +#define OOP_SWAMP_H +#include "Landscape.h" + +class Swamp : public Landscape{ +public: + Swamp() : Landscape() {landName = SWAMP;}; + char getName() final {return 'S';}; + void changeAttribute(Unit *unit) final {unit->changeAttributes(-20, 0, 0);}; + Land getLandName() final {return landName;}; +private: + Land landName; +}; +#endif //OOP_SWAMP_H diff --git a/8382/nakonechnaya/main.cpp b/8382/nakonechnaya/main.cpp new file mode 100644 index 000000000..385c1b8bb --- /dev/null +++ b/8382/nakonechnaya/main.cpp @@ -0,0 +1,30 @@ +#include +#include "Game.h" +using std::cout; +using std::endl; +using std::cin; + +int main() { + + cout << "Rules:" << endl; + cout << "1: Kill units\n2: Damage bases\nother: auto(Kill units)" << endl; + int rule; + cin >> rule; + Rules *rules; + switch (rule){ + case 1:{ + rules = new KillUnits; + break; + } + case 2:{ + rules = new DamageBase; + break; + } + default: + rules = new KillUnits; + } + auto *game = new Game(rules); + game->startGame(); + + return 0; +} \ No newline at end of file