diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/Answer.txt b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/Answer.txt new file mode 100644 index 0000000..085f603 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/Answer.txt @@ -0,0 +1,2 @@ +Task 1: + In term -> term*factor | \ No newline at end of file diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/CMakeLists.txt b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/CMakeLists.txt new file mode 100644 index 0000000..fe9af49 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 3.10) +project(lab1 C) + +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra -Wshadow") + +set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -O0 -g") + +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMakeModules/") + +enable_testing() +add_subdirectory(tests) \ No newline at end of file diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/CMakeModules/FindCheck.cmake b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/CMakeModules/FindCheck.cmake new file mode 100644 index 0000000..25c77c0 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/CMakeModules/FindCheck.cmake @@ -0,0 +1,44 @@ +# - Try to find the CHECK libraries +# Once done this will define +# +# CHECK_FOUND - system has check +# CHECK_INCLUDE_DIRS - the check include directory +# CHECK_LIBRARIES - check library +# +# Copyright (c) 2007 Daniel Gollub +# Copyright (c) 2007 Bjoern Ricks +# +# Redistribution and use is allowed according to the terms of the New +# BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + +INCLUDE( FindPkgConfig ) + +# Take care about check.pc settings +PKG_SEARCH_MODULE( CHECK check ) + +# Look for CHECK include dir and libraries +IF( NOT CHECK_FOUND ) + + FIND_PATH( CHECK_INCLUDE_DIRS check.h ) + + FIND_LIBRARY( CHECK_LIBRARIES NAMES check ) + + IF ( CHECK_INCLUDE_DIRS AND CHECK_LIBRARIES ) + SET( CHECK_FOUND 1 ) + IF ( NOT Check_FIND_QUIETLY ) + MESSAGE ( STATUS "Found CHECK: ${CHECK_LIBRARIES}" ) + ENDIF ( NOT Check_FIND_QUIETLY ) + ELSE ( CHECK_INCLUDE_DIRS AND CHECK_LIBRARIES ) + IF ( Check_FIND_REQUIRED ) + MESSAGE( FATAL_ERROR "Could NOT find CHECK" ) + ELSE ( Check_FIND_REQUIRED ) + IF ( NOT Check_FIND_QUIETLY ) + MESSAGE( STATUS "Could NOT find CHECK" ) + ENDIF ( NOT Check_FIND_QUIETLY ) + ENDIF ( Check_FIND_REQUIRED ) + ENDIF ( CHECK_INCLUDE_DIRS AND CHECK_LIBRARIES ) +ENDIF( NOT CHECK_FOUND ) + +# Hide advanced variables from CMake GUIs +MARK_AS_ADVANCED( CHECK_INCLUDE_DIRS CHECK_LIBRARIES ) diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/README.md b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/README.md new file mode 100644 index 0000000..d6ec444 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/README.md @@ -0,0 +1,396 @@ +# "ComiCon" Lab session #1 +## 27/08/2018 +___ + +### Lectures 1--2 summary +- 3 cornerstones of CS (databases, OSs & compilers) +- We want to make the course practical & useful +- The goal of compiler: overcoming semantic gap between human thinking and the way computer works +- Compilation vs interpretation +- Stages of compilation: Lexical analysis, Syntax analysis, Semantic analysis, IR generation, Object code generation, Object code linking +- Compiler front-end & back-end +- Compiler development technologies +- On what stages program optimization can be done + +## Some introductory task here +Quiz (Kahoot) +___ + +## Objectives + +Materials +- Define **token**, **pattern** and **lexeme** +- Given the description of allowed expressions, construct a valid grammar +- Given a grammar, determine validity of a sequence +- Given a grammar, build a parse tree for a sequence +- Given a programming language compilation scheme, determine how it is different from the overall scheme +- Given a compiler error, determine whether it was caught on the lexical analysis stage (invalid symbol) or further stages +- Prepare a plan of how they would implement a simple expression compiler + + +## Concepts --- Grammars; Lexical analysis +- What is lexical analysis +- Token, pattern, lexeme +- Recap on grammars +- Parse trees +- Parse tree vs. AST vs. tree-like IR + +Compilers are complex programs. As a consequence, they're often broken into several distinct chunks, called passes, that communicate with one another via temporary files. + +[Semantic gap](https://en.wikipedia.org/wiki/Semantic_gap) + +*Structure of a Typical Four-Pass Compiler* +![Imgur](https://i.imgur.com/Bkmf0Fq.jpg) + +___ + +A **phase** is an independent task used in the compilation process. + +Typically, several phases are combined into a single pass. + +The **lexical analyzer** phase of a compiler (called a **scanner** or **tokenizer**) translates the input into a form that's more useable by the rest of the compiler. + +The lexical analyzer looks at the input stream as a collection of basic language elements called **tokens**. Token is an indivisible lexical unit. + +Lexemes are translated to tokens. +The original string that comprises the token is called a **lexeme**. + +Choosing a token set. +Too many tokens, however, can make the parser larger than necessary and difficult to write. + + +Scanner is self-contained unit. +The lexical analyzer is typically a self-contained unit that interfaces with the rest of the compiler via a small number (typically one or two) of subroutines and global variables. The parser calls the lexical-analyzer every time it needs a new token, and the analyzer returns that token and the associated lexeme. Since the actual input mechanism is hidden from the parser, you can modify or replace the lexical analyzer without affecting the rest of the compiler. +___ + +The Parser. +Consequently, a good deal of the theoretical side of the subject is borrowed from linguistics. One such concept is the idea of parsing. + +Let's consider parsing of "*Alena see Ivan coding*" +- Sentence Diagram (or Syntax tree) +- Parse Tree + +**Sentence** - collection of tokens that follow a well-defined grammatical structure. + +A parser is a group of subroutines that converts a token stream into a parse tree, and a parse tree is a structural representation of the sentence being parsed. Looked at another way, the parse tree represents the sentence in a hierarchical fashion, moving from a general description of the sentence (at the root of the tree) down to the specific sentence being parsed (the actual tokens) at the leaves. + +*Some compilers create a physical parse tree (later...)* +___ + +The Code Generator. +You can look at an intermediate language as a sort-of super assembly language that's designed for performing specific tasks (such as optimization). + +There are **advantages** and **disadvantages** to an intermediate-language approach to compiler writing. The main disadvantage is *lack of speed*. A parser that goes straight from tokens to binary object code will be very fast, since an extra stage to process the intermediate code can often double the compile time. The advantages, however, are usually enough to justify the loss of speed. These are, in a nutshell, *optimization* and *flexibility*. + +A single lexical-analyzer/parser front end can be used to generate code for several different machines by providing separate back ends that translate a common intermediate language to a machine-speci fie +assembly language. + +Incremental compilers or interpreters. These programs shorten the development cycle by executing intermediate code directly, rather than translating it to binary first, thereby saving the time necessary for assembling and linking a real program. An interpreter can also give you an improved +debugging environment because it can check for things like out-of-bounds array indexing at run time. + +___ + +Flow charts, [Warnier/Orr diagram](https://en.wikipedia.org/wiki/Warnier/Orr_diagram), and structure charts are examples of a design abstraction. + +[Backus–Naur form](https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form) + +A strict BNF representation starts with a set of tokens, called terminal symbols, and a set of definitions, called nonterminal symbols. + +## Practice + +### Grammars +**Task 1** +Consider the following grammar: +``` +E -> SE | num +S -> -S | +S | ε +``` +Here, `E` is the starting symbol, `S` and `E` are nonterminals, and terminals are `+`, `-`, `ε` and `num` where `num` represents any valid non-negative integer, and `ε` stands for empty symbol. +1. Describe how the sequences generated by this grammar would look like. +2. Give three examples of sequences which are valid by this grammar, all of different length +3. Now, give two examples of sequences which would not be valid +4. Now, which of these sequences are valid? + a. `345` + b. `--443-5` + c. `-=++566` + d. `-++--+0` +5. For those sequences which are valid, draw a parse tree +6. Write a regular expression for this grammar + +**Task 2** +Here is a list of keywords which can be used in valid variable declarations in C: + +| `int` | `char` | `long` | `float` | `double` | `signed` | `unsigned` | +| -------- | -------- | -------- | ------ | ------ | ----- | --- | +| **`short`** | **`const`** | **`volatile`** | **`register`** | **`static`** | **`extern`** | + +1. Write a grammar that recognizes valid C variable names + - only ASCII letters, digits and underscores can be used + - the first symbol of the name can't be a number +2. Write a grammar that recognizes a variable declaration made of any number of keywords above and a variable name +3. \* Modify the grammar from the previous question in such a way that it only recognizes valid declarations. Check the validity of your grammar trying out different declaration lines both with it and using C compiler. +4. \** Modify your grammar from the previous question so that it accepts all valid combinations of stars, brackets, parentheses, keywords and names are recognized. Check with a compiler. +5. \** Now, for all grammars you have created in this task, write regular expressions. +6. \* Finally, switch your grammars and try to find mistakes in each other's solutions + +**Task 3** +Write a grammar (and a recursive-descent compiler for that grammar) that translates an English description of a C variable into a C-style variable declaration. For example, the input: +``` +x is a pointer to an array of 10 pointers to functions that return int. +y is an array of 10 floats. +z is a pointer to a struct of type a_struct. +``` +should be translated to: +```clike= +int (*(*x)[10])(); +float y[10]; +struct a_struct *z; +``` +___ + +## Coding + +### Stage one. Repentance. + +First, let me apologize (as usual at our university) for the inconvenience. lol. + +It was assumed that the first lab session we have an interactive code practive. That is why such things as the names of the service variables for implementing the lexical analyzer (*yytext*; *yyleng*; *yylineno*) were incomprehensible to you. + +Soryan. Now we will fix it. +___ + +### Stage two. Lab session *key goals*. + +The first **purpose** of lab session is the implementation of a lexical analyzer and parser bundle for a simple grammar. There are various modifications of this bundle. We will try to implement a concept based on **Recursive-Descent**. Grammar involves simple operations of *multiplication* and *addition*, as well as the presence of *numerical* and *alphabetic* lexemes. The second **purpose** of lab session is to develop your habit of test-driven development (TDD). + +The parser is kind of recognizer program. If it terminate without an error, the input sentence is a legal sentence in the grammar. So the parser+lexical analyzer bundle is an automata for legal input sentences. + +The **lexical analyzer** is typically a self-contained unit that interfaces with the rest of the compiler via a small number (typically one or two) of subroutines and global variables. + +A **parser** is a group of subroutines that converts a token stream into a parse tree, and a parse tree is a structural representation of the sentence being parsed. +___ + +### Stage three. How to do wrong. + +Let's take a simple example. + +The BNF grammar below that recognizes a list of one or more statements, each of which is an arithmetic expression followed by a semicolon. Statements are made up of a series of semicolon-delimited expressions, each comprising a series of numbers separated either by asterisks (for multiplication) or plus signs (for addition). + +#### BNF Grammar v1.0 + +![GitHub](https://github.com/cubazis/inno_comicon_fall/blob/dev/imgs/1_5.jpg) + +This grammar is recursive. It's not hard to notice. When parsing a sentence corresponding to this grammar, a lookahead mechanism is used. + +To understand what it's about, look at the last line. Here is a choice between two alternatives when expanding a *factor*. The parser can choose which alternative to apply by looking at the next input symbol. If this symbol is a number, then the compiler applies left alternative and replaces the *factor* with a **number**. If the next input symbol was an open parenthesis, the parser would use *( expression )*. + +The problem of this grammar lies in the third line. + +Here the compiler can not cope with the choice of the alternative and a **conflict** arises. + +___ +- **Task 1: think and try to answer what is the conflict arises** +___ + +I believe that you have mastered the understanding of the conflict. Now we can move on to a more pumped-up version of the grammar that meets the requirements of our task. +___ + +### Stage four. How to do it right. + +First we confine ourselves to the case when there are only numbers, and we will try to describe the set of tokens. + +A token is an input symbol taken as a unit, a lexeme is the string that represents that symbol. + +The tokens are defined with the macros at the top of *parcer.h* file. + +```c +#define _EOI 0 /* end of input (EOF signal typically) */ +#define _SEMI 1 /* ; */ +#define _PLUS 2 /* + */ +#define _TIMES 3 /* * */ +#define _LP 4 /* ( */ +#define _RP 5 /* ) */ +#define _NUM 6 /* decimal number */ +``` +The **_NUM** token is used both for numbers so, they are made up of a series of contiguous characters in the range *'0'-'9'*. The lexical analyzer translates a semicolon into a **_SEMI** token, a series of digits into a **_NUM** and so on. +___ + +Now when we have a set of tokens, we'll try to compose the Grammar and the corresponding Syntax Diagrams. + +#### BNF Grammar v2.0 + +![GitHub](https://github.com/cubazis/inno_comicon_fall/blob/dev/imgs/1_6.jpg) + +Don't be afraid of ⊢ symbol. It's just the end of input. Usually it's an EOF signal in a system ([tty](https://en.wikipedia.org/wiki/Tty_(unix))). + +*To my taste it's better to explicitly indicate that at the level of abstraction of the machine we stop reading the intup stream by using ⊢ symbol. But canonically in the BNF you will not see this.* + +#### Syntax Diagram +![GitHub](https://github.com/cubazis/inno_comicon_fall/blob/dev/imgs/1_1.jpg) + +How it works. Let's consider parser Syntax Tree and Subroutine Trace for **1 + 2** expression. + +#### Syntax Tree +![GitHub](https://github.com/cubazis/inno_comicon_fall/blob/dev/imgs/1_4.jpg) + +#### Subroutine Trace +![GitHub](https://github.com/cubazis/inno_comicon_fall/blob/dev/imgs/1_3.jpg) + +In context of Subroutine Trace *statements*, *expression*, *term*, *expr_prime*, *factor*, *term_prime* etc. are calls of implemented functions. + +*P.S. prime suffix means <'> in Grammar: +*expression'* is the same as **void expr_prime()** in code template. Please be careful.* + +___ + +### Stage five. In code we trust. + +The are three variables at top of *parcer.h* are used by the lexical analyzer to pass information to the parser: + +- *yytext* points at the current lexeme, which is not '\0' terminated; +- *yyleng* is the number of characters in the lexeme; +- *yylineno* is the current input line number. + +The lexical analyzer is already implemented. The idea is to realize its code and test it! You can never be sure that the instructor gives you a suitable material, so test the *lex()* function by using *test_parser.c* test suite structure. Let me help you and start with simple *test_lex_0* test: + +```c= +START_TEST (test_lex_0) +{ + char* input = ""; + char* pattern = 0; + file = fmemopen(input, strlen(input), "r"); + + int res = (int)lex(); + + printf("%d\n", res); + ck_assert_int_eq(res, pattern); +} +END_TEST +``` +**lex()** function returns the number from the tokens set, determined in *lex.h* file. + +You see that the *input* is an empty string. In our grammar it's an ϵ element. So, this is permissible value. + +As mentioned above, this means that the sentence consists only of an empty character and the machine recognizes this as the end of the input ⊢, and return **0** value according to **_EOI** from the token set. + +___ +- **Task 2: test *lex()* by adding tests in test_parcer.c. Start from 30 line.** +___ + +P.S. + +lex() implemented in terms of FILE descriptor processing, because we want to check it not only in a test suite, but *demo.c* too. So that's why I had to use special function + +```c= +FILE *fmemopen (void *bf, size_t size, const char *mode) +``` +This functions implemented for GNU C Compilers only. If you use it, delete my implementation, and use GNU implementation from *stdio.h* + +P.P.S. As you can see too specific parser internal entities have been used: +```c= +/** parser internal entity to process the input stream */ +FILE * file; +/** parser internal entity to provide parsing result*/ +char parser_result[1000]; +``` +this was done to enable the testing of architecture. +___ + +### Stage six. Lab session practice. + +Now you know how the *lex()* works. What about parser? + +I've implemented several *entry concepts* for you. + +As you can see I provided all of the functions declarations in *parser.h* and their definition templates in *parcer.c*. + +Several functions are already implemented. + +#### Lookahead concept +___ +- **Task 3: I offer you to realize the concept of Looking ahead and token matching by using this canonical implementation. Try to explain the advantages and disadvantages of this approach** +___ + +```c= +static int Lookahead = -1; /* Lookahead token */ + +int match(int token ) +{ + /* Return true if "token" matches the current lookahead symbol. */ + + if( Lookahead == -1 ) + Lookahead = (int) lex(); + + return token == Lookahead; +} + +void advance() +{ + /* Advance the lookahead to the next input symbol. */ + + Lookahead = (int) lex(); +} +``` +#### Grammar functions implementation +___ +- **Task 4: Implement and tnext functions:** +```c= +void term(); + +void expr_prime(); + +void factor(); + +void term_prime(); +``` +___ + +Before doing this, carefully study the approach I used to generate the output value in *parser_result*. + +I used adding the TOKEN name with one space to *parser_result* variable. +```c= +strcat(parser_result, "TOKEN "); +``` + +The idea is to check equality of *parser_result* value and *pattern* value. + +```c= +START_TEST (test_parser_0) +{ + char* input = ";"; + char* pattern = "SEMI EOF"; + file = fmemopen(input, strlen(input), "r"); + statements(); + printf("%s\n", parser_result); + ck_assert_str_eq(parser_result, pattern); + fclose(file); +} +END_TEST +``` +*P.S. Be careful **EOF** token added without space.* + +___ + +- **Task 5: Read the contents of the file *demo.c* and verify its functionality** + +This file process an input string from *in.txt* file and generate *out.txt* file. + +Use these commands in your shell: +```bash= +> c99 demo.c src/parcer.c + +> ./a.out +``` + +and check *out.txt* file contents. +___ + + +## Homework +**Expression calculator** + +[Assignment 1](https://github.com/cubazis/inno_comicon_fall/blob/dev/assignments/ha1/ha1.pdf) + +___ + +### Thank you diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/a.exe b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/a.exe new file mode 100644 index 0000000..be1d3b0 Binary files /dev/null and b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/a.exe differ diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeCache.txt b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeCache.txt new file mode 100644 index 0000000..568c76f --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeCache.txt @@ -0,0 +1,413 @@ +# This is the CMakeCache file. +# For build in directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug +# It was generated by CMake: /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe +# 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_AR:FILEPATH=/usr/bin/ar.exe + +//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=CMAKE_CODEBLOCKS_EXECUTABLE-NOTFOUND + +//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 + +//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.exe + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib.exe + +//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 + +//Flags used by the linker during all build types. +CMAKE_EXE_LINKER_FLAGS:STRING=-Wl,--enable-auto-import + +//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.exe + +//Path to a program. +CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make.exe + +//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.exe + +//Path to a program. +CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy.exe + +//Path to a program. +CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump.exe + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=lab1 + +//Path to a program. +CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib.exe + +//RC compiler +CMAKE_RC_COMPILER:FILEPATH=/usr/bin/windres.exe + +//Flags for Windows Resource Compiler during all build types. +CMAKE_RC_FLAGS:STRING= + +//Flags for Windows Resource Compiler during DEBUG builds. +CMAKE_RC_FLAGS_DEBUG:STRING= + +//Flags for Windows Resource Compiler during MINSIZEREL builds. +CMAKE_RC_FLAGS_MINSIZEREL:STRING= + +//Flags for Windows Resource Compiler during RELEASE builds. +CMAKE_RC_FLAGS_RELEASE:STRING= + +//Flags for Windows Resource Compiler during RELWITHDEBINFO builds. +CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING= + +//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.exe + +//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 + +//pkg-config executable +PKG_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/pkg-config.exe + +//Path to a program. +ProcessorCount_cmd_getconf:FILEPATH=/usr/bin/getconf.exe + +//Path to a program. +ProcessorCount_cmd_sysctl:FILEPATH=ProcessorCount_cmd_sysctl-NOTFOUND + +//Value Computed by CMake +lab1_BINARY_DIR:STATIC=/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug + +//Value Computed by CMake +lab1_SOURCE_DIR:STATIC=/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1 + +//Path to a library. +pkgcfg_lib_CHECK_check:FILEPATH=/usr/lib/libcheck.dll.a + + +######################## +# INTERNAL cache entries +######################## + +CHECK_CFLAGS:INTERNAL= +CHECK_CFLAGS_I:INTERNAL= +CHECK_CFLAGS_OTHER:INTERNAL= +CHECK_FOUND:INTERNAL=1 +CHECK_INCLUDEDIR:INTERNAL=/usr/include +//ADVANCED property for variable: CHECK_INCLUDE_DIRS +CHECK_INCLUDE_DIRS-ADVANCED:INTERNAL=1 +CHECK_INCLUDE_DIRS:INTERNAL= +CHECK_LDFLAGS:INTERNAL=-lcheck +CHECK_LDFLAGS_OTHER:INTERNAL= +CHECK_LIBDIR:INTERNAL=/usr/lib +//ADVANCED property for variable: CHECK_LIBRARIES +CHECK_LIBRARIES-ADVANCED:INTERNAL=1 +CHECK_LIBRARIES:INTERNAL=check +CHECK_LIBRARY_DIRS:INTERNAL= +CHECK_LIBS:INTERNAL= +CHECK_LIBS_L:INTERNAL= +CHECK_LIBS_OTHER:INTERNAL= +CHECK_LIBS_PATHS:INTERNAL= +CHECK_PREFIX:INTERNAL=/usr +CHECK_STATIC_CFLAGS:INTERNAL= +CHECK_STATIC_CFLAGS_I:INTERNAL= +CHECK_STATIC_CFLAGS_OTHER:INTERNAL= +CHECK_STATIC_INCLUDE_DIRS:INTERNAL= +CHECK_STATIC_LDFLAGS:INTERNAL=-lcheck;-lrt;-lm +CHECK_STATIC_LDFLAGS_OTHER:INTERNAL= +CHECK_STATIC_LIBDIR:INTERNAL= +CHECK_STATIC_LIBRARIES:INTERNAL=check;rt;m +CHECK_STATIC_LIBRARY_DIRS:INTERNAL= +CHECK_STATIC_LIBS:INTERNAL= +CHECK_STATIC_LIBS_L:INTERNAL= +CHECK_STATIC_LIBS_OTHER:INTERNAL= +CHECK_STATIC_LIBS_PATHS:INTERNAL= +CHECK_VERSION:INTERNAL=0.10.0 +CHECK_check_INCLUDEDIR:INTERNAL= +CHECK_check_LIBDIR:INTERNAL= +CHECK_check_PREFIX:INTERNAL= +CHECK_check_VERSION:INTERNAL= +//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=/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/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=12 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=0 +//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE +CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cpack.exe +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/ctest.exe +//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 +//Executable file format +CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown +//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 +//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__;3;__GNUC_PATCHLEVEL__; ;__VERSION__;"7.3.0";__ATOMIC_RELAXED; ;__ATOMIC_SEQ_CST;5;__ATOMIC_ACQUIRE;2;__ATOMIC_RELEASE;3;__ATOMIC_ACQ_REL;4;__ATOMIC_CONSUME;1;__pic__;1;__PIC__;1;__FINITE_MATH_ONLY__; ;_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__;short unsigned 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__;0xffff;__WCHAR_MIN__; ;__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__;16;__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__; ;__FLT_EVAL_METHOD_TS_18661_3__; ;__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;__PRAGMA_REDEFINE_EXTNAME;1;__SIZEOF_INT128__;16;__SIZEOF_WCHAR_T__;2;__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_medium__;1;__MMX__;1;__SSE__;1;__SSE2__;1;__FXSR__;1;__SSE_MATH__;1;__SSE2_MATH__;1;__SEG_FS;1;__SEG_GS;1;__SEH__;1;__stdcall;__attribute__((__stdcall__));__fastcall;__attribute__((__fastcall__));__thiscall;__attribute__((__thiscall__));__cdecl;__attribute__((__cdecl__));_stdcall;__attribute__((__stdcall__));_fastcall;__attribute__((__fastcall__));_thiscall;__attribute__((__thiscall__));_cdecl;__attribute__((__cdecl__));__GXX_MERGED_TYPEINFO_NAMES; ;__GXX_TYPEINFO_EQUALITY_INLINE; ;__CYGWIN__;1;__unix;1;__unix__;1;unix;1;__declspec(x);__attribute__((x));__DECIMAL_BID_FORMAT__;1 +//C compiler system include directories +CMAKE_EXTRA_GENERATOR_C_SYSTEM_INCLUDE_DIRS:INTERNAL=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/include;/usr/include;/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/../include/w32api +//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= +//Have symbol pthread_create +CMAKE_HAVE_LIBC_CREATE:INTERNAL=1 +//Have include pthread.h +CMAKE_HAVE_PTHREAD_H:INTERNAL=1 +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1 +//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=2 +//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_RC_COMPILER +CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1 +CMAKE_RC_COMPILER_WORKS:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RC_FLAGS +CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG +CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL +CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE +CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO +CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS +CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG +CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE +CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH +CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_RPATH +CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS +CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG +CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE +CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STRIP +CMAKE_STRIP-ADVANCED:INTERNAL=1 +//uname command +CMAKE_UNAME:INTERNAL=/usr/bin/uname.exe +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//Details about finding PkgConfig +FIND_PACKAGE_MESSAGE_DETAILS_PkgConfig:INTERNAL=[/usr/bin/pkg-config.exe][v0.29.1()] +//Details about finding Threads +FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()] +//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE +PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: ProcessorCount_cmd_getconf +ProcessorCount_cmd_getconf-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: ProcessorCount_cmd_sysctl +ProcessorCount_cmd_sysctl-ADVANCED:INTERNAL=1 +__pkg_config_checked_CHECK:INTERNAL=1 +prefix_result:INTERNAL=/usr/lib + diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CMakeCCompiler.cmake b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CMakeCCompiler.cmake new file mode 100644 index 0000000..e43fff3 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CMakeCCompiler.cmake @@ -0,0 +1,73 @@ +set(CMAKE_C_COMPILER "/usr/bin/cc") +set(CMAKE_C_COMPILER_ARG1 "") +set(CMAKE_C_COMPILER_ID "GNU") +set(CMAKE_C_COMPILER_VERSION "7.3.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 "Cygwin") +set(CMAKE_C_SIMULATE_ID "") +set(CMAKE_C_SIMULATE_VERSION "") + + + +set(CMAKE_AR "/usr/bin/ar.exe") +set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar.exe") +set(CMAKE_RANLIB "/usr/bin/ranlib.exe") +set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib.exe") +set(CMAKE_LINKER "/usr/bin/ld.exe") +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 1) +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 "") +set(CMAKE_C_LIBRARY_ARCHITECTURE "") + +if(CMAKE_C_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_C_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") +endif() + +if(CMAKE_C_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "") +endif() + +set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc_s;gcc;cygwin;advapi32;shell32;user32;kernel32;gcc_s;gcc") +set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-cygwin/7.3.0;/usr/x86_64-pc-cygwin/lib;/usr/lib;/lib") +set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CMakeDetermineCompilerABI_C.bin b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CMakeDetermineCompilerABI_C.bin new file mode 100644 index 0000000..cbb551a Binary files /dev/null and b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CMakeDetermineCompilerABI_C.bin differ diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CMakeRCCompiler.cmake b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CMakeRCCompiler.cmake new file mode 100644 index 0000000..21eff0e --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CMakeRCCompiler.cmake @@ -0,0 +1,6 @@ +set(CMAKE_RC_COMPILER "/usr/bin/windres.exe") +set(CMAKE_RC_COMPILER_ARG1 "") +set(CMAKE_RC_COMPILER_LOADED 1) +set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC) +set(CMAKE_RC_OUTPUT_EXTENSION .obj) +set(CMAKE_RC_COMPILER_ENV_VAR "RC") diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CMakeSystem.cmake b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CMakeSystem.cmake new file mode 100644 index 0000000..1e27675 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CMakeSystem.cmake @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "CYGWIN-2.11.1(0.329/5/3)") +set(CMAKE_HOST_SYSTEM_NAME "CYGWIN") +set(CMAKE_HOST_SYSTEM_VERSION "2.11.1(0.329/5/3)") +set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") + + + +set(CMAKE_SYSTEM "CYGWIN-2.11.1(0.329/5/3)") +set(CMAKE_SYSTEM_NAME "CYGWIN") +set(CMAKE_SYSTEM_VERSION "2.11.1(0.329/5/3)") +set(CMAKE_SYSTEM_PROCESSOR "x86_64") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/CMakeCCompilerId.c b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/CMakeCCompilerId.c new file mode 100644 index 0000000..bfc6ebb --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/CMakeCCompilerId.c @@ -0,0 +1,623 @@ +#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 + /* __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 + +#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" +# if defined(__ibmxl__) +# 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__) +# else + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) +# endif + + +#elif defined(__ibmxl__) || (defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800) +# define COMPILER_ID "XL" +# if defined(__ibmxl__) +# 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__) +# else + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) +# endif + + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 +# define COMPILER_ID "VisualAge" +# if defined(__ibmxl__) +# 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__) +# else + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) +# endif + + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) +# define COMPILER_ID "Fujitsu" + +#elif defined(__TINYC__) +# define COMPILER_ID "TinyCC" + +#elif defined(__BCC__) +# define COMPILER_ID "Bruce" + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#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__) +# 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__) +# 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__) +# endif + +#elif defined(__ARMCC_VERSION) +# 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(__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 + +#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) +# define COMPILER_ID "MIPSpro" +# if defined(_SGI_COMPILER_VERSION) + /* _SGI_COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) +# else + /* _COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 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(__sgi) +# define COMPILER_ID "MIPSpro" + +#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(__sgi) || defined(__sgi__) || defined(_SGI) +# define PLATFORM_ID "IRIX" + +#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 + +#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(__ICCAVR__) +# define ARCHITECTURE_ID "AVR" + +# 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/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/a.exe b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/a.exe new file mode 100644 index 0000000..a1fb95e Binary files /dev/null and b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/a.exe differ diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 0000000..5fc9e75 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/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/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/CMakeOutput.log b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/CMakeOutput.log new file mode 100644 index 0000000..9fdf63a --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/CMakeOutput.log @@ -0,0 +1,257 @@ +The system is: CYGWIN - 2.11.1(0.329/5/3) - 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.exe" + +The C compiler identification is GNU, found in "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/a.exe" + +Determining if the C compiler works passed with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_a061b/fast" +/usr/bin/make -f CMakeFiles/cmTC_a061b.dir/build.make CMakeFiles/cmTC_a061b.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_a061b.dir/testCCompiler.c.o +/usr/bin/cc -o CMakeFiles/cmTC_a061b.dir/testCCompiler.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c" +Linking C executable cmTC_a061b.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_a061b.dir/link.txt --verbose=1 +/usr/bin/cc -Wl,--enable-auto-import CMakeFiles/cmTC_a061b.dir/testCCompiler.c.o -o cmTC_a061b.exe -Wl,--out-implib,libcmTC_a061b.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + + +Detecting C compiler ABI info compiled with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_919e4/fast" +/usr/bin/make -f CMakeFiles/cmTC_919e4.dir/build.make CMakeFiles/cmTC_919e4.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o +/usr/bin/cc -o CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o -c /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeCCompilerABI.c +Linking C executable cmTC_919e4.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_919e4.dir/link.txt --verbose=1 +/usr/bin/cc -Wl,--enable-auto-import -v CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o -o cmTC_919e4.exe -Wl,--out-implib,libcmTC_919e4.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +Using built-in specs. +COLLECT_GCC=/usr/bin/cc +COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/lto-wrapper.exe +Target: x86_64-pc-cygwin +Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-7.3.0-3.x86_64/src/gcc-7.3.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-7.3.0-3.x86_64/src/gcc-7.3.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --disable-libssp --enable-libada --disable-symvers --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible --enable-libstdcxx-filesystem-ts +Thread model: posix +gcc version 7.3.0 (GCC) +COMPILER_PATH=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/bin/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_919e4.exe' '-mtune=generic' '-march=x86-64' + /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/collect2.exe -plugin /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/cyglto_plugin.dll -plugin-opt=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/lto-wrapper.exe -plugin-opt=-fresolution=/tmp/ccmkJSAG.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lcygwin -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id -m i386pep --wrap _Znwm --wrap _Znam --wrap _ZdlPv --wrap _ZdaPv --wrap _ZnwmRKSt9nothrow_t --wrap _ZnamRKSt9nothrow_t --wrap _ZdlPvRKSt9nothrow_t --wrap _ZdaPvRKSt9nothrow_t -Bdynamic --dll-search-prefix=cyg --tsaware -o cmTC_919e4.exe /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/crt0.o /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/crtbegin.o -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0 -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../.. --enable-auto-import CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o --out-implib libcmTC_919e4.dll.a --major-image-version 0 --minor-image-version 0 -lgcc_s -lgcc -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/default-manifest.o /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/crtend.o +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_919e4.exe' '-mtune=generic' '-march=x86-64' +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + + +Parsed C implicit link information from above output: + link line regex: [^( *|.*[/\])(ld\.exe|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] + ignore line: [Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp] + ignore line: [] + ignore line: [Run Build Command:"/usr/bin/make.exe" "cmTC_919e4/fast"] + ignore line: [/usr/bin/make -f CMakeFiles/cmTC_919e4.dir/build.make CMakeFiles/cmTC_919e4.dir/build] + ignore line: [make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp'] + ignore line: [Building C object CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o] + ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o -c /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeCCompilerABI.c] + ignore line: [Linking C executable cmTC_919e4.exe] + ignore line: [/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_919e4.dir/link.txt --verbose=1] + ignore line: [/usr/bin/cc -Wl,--enable-auto-import -v CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o -o cmTC_919e4.exe -Wl,--out-implib,libcmTC_919e4.dll.a -Wl,--major-image-version,0,--minor-image-version,0 ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/cc] + ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/lto-wrapper.exe] + ignore line: [Target: x86_64-pc-cygwin] + ignore line: [Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-7.3.0-3.x86_64/src/gcc-7.3.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-7.3.0-3.x86_64/src/gcc-7.3.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --disable-libssp --enable-libada --disable-symvers --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible --enable-libstdcxx-filesystem-ts] + ignore line: [Thread model: posix] + ignore line: [gcc version 7.3.0 (GCC) ] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/bin/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_919e4.exe' '-mtune=generic' '-march=x86-64'] + link line: [ /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/collect2.exe -plugin /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/cyglto_plugin.dll -plugin-opt=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/lto-wrapper.exe -plugin-opt=-fresolution=/tmp/ccmkJSAG.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lcygwin -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id -m i386pep --wrap _Znwm --wrap _Znam --wrap _ZdlPv --wrap _ZdaPv --wrap _ZnwmRKSt9nothrow_t --wrap _ZnamRKSt9nothrow_t --wrap _ZdlPvRKSt9nothrow_t --wrap _ZdaPvRKSt9nothrow_t -Bdynamic --dll-search-prefix=cyg --tsaware -o cmTC_919e4.exe /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/crt0.o /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/crtbegin.o -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0 -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../.. --enable-auto-import CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o --out-implib libcmTC_919e4.dll.a --major-image-version 0 --minor-image-version 0 -lgcc_s -lgcc -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/default-manifest.o /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/crtend.o] + arg [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/collect2.exe] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/cyglto_plugin.dll] ==> ignore + arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/lto-wrapper.exe] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/ccmkJSAG.res] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [-plugin-opt=-pass-through=-lcygwin] ==> ignore + arg [-plugin-opt=-pass-through=-ladvapi32] ==> ignore + arg [-plugin-opt=-pass-through=-lshell32] ==> ignore + arg [-plugin-opt=-pass-through=-luser32] ==> ignore + arg [-plugin-opt=-pass-through=-lkernel32] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [--build-id] ==> ignore + arg [-m] ==> ignore + arg [i386pep] ==> ignore + arg [--wrap] ==> ignore + arg [_Znwm] ==> ignore + arg [--wrap] ==> ignore + arg [_Znam] ==> ignore + arg [--wrap] ==> ignore + arg [_ZdlPv] ==> ignore + arg [--wrap] ==> ignore + arg [_ZdaPv] ==> ignore + arg [--wrap] ==> ignore + arg [_ZnwmRKSt9nothrow_t] ==> ignore + arg [--wrap] ==> ignore + arg [_ZnamRKSt9nothrow_t] ==> ignore + arg [--wrap] ==> ignore + arg [_ZdlPvRKSt9nothrow_t] ==> ignore + arg [--wrap] ==> ignore + arg [_ZdaPvRKSt9nothrow_t] ==> ignore + arg [-Bdynamic] ==> ignore + arg [--dll-search-prefix=cyg] ==> ignore + arg [--tsaware] ==> ignore + arg [-o] ==> ignore + arg [cmTC_919e4.exe] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/crt0.o] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/crtbegin.o] ==> ignore + arg [-L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0] ==> dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0] + arg [-L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib] ==> dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib] + arg [-L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib] + arg [-L/lib/../lib] ==> dir [/lib/../lib] + arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] + arg [-L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib] ==> dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib] + arg [-L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../..] + arg [--enable-auto-import] ==> ignore + arg [CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o] ==> ignore + arg [--out-implib] ==> ignore + arg [libcmTC_919e4.dll.a] ==> ignore + arg [--major-image-version] ==> ignore + arg [0] ==> ignore + arg [--minor-image-version] ==> ignore + arg [0] ==> ignore + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [-lcygwin] ==> lib [cygwin] + arg [-ladvapi32] ==> lib [advapi32] + arg [-lshell32] ==> lib [shell32] + arg [-luser32] ==> lib [user32] + arg [-lkernel32] ==> lib [kernel32] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/default-manifest.o] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/crtend.o] ==> ignore + collapse library dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0] ==> [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0] + collapse library dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib] ==> [/usr/x86_64-pc-cygwin/lib] + collapse library dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib] ==> [/usr/lib] + collapse library dir [/lib/../lib] ==> [/lib] + collapse library dir [/usr/lib/../lib] ==> [/usr/lib] + collapse library dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib] ==> [/usr/x86_64-pc-cygwin/lib] + collapse library dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../..] ==> [/usr/lib] + implicit libs: [gcc_s;gcc;cygwin;advapi32;shell32;user32;kernel32;gcc_s;gcc] + implicit dirs: [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0;/usr/x86_64-pc-cygwin/lib;/usr/lib;/lib] + implicit fwks: [] + + + + +Detecting C [-std=c11] compiler features compiled with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_e7223/fast" +/usr/bin/make -f CMakeFiles/cmTC_e7223.dir/build.make CMakeFiles/cmTC_e7223.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_e7223.dir/feature_tests.c.o +/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_e7223.dir/feature_tests.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/feature_tests.c" +Linking C executable cmTC_e7223.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_e7223.dir/link.txt --verbose=1 +/usr/bin/cc -Wl,--enable-auto-import CMakeFiles/cmTC_e7223.dir/feature_tests.c.o -o cmTC_e7223.exe -Wl,--out-implib,libcmTC_e7223.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:1c_restrict + Feature record: C_FEATURE:1c_static_assert + Feature record: C_FEATURE:1c_variadic_macros + + +Detecting C [-std=c99] compiler features compiled with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_0e481/fast" +/usr/bin/make -f CMakeFiles/cmTC_0e481.dir/build.make CMakeFiles/cmTC_0e481.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_0e481.dir/feature_tests.c.o +/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_0e481.dir/feature_tests.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/feature_tests.c" +Linking C executable cmTC_0e481.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_0e481.dir/link.txt --verbose=1 +/usr/bin/cc -Wl,--enable-auto-import CMakeFiles/cmTC_0e481.dir/feature_tests.c.o -o cmTC_0e481.exe -Wl,--out-implib,libcmTC_0e481.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:1c_restrict + Feature record: C_FEATURE:0c_static_assert + Feature record: C_FEATURE:1c_variadic_macros + + +Detecting C [-std=c90] compiler features compiled with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_28f08/fast" +/usr/bin/make -f CMakeFiles/cmTC_28f08.dir/build.make CMakeFiles/cmTC_28f08.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_28f08.dir/feature_tests.c.o +/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_28f08.dir/feature_tests.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/feature_tests.c" +Linking C executable cmTC_28f08.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_28f08.dir/link.txt --verbose=1 +/usr/bin/cc -Wl,--enable-auto-import CMakeFiles/cmTC_28f08.dir/feature_tests.c.o -o cmTC_28f08.exe -Wl,--out-implib,libcmTC_28f08.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:0c_restrict + Feature record: C_FEATURE:0c_static_assert + Feature record: C_FEATURE:0c_variadic_macros +Determining if the include file pthread.h exists passed with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_999c4/fast" +/usr/bin/make -f CMakeFiles/cmTC_999c4.dir/build.make CMakeFiles/cmTC_999c4.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_999c4.dir/CheckIncludeFile.c.o +/usr/bin/cc -std=c99 -Wall -Wextra -Wshadow -o CMakeFiles/cmTC_999c4.dir/CheckIncludeFile.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp/CheckIncludeFile.c" +Linking C executable cmTC_999c4.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_999c4.dir/link.txt --verbose=1 +/usr/bin/cc -std=c99 -Wall -Wextra -Wshadow -Wl,--enable-auto-import CMakeFiles/cmTC_999c4.dir/CheckIncludeFile.c.o -o cmTC_999c4.exe -Wl,--out-implib,libcmTC_999c4.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + + +Determining if the pthread_create exist passed with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_9d373/fast" +/usr/bin/make -f CMakeFiles/cmTC_9d373.dir/build.make CMakeFiles/cmTC_9d373.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_9d373.dir/CheckSymbolExists.c.o +/usr/bin/cc -std=c99 -Wall -Wextra -Wshadow -o CMakeFiles/cmTC_9d373.dir/CheckSymbolExists.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp/CheckSymbolExists.c" +Linking C executable cmTC_9d373.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_9d373.dir/link.txt --verbose=1 +/usr/bin/cc -std=c99 -Wall -Wextra -Wshadow -Wl,--enable-auto-import CMakeFiles/cmTC_9d373.dir/CheckSymbolExists.c.o -o cmTC_9d373.exe -Wl,--out-implib,libcmTC_9d373.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + +File /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp/CheckSymbolExists.c: +/* */ +#include + +int main(int argc, char** argv) +{ + (void)argv; +#ifndef pthread_create + return ((int*)(&pthread_create))[argc]; +#else + (void)argc; + return 0; +#endif +} + diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/Makefile.cmake b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/Makefile.cmake new file mode 100644 index 0000000..d4ef609 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/Makefile.cmake @@ -0,0 +1,59 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# 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" + "../CMakeModules/FindCheck.cmake" + "CMakeFiles/3.12.0/CMakeCCompiler.cmake" + "CMakeFiles/3.12.0/CMakeRCCompiler.cmake" + "CMakeFiles/3.12.0/CMakeSystem.cmake" + "../tests/CMakeLists.txt" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeCInformation.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeCommonLanguageInclude.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeFindCodeBlocks.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeGenericSystem.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeInitializeConfigs.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeLanguageInformation.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeRCInformation.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeSystemSpecificInformation.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeSystemSpecificInitialize.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CheckIncludeFile.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CheckLibraryExists.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CheckSymbolExists.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Compiler/CMakeCommonCompilerMacros.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Compiler/GNU-C.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Compiler/GNU.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/FindPackageHandleStandardArgs.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/FindPackageMessage.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/FindPkgConfig.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/FindThreads.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Platform/CYGWIN-GNU-C.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Platform/CYGWIN-GNU.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Platform/CYGWIN-windres.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Platform/CYGWIN.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Platform/UnixPaths.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/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" + "tests/CMakeFiles/CMakeDirectoryInformation.cmake" + ) + +# Dependency information for all targets: +set(CMAKE_DEPEND_INFO_FILES + "tests/CMakeFiles/test_parcer.dir/DependInfo.cmake" + ) diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/Makefile2 b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/Makefile2 new file mode 100644 index 0000000..e7dd8bb --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/Makefile2 @@ -0,0 +1,131 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# Default target executed when no arguments are given to make. +default_target: all + +.PHONY : default_target + +# The main recursive all target +all: + +.PHONY : all + +# The main recursive preinstall target +preinstall: + +.PHONY : preinstall + +# The main recursive clean target +clean: + +.PHONY : clean + +#============================================================================= +# 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 = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe + +# The command to remove a file. +RM = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1" + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" + +#============================================================================= +# Directory level rules for directory tests + +# Convenience name for "all" pass in the directory. +tests/all: tests/CMakeFiles/test_parcer.dir/all + +.PHONY : tests/all + +# Convenience name for "clean" pass in the directory. +tests/clean: tests/CMakeFiles/test_parcer.dir/clean + +.PHONY : tests/clean + +# Convenience name for "preinstall" pass in the directory. +tests/preinstall: + +.PHONY : tests/preinstall + +#============================================================================= +# Target rules for target tests/CMakeFiles/test_parcer.dir + +# All Build rule for target. +tests/CMakeFiles/test_parcer.dir/all: + $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/depend + $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir="/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" --progress-num=1,2,3 "Built target test_parcer" +.PHONY : tests/CMakeFiles/test_parcer.dir/all + +# Include target in all. +all: tests/CMakeFiles/test_parcer.dir/all + +.PHONY : all + +# Build rule for subdir invocation for target. +tests/CMakeFiles/test_parcer.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" 3 + $(MAKE) -f CMakeFiles/Makefile2 tests/CMakeFiles/test_parcer.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" 0 +.PHONY : tests/CMakeFiles/test_parcer.dir/rule + +# Convenience name for target. +test_parcer: tests/CMakeFiles/test_parcer.dir/rule + +.PHONY : test_parcer + +# clean rule for target. +tests/CMakeFiles/test_parcer.dir/clean: + $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/clean +.PHONY : tests/CMakeFiles/test_parcer.dir/clean + +# clean rule for target. +clean: tests/CMakeFiles/test_parcer.dir/clean + +.PHONY : 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) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/TargetDirectories.txt b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/TargetDirectories.txt new file mode 100644 index 0000000..cf222cd --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/TargetDirectories.txt @@ -0,0 +1,7 @@ +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/rebuild_cache.dir +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/test.dir +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/edit_cache.dir +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/edit_cache.dir +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/rebuild_cache.dir +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/test.dir diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/clion-environment.txt b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/clion-environment.txt new file mode 100644 index 0000000..300c526 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/clion-environment.txt @@ -0,0 +1,4 @@ +ToolSet: 2.11.1@C:\ProgramData\Cygwin +Options: + +Options: \ No newline at end of file diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/clion-log.txt b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/clion-log.txt new file mode 100644 index 0000000..e0714db --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/clion-log.txt @@ -0,0 +1,4 @@ +C:\Users\nekit\.CLion2018.2\system\cygwin_cmake\bin\cmake.exe -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1" +-- Configuring done +-- Generating done +-- Build files have been written to: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/cmake.check_cache b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/cmake.check_cache new file mode 100644 index 0000000..3dccd73 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/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/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/feature_tests.bin b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/feature_tests.bin new file mode 100644 index 0000000..93cc30a Binary files /dev/null and b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/feature_tests.bin differ diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/feature_tests.c b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/feature_tests.c new file mode 100644 index 0000000..83e86dd --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/feature_tests.c @@ -0,0 +1,34 @@ + + const char features[] = {"\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 +"1" +#else +"0" +#endif +"c_function_prototypes\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +"1" +#else +"0" +#endif +"c_restrict\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L +"1" +#else +"0" +#endif +"c_static_assert\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +"1" +#else +"0" +#endif +"c_variadic_macros\n" + +}; + +int main(int argc, char** argv) { (void)argv; return features[argc]; } diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/progress.marks b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/progress.marks new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CMakeFiles/progress.marks @@ -0,0 +1 @@ +3 diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CTestTestfile.cmake b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CTestTestfile.cmake new file mode 100644 index 0000000..10bc35a --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/CTestTestfile.cmake @@ -0,0 +1,7 @@ +# CMake generated Testfile for +# Source directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1 +# Build directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug +# +# This file includes the relevant testing commands required for +# testing this directory and lists subdirectories to be tested as well. +subdirs("tests") diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/Makefile b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/Makefile new file mode 100644 index 0000000..9356a21 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/Makefile @@ -0,0 +1,160 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# 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 = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe + +# The command to remove a file. +RM = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1" + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/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..." + /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -H$(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 test +test: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..." + /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/ctest.exe --force-new-ctest-process $(ARGS) +.PHONY : test + +# Special rule for the target test +test/fast: test + +.PHONY : test/fast + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..." + /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -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 "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/progress.marks" + $(MAKE) -f CMakeFiles/Makefile2 all + $(CMAKE_COMMAND) -E cmake_progress_start "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/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) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +#============================================================================= +# Target rules for targets named test_parcer + +# Build rule for target. +test_parcer: cmake_check_build_system + $(MAKE) -f CMakeFiles/Makefile2 test_parcer +.PHONY : test_parcer + +# fast build rule for target. +test_parcer/fast: + $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/build +.PHONY : test_parcer/fast + +# 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 "... test" + @echo "... edit_cache" + @echo "... test_parcer" +.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) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/cmake_install.cmake b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/cmake_install.cmake new file mode 100644 index 0000000..2d9d9d7 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/cmake_install.cmake @@ -0,0 +1,50 @@ +# Install script for directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1 + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Debug") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + +if(NOT CMAKE_INSTALL_LOCAL_ONLY) + # Include the install script for each subdirectory. + include("/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/cmake_install.cmake") + +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 "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/${CMAKE_INSTALL_MANIFEST}" + "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/lab1.cbp b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/lab1.cbp new file mode 100644 index 0000000..a9adf0b --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/lab1.cbp @@ -0,0 +1,110 @@ + + + + + + diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/CMakeDirectoryInformation.cmake b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 0000000..5fc9e75 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/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/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/progress.marks b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/progress.marks new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/progress.marks @@ -0,0 +1 @@ +3 diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/C.includecache b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/C.includecache new file mode 100644 index 0000000..29108d5 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/C.includecache @@ -0,0 +1,20 @@ +#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) + +#IncludeRegexScan: ^.*$ + +#IncludeRegexComplain: ^$ + +#IncludeRegexTransform: + +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.c +parcer.h +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.h +string.h +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/string.h + +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.h +stdio.h +- +ctype.h +- + diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/DependInfo.cmake b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/DependInfo.cmake new file mode 100644 index 0000000..7bf0537 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/DependInfo.cmake @@ -0,0 +1,23 @@ +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + "C" + ) +# The set of files for implicit dependencies of each language: +set(CMAKE_DEPENDS_CHECK_C + "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.c" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o" + "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/test_parcer.c" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/test_parcer.c.o" + ) +set(CMAKE_C_COMPILER_ID "GNU") + +# The include file search paths: +set(CMAKE_C_TARGET_INCLUDE_PATH + "../tests/." + "../tests/../src" + ) + +# 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/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o new file mode 100644 index 0000000..0d33e7f Binary files /dev/null and b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o differ diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/build.make b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/build.make new file mode 100644 index 0000000..c4dc123 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/build.make @@ -0,0 +1,113 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# 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 = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe + +# The command to remove a file. +RM = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1" + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" + +# Include any dependencies generated for this target. +include tests/CMakeFiles/test_parcer.dir/depend.make + +# Include the progress variables for this target. +include tests/CMakeFiles/test_parcer.dir/progress.make + +# Include the compile flags for this target's objects. +include tests/CMakeFiles/test_parcer.dir/flags.make + +tests/CMakeFiles/test_parcer.dir/test_parcer.c.o: tests/CMakeFiles/test_parcer.dir/flags.make +tests/CMakeFiles/test_parcer.dir/test_parcer.c.o: ../tests/test_parcer.c + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir="/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" --progress-num=$(CMAKE_PROGRESS_1) "Building C object tests/CMakeFiles/test_parcer.dir/test_parcer.c.o" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/test_parcer.dir/test_parcer.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/test_parcer.c" + +tests/CMakeFiles/test_parcer.dir/test_parcer.c.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_parcer.dir/test_parcer.c.i" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/test_parcer.c" > CMakeFiles/test_parcer.dir/test_parcer.c.i + +tests/CMakeFiles/test_parcer.dir/test_parcer.c.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_parcer.dir/test_parcer.c.s" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/test_parcer.c" -o CMakeFiles/test_parcer.dir/test_parcer.c.s + +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o: tests/CMakeFiles/test_parcer.dir/flags.make +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o: ../src/parcer.c + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir="/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" --progress-num=$(CMAKE_PROGRESS_2) "Building C object tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/test_parcer.dir/__/src/parcer.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.c" + +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_parcer.dir/__/src/parcer.c.i" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.c" > CMakeFiles/test_parcer.dir/__/src/parcer.c.i + +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_parcer.dir/__/src/parcer.c.s" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.c" -o CMakeFiles/test_parcer.dir/__/src/parcer.c.s + +# Object files for target test_parcer +test_parcer_OBJECTS = \ +"CMakeFiles/test_parcer.dir/test_parcer.c.o" \ +"CMakeFiles/test_parcer.dir/__/src/parcer.c.o" + +# External object files for target test_parcer +test_parcer_EXTERNAL_OBJECTS = + +tests/test_parcer.exe: tests/CMakeFiles/test_parcer.dir/test_parcer.c.o +tests/test_parcer.exe: tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o +tests/test_parcer.exe: tests/CMakeFiles/test_parcer.dir/build.make +tests/test_parcer.exe: tests/CMakeFiles/test_parcer.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir="/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" --progress-num=$(CMAKE_PROGRESS_3) "Linking C executable test_parcer.exe" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/test_parcer.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +tests/CMakeFiles/test_parcer.dir/build: tests/test_parcer.exe + +.PHONY : tests/CMakeFiles/test_parcer.dir/build + +tests/CMakeFiles/test_parcer.dir/clean: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && $(CMAKE_COMMAND) -P CMakeFiles/test_parcer.dir/cmake_clean.cmake +.PHONY : tests/CMakeFiles/test_parcer.dir/clean + +tests/CMakeFiles/test_parcer.dir/depend: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/DependInfo.cmake" --color=$(COLOR) +.PHONY : tests/CMakeFiles/test_parcer.dir/depend + diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/cmake_clean.cmake b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/cmake_clean.cmake new file mode 100644 index 0000000..99acb5a --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/cmake_clean.cmake @@ -0,0 +1,12 @@ +file(REMOVE_RECURSE + "CMakeFiles/test_parcer.dir/test_parcer.c.o" + "CMakeFiles/test_parcer.dir/__/src/parcer.c.o" + "test_parcer.pdb" + "test_parcer.exe" + "libtest_parcer.dll.a" +) + +# Per-language clean rules from dependency scanning. +foreach(lang C) + include(CMakeFiles/test_parcer.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/depend.internal b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/depend.internal new file mode 100644 index 0000000..8407769 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/depend.internal @@ -0,0 +1,9 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o + /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.c + /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.h +tests/CMakeFiles/test_parcer.dir/test_parcer.c.o + ../tests/../src/parcer.h + /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/test_parcer.c diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/depend.make b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/depend.make new file mode 100644 index 0000000..d8c5e3b --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/depend.make @@ -0,0 +1,9 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o: ../src/parcer.c +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o: ../src/parcer.h + +tests/CMakeFiles/test_parcer.dir/test_parcer.c.o: ../tests/../src/parcer.h +tests/CMakeFiles/test_parcer.dir/test_parcer.c.o: ../tests/test_parcer.c + diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/flags.make b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/flags.make new file mode 100644 index 0000000..7f0733f --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/flags.make @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# compile C with /usr/bin/cc +C_FLAGS = -std=c99 -Wall -Wextra -Wshadow -g -O0 -g + +C_DEFINES = + +C_INCLUDES = -I"/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/." -I"/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/../src" + diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/link.txt b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/link.txt new file mode 100644 index 0000000..0c8de32 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/link.txt @@ -0,0 +1 @@ +/usr/bin/cc -std=c99 -Wall -Wextra -Wshadow -g -O0 -g -Wl,--enable-auto-import CMakeFiles/test_parcer.dir/test_parcer.c.o CMakeFiles/test_parcer.dir/__/src/parcer.c.o -o test_parcer.exe -Wl,--out-implib,libtest_parcer.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lcheck diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/progress.make b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/progress.make new file mode 100644 index 0000000..6a9dc74 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/progress.make @@ -0,0 +1,4 @@ +CMAKE_PROGRESS_1 = 1 +CMAKE_PROGRESS_2 = 2 +CMAKE_PROGRESS_3 = 3 + diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/test_parcer.c.o b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/test_parcer.c.o new file mode 100644 index 0000000..426b12a Binary files /dev/null and b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/test_parcer.c.o differ diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CTestTestfile.cmake b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CTestTestfile.cmake new file mode 100644 index 0000000..f24aed5 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/CTestTestfile.cmake @@ -0,0 +1,7 @@ +# CMake generated Testfile for +# Source directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests +# Build directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests +# +# This file includes the relevant testing commands required for +# testing this directory and lists subdirectories to be tested as well. +add_test(test_parcer "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/test_parcer") diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/Makefile b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/Makefile new file mode 100644 index 0000000..34d4b51 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/Makefile @@ -0,0 +1,222 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# 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 = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe + +# The command to remove a file. +RM = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1" + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..." + /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -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 + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -H$(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 test +test: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..." + /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/ctest.exe --force-new-ctest-process $(ARGS) +.PHONY : test + +# Special rule for the target test +test/fast: test + +.PHONY : test/fast + +# The main all target +all: cmake_check_build_system + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(CMAKE_COMMAND) -E cmake_progress_start "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/progress.marks" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f CMakeFiles/Makefile2 tests/all + $(CMAKE_COMMAND) -E cmake_progress_start "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" 0 +.PHONY : all + +# The main clean target +clean: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f CMakeFiles/Makefile2 tests/clean +.PHONY : clean + +# The main clean target +clean/fast: clean + +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f CMakeFiles/Makefile2 tests/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f CMakeFiles/Makefile2 tests/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +tests/CMakeFiles/test_parcer.dir/rule: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f CMakeFiles/Makefile2 tests/CMakeFiles/test_parcer.dir/rule +.PHONY : tests/CMakeFiles/test_parcer.dir/rule + +# Convenience name for target. +test_parcer: tests/CMakeFiles/test_parcer.dir/rule + +.PHONY : test_parcer + +# fast build rule for target. +test_parcer/fast: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/build +.PHONY : test_parcer/fast + +__/src/parcer.o: __/src/parcer.c.o + +.PHONY : __/src/parcer.o + +# target to build an object file +__/src/parcer.c.o: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o +.PHONY : __/src/parcer.c.o + +__/src/parcer.i: __/src/parcer.c.i + +.PHONY : __/src/parcer.i + +# target to preprocess a source file +__/src/parcer.c.i: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.i +.PHONY : __/src/parcer.c.i + +__/src/parcer.s: __/src/parcer.c.s + +.PHONY : __/src/parcer.s + +# target to generate assembly for a file +__/src/parcer.c.s: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.s +.PHONY : __/src/parcer.c.s + +test_parcer.o: test_parcer.c.o + +.PHONY : test_parcer.o + +# target to build an object file +test_parcer.c.o: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/test_parcer.c.o +.PHONY : test_parcer.c.o + +test_parcer.i: test_parcer.c.i + +.PHONY : test_parcer.i + +# target to preprocess a source file +test_parcer.c.i: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/test_parcer.c.i +.PHONY : test_parcer.c.i + +test_parcer.s: test_parcer.c.s + +.PHONY : test_parcer.s + +# target to generate assembly for a file +test_parcer.c.s: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/test_parcer.c.s +.PHONY : test_parcer.c.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 "... edit_cache" + @echo "... rebuild_cache" + @echo "... test_parcer" + @echo "... test" + @echo "... __/src/parcer.o" + @echo "... __/src/parcer.i" + @echo "... __/src/parcer.s" + @echo "... test_parcer.o" + @echo "... test_parcer.i" + @echo "... test_parcer.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: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/cmake_install.cmake b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/cmake_install.cmake new file mode 100644 index 0000000..a917166 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/cmake_install.cmake @@ -0,0 +1,34 @@ +# Install script for directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Debug") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/test_parcer.exe b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/test_parcer.exe new file mode 100644 index 0000000..09bbc22 Binary files /dev/null and b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/test_parcer.exe differ diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/test_parcer.exe.stackdump b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/test_parcer.exe.stackdump new file mode 100644 index 0000000..976f223 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/cmake-build-debug/tests/test_parcer.exe.stackdump @@ -0,0 +1,28 @@ +Exception: STATUS_STACK_OVERFLOW at rip=00100401E64 +rax=0000000000000000 rbx=0000000100404293 rcx=0000000000000000 +rdx=0000000100408020 rsi=0000000600000390 rdi=0000000000000000 +r8 =00000000FFFFC92C r9 =0000000180144890 r10=0000000100000000 +r11=0000000100401C69 r12=0000000600000690 r13=0000000000000000 +r14=0000000600059210 r15=0000000600000690 +rbp=00000000FFE04070 rsp=00000000FFE03FF0 +program=C:\DATA\Projects\Bach 3\Compilers Construction\Lab 1\lab1\cmake-build-debug\tests\test_parcer.exe, pid 24344, thread +cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B +Stack trace: +Frame Function Args +000FFE04070 00100401E64 (00000000000, 00000000000, 00000000000, 00000000000) +000FFE040B0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE040F0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04130 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04170 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE041B0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE041F0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04230 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04270 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE042B0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE042F0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04330 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04370 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE043B0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE043F0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04430 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +End of stack trace (more stack frames may be present) diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/demo.c b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/demo.c new file mode 100644 index 0000000..ccdfe50 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/demo.c @@ -0,0 +1,19 @@ +// +// Created by cubazis on 01.09.18. +// + +#include +#include "src/parcer.h" + +int main(void) +{ + file = fopen( "in.txt" , "r"); + FILE * out = fopen( "out.txt" , "w"); + statements(); + + printf("%s\n", parser_result); + fprintf(out, parser_result); + + fclose(file); + fclose(out); +} \ No newline at end of file diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/in.txt b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/in.txt new file mode 100644 index 0000000..767dea0 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/in.txt @@ -0,0 +1 @@ +1 + 2 * (1 + 2); \ No newline at end of file diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/out.txt b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/out.txt new file mode 100644 index 0000000..76323ae --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/out.txt @@ -0,0 +1 @@ +NUM PLUS NUM TIMES LP NUM PLUS NUM RP SEMI EOF \ No newline at end of file diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/src/parcer.c b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/src/parcer.c new file mode 100644 index 0000000..b465452 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/src/parcer.c @@ -0,0 +1,192 @@ +// +// Created by cubazis on 27.08.18. +// + +#include "parcer.h" +#include "string.h" + +/** Variables for inter communication of lexical analyzer and parser */ + +char *yytext = ""; /* Lexeme (not '\0' terminated) */ +int yyleng = 0; /* Lexeme length. */ +int yylineno = 0; /* Input line number */ + +void* lex() +{ + static char buffer[128]; + char *current; + + current = yytext + yyleng; /* Skip current lexeme */ + + while( 1 ) /* Get the next one */ + { + while( !*current ) + { + /* Get new lines, skipping any leading white space on the line, + * until a nonblank line is found. + */ + + current = buffer; + if( !fgets( buffer, sizeof(buffer), file) ) + { + *current = '\0' ; + return _EOI; + } + ++yylineno; + + while( isspace(*current) ) + ++current; + } + + for( ; *current ; ++current ) + { + /* Get the next token */ + + yytext = current; + yyleng = 1; + + switch( *current ) + { + case ';': return (void *) _SEMI; + case '+': return (void *)_PLUS ; + case '*': return (void *)_TIMES ; + case '(': return (void *)_LP ; + case ')': return (void *)_RP ; + + case '\n': + case '\t': + case ' ' : break; + + default: + if( !isdigit(*current) ){ + //fprintf(stderr, "Ignoring illegal input <%c>\n", *current); + return (void *)_ERR_1; + } + else + { + while( isdigit(*current) ) + ++current; + + yyleng = (int) (current - yytext); + return (void *)_NUM; + } + } + } + } +} + +static int Lookahead = -1; /* Lookahead token */ + +int match(int token ) +{ + /* Return true if "token" matches the current lookahead symbol. */ + + if( Lookahead == -1 ) + Lookahead = (int) lex(); + + return token == Lookahead; +} + +void advance() +{ + /* Advance the lookahead to the next input symbol. */ + + Lookahead = (int) lex(); +} + +void expression() +{ + /* expression -> term expression' */ + + term(); + + expr_prime(); + /** YOUR CODE HERE */ +} + +void term() +{ + /* term -> factor term' */ + + + /** YOUR CODE HERE */ + factor(); + + term_prime(); +} + +void expr_prime() +{ + /* expression' -> PLUS term expression' + * | epsilon + */ + + /** YOUR CODE HERE */ + if (match(_PLUS)) { + strcat(parser_result, "PLUS "); + advance(); + + term(); + + expr_prime(); + } + + +} + +void term_prime() +{ + /* term' -> TIMES factor term' + * | epsilon + */ + + /** YOUR CODE HERE */ + if (match(_TIMES)) { + strcat(parser_result, "TIMES "); + advance(); + + factor(); + + term_prime(); + } +} + +void factor() +{ + /* factor -> NUM_OR_ID + * | LP expression RP + */ + /** YOUR CODE HERE */ + if (match(_NUM)) { + strcat(parser_result, "NUM "); + advance(); + } + else if(match(_LP)) { + strcat(parser_result, "LP "); + advance(); + + expression(); + + strcat(parser_result, "RP "); + advance(); + } +} + +void statements() +{ + /* statements -> expression SEMI + * | expression SEMI statements + */ + expression(); + + if( match( _SEMI ) ){ + strcat(parser_result, "SEMI "); + advance(); + } + + if( !match(_EOI) ){ + statements(); /* Do another statement. */ + } else { + strcat(parser_result, "EOF"); + } +} \ No newline at end of file diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/src/parcer.h b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/src/parcer.h new file mode 100644 index 0000000..63a2fcf --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/src/parcer.h @@ -0,0 +1,51 @@ +// +// Created by cubazis on 27.08.18. +// + +#ifndef LAB1_PARCER_H +#define LAB1_PARCER_H + +#include +#include + +/** parser internal entity to process the input stream */ +FILE * file; + +/** parser internal entity to provide parsing result*/ +char parser_result[1000]; + +/** Tokens set */ +#define _EOI 0 /* end of input (EOF signal typically) */ +#define _SEMI 1 /* ; */ +#define _PLUS 2 /* + */ +#define _TIMES 3 /* * */ +#define _LP 4 /* ( */ +#define _RP 5 /* ) */ +#define _NUM 6 /* decimal number */ + +#define _ERR_1 "Ignoring illegal input" + +/** + * lexical analyzer function + * @return token (int number from the token set) + */ + +void* lex(); + +int match( int token ); + +void advance(); + +void expression(); + +void term(); + +void expr_prime(); + +void factor(); + +void term_prime(); + +void statements(); + +#endif //LAB1_PARCER_H diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/tests/CMakeLists.txt b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/tests/CMakeLists.txt new file mode 100644 index 0000000..28179bb --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/tests/CMakeLists.txt @@ -0,0 +1,14 @@ +enable_testing() + +find_package(Check REQUIRED) +find_package(Threads REQUIRED) + +include_directories(${CHECK_INCLUDE_DIRS}) + +include_directories(. ../src) + +add_executable(test_parcer test_parcer.c ../src/parcer.c) + +target_link_libraries(test_parcer ${CHECK_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) + +add_test(test_parcer ${CMAKE_CURRENT_BINARY_DIR}/test_parcer) \ No newline at end of file diff --git a/gradings/labs/lab_1/Nikita Grigoryev/lang_c/tests/test_parcer.c b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/tests/test_parcer.c new file mode 100644 index 0000000..5628e90 --- /dev/null +++ b/gradings/labs/lab_1/Nikita Grigoryev/lang_c/tests/test_parcer.c @@ -0,0 +1,190 @@ +// +// Created by cubazis on 27.08.18. +// +#include +#include +#include +#include +#include "parcer.h" + +FILE *fmemopen (void *bf, size_t size, const char *mode); + +/***************************************************************************************************/ +/**************************** lexical analyzer test cases *******************************/ +/***************************************************************************************************/ + +/** DEMO TEST: Demonstrate how to test my lex() code in a test suite by using FILE stream */ +START_TEST (test_lex_0) +{ + char* input = ""; + char* pattern = 0; + file = fmemopen(input, strlen(input), "r"); + + int res = (int)lex(); + + printf("%d\n", res); + ck_assert_int_eq(res, pattern); +} +END_TEST + +/** YOUR TESTS HERE */ +START_TEST (test_lex_1) + { + char* input = "1"; + char* pattern = 6; + file = fmemopen(input, strlen(input), "r"); + + int res = (int)lex(); + + printf("%d\n", res); + ck_assert_int_eq(res, pattern); + } +END_TEST + +START_TEST (test_lex_2) + { + char* input = ")"; + char* pattern = 5; + file = fmemopen(input, strlen(input), "r"); + + int res = (int)lex(); + + printf("%d\n", res); + ck_assert_int_eq(res, pattern); + } +END_TEST + +START_TEST (test_lex_3) + { + char* input = "+"; + char* pattern = 2; + file = fmemopen(input, strlen(input), "r"); + + int res = (int)lex(); + + printf("%d\n", res); + ck_assert_int_eq(res, pattern); + } +END_TEST + +/***************************************************************************************************/ +/**************************** parser test cases *******************************/ +/***************************************************************************************************/ + +/** DEMO TEST: Demonstrate how to test your code in a test suite by using FILE stream */ +START_TEST (test_parser_with_file_input) +{ + /** be careful: file - is a parser internal entity */ + file = fopen( "../../in.txt" , "r"); + + char* pattern = "NUM SEMI EOF"; + + statements(); + + printf("%s\n", parser_result); + ck_assert_str_eq(parser_result, pattern); + + /** Don't forget to close it */ + fclose(file); +} +END_TEST + +/** DEMO TEST: Demonstrate how to test your code in a test suite by using char* stream + * here I've used fmemopen function to wrap up the char* stream by FILE descriptor + * otherwise I would be forced to + + */ + +START_TEST (test_parser_0) +{ + char* input = ";"; + char* pattern = "SEMI EOF"; + file = fmemopen(input, strlen(input), "r"); + statements(); + printf("%s\n", parser_result); + ck_assert_str_eq(parser_result, pattern); + fclose(file); +} +END_TEST + +START_TEST (test_parser_1) +{ + char* input = "1+2;"; + char* pattern = "NUM PLUS NUM SEMI EOF"; + file = fmemopen(input, strlen(input), "r"); + statements(); + printf("%s\n", parser_result); + ck_assert_str_eq(parser_result, pattern); + fclose(file); + +} +END_TEST + +START_TEST (test_parser_2) +{ + char* input = "1+2; 1+2*3+2;\n1+3;"; + char* pattern = "NUM PLUS NUM SEMI NUM PLUS NUM TIMES NUM PLUS NUM SEMI NUM PLUS NUM SEMI EOF"; + file = fmemopen(input, strlen(input), "r"); + statements(); + printf("%s\n", parser_result); + ck_assert_str_eq(parser_result, pattern); + fclose(file); +} +END_TEST + + +/***************************************************************************************************/ +/**************************** service do not touch *******************************/ +/***************************************************************************************************/ + +/** SERVICE FUNCTION + * fmemopen function emulates FILE descriptor for stream of bytes, in our case is a char* string + * this function is in GNU C Compiler only. That's why I added this emulation code here + * if you use GNU C Compiler - you don't need this implementation + * @param bf stream buffer + * @param size size of chunk + * @param mode file open mode + * @return FILE descriptor + */ +FILE *fmemopen (void *bf, size_t size, const char *mode) +{ + FILE *f; + assert(strcmp(mode, "r") == 0); + f = tmpfile(); + fwrite(bf, 1, size, f); + rewind(f); + return f; +} + +/***************************************************************************************************/ +/**************************** add test cases only *******************************/ +/***************************************************************************************************/ + +Suite* str_suite (void) +{ + Suite *suite = suite_create("parser"); + TCase *tcase = tcase_create("case"); + tcase_add_test(tcase, test_parser_with_file_input); + + + tcase_add_test(tcase, test_lex_0); + tcase_add_test(tcase, test_lex_1); + tcase_add_test(tcase, test_lex_2); + + tcase_add_test(tcase, test_parser_0); + tcase_add_test(tcase, test_parser_1); + tcase_add_test(tcase, test_parser_2); + + suite_add_tcase(suite, tcase); + return suite; +} + +int main (int argc, char *argv[]) { + int number_failed; + Suite *suite = str_suite(); + SRunner *runner = srunner_create(suite); + srunner_run_all(runner, CK_NORMAL); + number_failed = srunner_ntests_failed(runner); + srunner_free(runner); + return number_failed; +} \ No newline at end of file diff --git a/labs/lab1/Answer.txt b/labs/lab1/Answer.txt new file mode 100644 index 0000000..085f603 --- /dev/null +++ b/labs/lab1/Answer.txt @@ -0,0 +1,2 @@ +Task 1: + In term -> term*factor | \ No newline at end of file diff --git a/labs/lab1/a.exe b/labs/lab1/a.exe new file mode 100644 index 0000000..be1d3b0 Binary files /dev/null and b/labs/lab1/a.exe differ diff --git a/labs/lab1/cmake-build-debug/CMakeCache.txt b/labs/lab1/cmake-build-debug/CMakeCache.txt new file mode 100644 index 0000000..568c76f --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeCache.txt @@ -0,0 +1,413 @@ +# This is the CMakeCache file. +# For build in directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug +# It was generated by CMake: /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe +# 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_AR:FILEPATH=/usr/bin/ar.exe + +//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=CMAKE_CODEBLOCKS_EXECUTABLE-NOTFOUND + +//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 + +//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.exe + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib.exe + +//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 + +//Flags used by the linker during all build types. +CMAKE_EXE_LINKER_FLAGS:STRING=-Wl,--enable-auto-import + +//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.exe + +//Path to a program. +CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make.exe + +//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.exe + +//Path to a program. +CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy.exe + +//Path to a program. +CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump.exe + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=lab1 + +//Path to a program. +CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib.exe + +//RC compiler +CMAKE_RC_COMPILER:FILEPATH=/usr/bin/windres.exe + +//Flags for Windows Resource Compiler during all build types. +CMAKE_RC_FLAGS:STRING= + +//Flags for Windows Resource Compiler during DEBUG builds. +CMAKE_RC_FLAGS_DEBUG:STRING= + +//Flags for Windows Resource Compiler during MINSIZEREL builds. +CMAKE_RC_FLAGS_MINSIZEREL:STRING= + +//Flags for Windows Resource Compiler during RELEASE builds. +CMAKE_RC_FLAGS_RELEASE:STRING= + +//Flags for Windows Resource Compiler during RELWITHDEBINFO builds. +CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING= + +//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.exe + +//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 + +//pkg-config executable +PKG_CONFIG_EXECUTABLE:FILEPATH=/usr/bin/pkg-config.exe + +//Path to a program. +ProcessorCount_cmd_getconf:FILEPATH=/usr/bin/getconf.exe + +//Path to a program. +ProcessorCount_cmd_sysctl:FILEPATH=ProcessorCount_cmd_sysctl-NOTFOUND + +//Value Computed by CMake +lab1_BINARY_DIR:STATIC=/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug + +//Value Computed by CMake +lab1_SOURCE_DIR:STATIC=/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1 + +//Path to a library. +pkgcfg_lib_CHECK_check:FILEPATH=/usr/lib/libcheck.dll.a + + +######################## +# INTERNAL cache entries +######################## + +CHECK_CFLAGS:INTERNAL= +CHECK_CFLAGS_I:INTERNAL= +CHECK_CFLAGS_OTHER:INTERNAL= +CHECK_FOUND:INTERNAL=1 +CHECK_INCLUDEDIR:INTERNAL=/usr/include +//ADVANCED property for variable: CHECK_INCLUDE_DIRS +CHECK_INCLUDE_DIRS-ADVANCED:INTERNAL=1 +CHECK_INCLUDE_DIRS:INTERNAL= +CHECK_LDFLAGS:INTERNAL=-lcheck +CHECK_LDFLAGS_OTHER:INTERNAL= +CHECK_LIBDIR:INTERNAL=/usr/lib +//ADVANCED property for variable: CHECK_LIBRARIES +CHECK_LIBRARIES-ADVANCED:INTERNAL=1 +CHECK_LIBRARIES:INTERNAL=check +CHECK_LIBRARY_DIRS:INTERNAL= +CHECK_LIBS:INTERNAL= +CHECK_LIBS_L:INTERNAL= +CHECK_LIBS_OTHER:INTERNAL= +CHECK_LIBS_PATHS:INTERNAL= +CHECK_PREFIX:INTERNAL=/usr +CHECK_STATIC_CFLAGS:INTERNAL= +CHECK_STATIC_CFLAGS_I:INTERNAL= +CHECK_STATIC_CFLAGS_OTHER:INTERNAL= +CHECK_STATIC_INCLUDE_DIRS:INTERNAL= +CHECK_STATIC_LDFLAGS:INTERNAL=-lcheck;-lrt;-lm +CHECK_STATIC_LDFLAGS_OTHER:INTERNAL= +CHECK_STATIC_LIBDIR:INTERNAL= +CHECK_STATIC_LIBRARIES:INTERNAL=check;rt;m +CHECK_STATIC_LIBRARY_DIRS:INTERNAL= +CHECK_STATIC_LIBS:INTERNAL= +CHECK_STATIC_LIBS_L:INTERNAL= +CHECK_STATIC_LIBS_OTHER:INTERNAL= +CHECK_STATIC_LIBS_PATHS:INTERNAL= +CHECK_VERSION:INTERNAL=0.10.0 +CHECK_check_INCLUDEDIR:INTERNAL= +CHECK_check_LIBDIR:INTERNAL= +CHECK_check_PREFIX:INTERNAL= +CHECK_check_VERSION:INTERNAL= +//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=/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/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=12 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=0 +//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE +CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cpack.exe +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/ctest.exe +//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 +//Executable file format +CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown +//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 +//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__;3;__GNUC_PATCHLEVEL__; ;__VERSION__;"7.3.0";__ATOMIC_RELAXED; ;__ATOMIC_SEQ_CST;5;__ATOMIC_ACQUIRE;2;__ATOMIC_RELEASE;3;__ATOMIC_ACQ_REL;4;__ATOMIC_CONSUME;1;__pic__;1;__PIC__;1;__FINITE_MATH_ONLY__; ;_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__;short unsigned 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__;0xffff;__WCHAR_MIN__; ;__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__;16;__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__; ;__FLT_EVAL_METHOD_TS_18661_3__; ;__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;__PRAGMA_REDEFINE_EXTNAME;1;__SIZEOF_INT128__;16;__SIZEOF_WCHAR_T__;2;__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_medium__;1;__MMX__;1;__SSE__;1;__SSE2__;1;__FXSR__;1;__SSE_MATH__;1;__SSE2_MATH__;1;__SEG_FS;1;__SEG_GS;1;__SEH__;1;__stdcall;__attribute__((__stdcall__));__fastcall;__attribute__((__fastcall__));__thiscall;__attribute__((__thiscall__));__cdecl;__attribute__((__cdecl__));_stdcall;__attribute__((__stdcall__));_fastcall;__attribute__((__fastcall__));_thiscall;__attribute__((__thiscall__));_cdecl;__attribute__((__cdecl__));__GXX_MERGED_TYPEINFO_NAMES; ;__GXX_TYPEINFO_EQUALITY_INLINE; ;__CYGWIN__;1;__unix;1;__unix__;1;unix;1;__declspec(x);__attribute__((x));__DECIMAL_BID_FORMAT__;1 +//C compiler system include directories +CMAKE_EXTRA_GENERATOR_C_SYSTEM_INCLUDE_DIRS:INTERNAL=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/include;/usr/include;/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/../include/w32api +//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= +//Have symbol pthread_create +CMAKE_HAVE_LIBC_CREATE:INTERNAL=1 +//Have include pthread.h +CMAKE_HAVE_PTHREAD_H:INTERNAL=1 +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1 +//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=2 +//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_RC_COMPILER +CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1 +CMAKE_RC_COMPILER_WORKS:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RC_FLAGS +CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG +CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL +CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE +CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO +CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS +CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG +CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE +CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH +CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_RPATH +CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS +CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG +CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE +CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STRIP +CMAKE_STRIP-ADVANCED:INTERNAL=1 +//uname command +CMAKE_UNAME:INTERNAL=/usr/bin/uname.exe +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//Details about finding PkgConfig +FIND_PACKAGE_MESSAGE_DETAILS_PkgConfig:INTERNAL=[/usr/bin/pkg-config.exe][v0.29.1()] +//Details about finding Threads +FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()] +//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE +PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: ProcessorCount_cmd_getconf +ProcessorCount_cmd_getconf-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: ProcessorCount_cmd_sysctl +ProcessorCount_cmd_sysctl-ADVANCED:INTERNAL=1 +__pkg_config_checked_CHECK:INTERNAL=1 +prefix_result:INTERNAL=/usr/lib + diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CMakeCCompiler.cmake b/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CMakeCCompiler.cmake new file mode 100644 index 0000000..e43fff3 --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CMakeCCompiler.cmake @@ -0,0 +1,73 @@ +set(CMAKE_C_COMPILER "/usr/bin/cc") +set(CMAKE_C_COMPILER_ARG1 "") +set(CMAKE_C_COMPILER_ID "GNU") +set(CMAKE_C_COMPILER_VERSION "7.3.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 "Cygwin") +set(CMAKE_C_SIMULATE_ID "") +set(CMAKE_C_SIMULATE_VERSION "") + + + +set(CMAKE_AR "/usr/bin/ar.exe") +set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar.exe") +set(CMAKE_RANLIB "/usr/bin/ranlib.exe") +set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib.exe") +set(CMAKE_LINKER "/usr/bin/ld.exe") +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 1) +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 "") +set(CMAKE_C_LIBRARY_ARCHITECTURE "") + +if(CMAKE_C_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_C_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") +endif() + +if(CMAKE_C_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "") +endif() + +set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc_s;gcc;cygwin;advapi32;shell32;user32;kernel32;gcc_s;gcc") +set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-cygwin/7.3.0;/usr/x86_64-pc-cygwin/lib;/usr/lib;/lib") +set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CMakeDetermineCompilerABI_C.bin b/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CMakeDetermineCompilerABI_C.bin new file mode 100644 index 0000000..cbb551a Binary files /dev/null and b/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CMakeDetermineCompilerABI_C.bin differ diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CMakeRCCompiler.cmake b/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CMakeRCCompiler.cmake new file mode 100644 index 0000000..21eff0e --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CMakeRCCompiler.cmake @@ -0,0 +1,6 @@ +set(CMAKE_RC_COMPILER "/usr/bin/windres.exe") +set(CMAKE_RC_COMPILER_ARG1 "") +set(CMAKE_RC_COMPILER_LOADED 1) +set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC) +set(CMAKE_RC_OUTPUT_EXTENSION .obj) +set(CMAKE_RC_COMPILER_ENV_VAR "RC") diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CMakeSystem.cmake b/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CMakeSystem.cmake new file mode 100644 index 0000000..1e27675 --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CMakeSystem.cmake @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "CYGWIN-2.11.1(0.329/5/3)") +set(CMAKE_HOST_SYSTEM_NAME "CYGWIN") +set(CMAKE_HOST_SYSTEM_VERSION "2.11.1(0.329/5/3)") +set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") + + + +set(CMAKE_SYSTEM "CYGWIN-2.11.1(0.329/5/3)") +set(CMAKE_SYSTEM_NAME "CYGWIN") +set(CMAKE_SYSTEM_VERSION "2.11.1(0.329/5/3)") +set(CMAKE_SYSTEM_PROCESSOR "x86_64") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/CMakeCCompilerId.c b/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/CMakeCCompilerId.c new file mode 100644 index 0000000..bfc6ebb --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/CMakeCCompilerId.c @@ -0,0 +1,623 @@ +#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 + /* __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 + +#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" +# if defined(__ibmxl__) +# 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__) +# else + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) +# endif + + +#elif defined(__ibmxl__) || (defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800) +# define COMPILER_ID "XL" +# if defined(__ibmxl__) +# 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__) +# else + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) +# endif + + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 +# define COMPILER_ID "VisualAge" +# if defined(__ibmxl__) +# 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__) +# else + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) +# endif + + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) +# define COMPILER_ID "Fujitsu" + +#elif defined(__TINYC__) +# define COMPILER_ID "TinyCC" + +#elif defined(__BCC__) +# define COMPILER_ID "Bruce" + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#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__) +# 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__) +# 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__) +# endif + +#elif defined(__ARMCC_VERSION) +# 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(__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 + +#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) +# define COMPILER_ID "MIPSpro" +# if defined(_SGI_COMPILER_VERSION) + /* _SGI_COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) +# else + /* _COMPILER_VERSION = VRP */ +# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100) +# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10) +# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 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(__sgi) +# define COMPILER_ID "MIPSpro" + +#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(__sgi) || defined(__sgi__) || defined(_SGI) +# define PLATFORM_ID "IRIX" + +#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 + +#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(__ICCAVR__) +# define ARCHITECTURE_ID "AVR" + +# 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/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/a.exe b/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/a.exe new file mode 100644 index 0000000..a1fb95e Binary files /dev/null and b/labs/lab1/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/a.exe differ diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake b/labs/lab1/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 0000000..5fc9e75 --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/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/labs/lab1/cmake-build-debug/CMakeFiles/CMakeOutput.log b/labs/lab1/cmake-build-debug/CMakeFiles/CMakeOutput.log new file mode 100644 index 0000000..9fdf63a --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeFiles/CMakeOutput.log @@ -0,0 +1,257 @@ +The system is: CYGWIN - 2.11.1(0.329/5/3) - 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.exe" + +The C compiler identification is GNU, found in "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/3.12.0/CompilerIdC/a.exe" + +Determining if the C compiler works passed with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_a061b/fast" +/usr/bin/make -f CMakeFiles/cmTC_a061b.dir/build.make CMakeFiles/cmTC_a061b.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_a061b.dir/testCCompiler.c.o +/usr/bin/cc -o CMakeFiles/cmTC_a061b.dir/testCCompiler.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c" +Linking C executable cmTC_a061b.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_a061b.dir/link.txt --verbose=1 +/usr/bin/cc -Wl,--enable-auto-import CMakeFiles/cmTC_a061b.dir/testCCompiler.c.o -o cmTC_a061b.exe -Wl,--out-implib,libcmTC_a061b.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + + +Detecting C compiler ABI info compiled with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_919e4/fast" +/usr/bin/make -f CMakeFiles/cmTC_919e4.dir/build.make CMakeFiles/cmTC_919e4.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o +/usr/bin/cc -o CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o -c /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeCCompilerABI.c +Linking C executable cmTC_919e4.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_919e4.dir/link.txt --verbose=1 +/usr/bin/cc -Wl,--enable-auto-import -v CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o -o cmTC_919e4.exe -Wl,--out-implib,libcmTC_919e4.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +Using built-in specs. +COLLECT_GCC=/usr/bin/cc +COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/lto-wrapper.exe +Target: x86_64-pc-cygwin +Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-7.3.0-3.x86_64/src/gcc-7.3.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-7.3.0-3.x86_64/src/gcc-7.3.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --disable-libssp --enable-libada --disable-symvers --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible --enable-libstdcxx-filesystem-ts +Thread model: posix +gcc version 7.3.0 (GCC) +COMPILER_PATH=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/bin/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_919e4.exe' '-mtune=generic' '-march=x86-64' + /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/collect2.exe -plugin /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/cyglto_plugin.dll -plugin-opt=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/lto-wrapper.exe -plugin-opt=-fresolution=/tmp/ccmkJSAG.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lcygwin -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id -m i386pep --wrap _Znwm --wrap _Znam --wrap _ZdlPv --wrap _ZdaPv --wrap _ZnwmRKSt9nothrow_t --wrap _ZnamRKSt9nothrow_t --wrap _ZdlPvRKSt9nothrow_t --wrap _ZdaPvRKSt9nothrow_t -Bdynamic --dll-search-prefix=cyg --tsaware -o cmTC_919e4.exe /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/crt0.o /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/crtbegin.o -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0 -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../.. --enable-auto-import CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o --out-implib libcmTC_919e4.dll.a --major-image-version 0 --minor-image-version 0 -lgcc_s -lgcc -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/default-manifest.o /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/crtend.o +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_919e4.exe' '-mtune=generic' '-march=x86-64' +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + + +Parsed C implicit link information from above output: + link line regex: [^( *|.*[/\])(ld\.exe|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] + ignore line: [Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp] + ignore line: [] + ignore line: [Run Build Command:"/usr/bin/make.exe" "cmTC_919e4/fast"] + ignore line: [/usr/bin/make -f CMakeFiles/cmTC_919e4.dir/build.make CMakeFiles/cmTC_919e4.dir/build] + ignore line: [make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp'] + ignore line: [Building C object CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o] + ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o -c /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeCCompilerABI.c] + ignore line: [Linking C executable cmTC_919e4.exe] + ignore line: [/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_919e4.dir/link.txt --verbose=1] + ignore line: [/usr/bin/cc -Wl,--enable-auto-import -v CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o -o cmTC_919e4.exe -Wl,--out-implib,libcmTC_919e4.dll.a -Wl,--major-image-version,0,--minor-image-version,0 ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/cc] + ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/lto-wrapper.exe] + ignore line: [Target: x86_64-pc-cygwin] + ignore line: [Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-7.3.0-3.x86_64/src/gcc-7.3.0/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-7.3.0-3.x86_64/src/gcc-7.3.0 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libcilkrts --enable-libgomp --enable-libitm --enable-libquadmath --enable-libquadmath-support --disable-libssp --enable-libada --disable-symvers --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id --with-default-libstdcxx-abi=gcc4-compatible --enable-libstdcxx-filesystem-ts] + ignore line: [Thread model: posix] + ignore line: [gcc version 7.3.0 (GCC) ] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/bin/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/:/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_919e4.exe' '-mtune=generic' '-march=x86-64'] + link line: [ /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/collect2.exe -plugin /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/cyglto_plugin.dll -plugin-opt=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/lto-wrapper.exe -plugin-opt=-fresolution=/tmp/ccmkJSAG.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lcygwin -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id -m i386pep --wrap _Znwm --wrap _Znam --wrap _ZdlPv --wrap _ZdaPv --wrap _ZnwmRKSt9nothrow_t --wrap _ZnamRKSt9nothrow_t --wrap _ZdlPvRKSt9nothrow_t --wrap _ZdaPvRKSt9nothrow_t -Bdynamic --dll-search-prefix=cyg --tsaware -o cmTC_919e4.exe /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/crt0.o /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/crtbegin.o -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0 -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib -L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../.. --enable-auto-import CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o --out-implib libcmTC_919e4.dll.a --major-image-version 0 --minor-image-version 0 -lgcc_s -lgcc -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/default-manifest.o /usr/lib/gcc/x86_64-pc-cygwin/7.3.0/crtend.o] + arg [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/collect2.exe] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/cyglto_plugin.dll] ==> ignore + arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/lto-wrapper.exe] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/ccmkJSAG.res] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [-plugin-opt=-pass-through=-lcygwin] ==> ignore + arg [-plugin-opt=-pass-through=-ladvapi32] ==> ignore + arg [-plugin-opt=-pass-through=-lshell32] ==> ignore + arg [-plugin-opt=-pass-through=-luser32] ==> ignore + arg [-plugin-opt=-pass-through=-lkernel32] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [--build-id] ==> ignore + arg [-m] ==> ignore + arg [i386pep] ==> ignore + arg [--wrap] ==> ignore + arg [_Znwm] ==> ignore + arg [--wrap] ==> ignore + arg [_Znam] ==> ignore + arg [--wrap] ==> ignore + arg [_ZdlPv] ==> ignore + arg [--wrap] ==> ignore + arg [_ZdaPv] ==> ignore + arg [--wrap] ==> ignore + arg [_ZnwmRKSt9nothrow_t] ==> ignore + arg [--wrap] ==> ignore + arg [_ZnamRKSt9nothrow_t] ==> ignore + arg [--wrap] ==> ignore + arg [_ZdlPvRKSt9nothrow_t] ==> ignore + arg [--wrap] ==> ignore + arg [_ZdaPvRKSt9nothrow_t] ==> ignore + arg [-Bdynamic] ==> ignore + arg [--dll-search-prefix=cyg] ==> ignore + arg [--tsaware] ==> ignore + arg [-o] ==> ignore + arg [cmTC_919e4.exe] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/crt0.o] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/crtbegin.o] ==> ignore + arg [-L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0] ==> dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0] + arg [-L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib] ==> dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib] + arg [-L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib] + arg [-L/lib/../lib] ==> dir [/lib/../lib] + arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] + arg [-L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib] ==> dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib] + arg [-L/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../..] + arg [--enable-auto-import] ==> ignore + arg [CMakeFiles/cmTC_919e4.dir/CMakeCCompilerABI.c.o] ==> ignore + arg [--out-implib] ==> ignore + arg [libcmTC_919e4.dll.a] ==> ignore + arg [--major-image-version] ==> ignore + arg [0] ==> ignore + arg [--minor-image-version] ==> ignore + arg [0] ==> ignore + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [-lcygwin] ==> lib [cygwin] + arg [-ladvapi32] ==> lib [advapi32] + arg [-lshell32] ==> lib [shell32] + arg [-luser32] ==> lib [user32] + arg [-lkernel32] ==> lib [kernel32] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib/default-manifest.o] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/crtend.o] ==> ignore + collapse library dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0] ==> [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0] + collapse library dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib/../lib] ==> [/usr/x86_64-pc-cygwin/lib] + collapse library dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../lib] ==> [/usr/lib] + collapse library dir [/lib/../lib] ==> [/lib] + collapse library dir [/usr/lib/../lib] ==> [/usr/lib] + collapse library dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../../../x86_64-pc-cygwin/lib] ==> [/usr/x86_64-pc-cygwin/lib] + collapse library dir [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0/../../..] ==> [/usr/lib] + implicit libs: [gcc_s;gcc;cygwin;advapi32;shell32;user32;kernel32;gcc_s;gcc] + implicit dirs: [/usr/lib/gcc/x86_64-pc-cygwin/7.3.0;/usr/x86_64-pc-cygwin/lib;/usr/lib;/lib] + implicit fwks: [] + + + + +Detecting C [-std=c11] compiler features compiled with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_e7223/fast" +/usr/bin/make -f CMakeFiles/cmTC_e7223.dir/build.make CMakeFiles/cmTC_e7223.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_e7223.dir/feature_tests.c.o +/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_e7223.dir/feature_tests.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/feature_tests.c" +Linking C executable cmTC_e7223.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_e7223.dir/link.txt --verbose=1 +/usr/bin/cc -Wl,--enable-auto-import CMakeFiles/cmTC_e7223.dir/feature_tests.c.o -o cmTC_e7223.exe -Wl,--out-implib,libcmTC_e7223.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:1c_restrict + Feature record: C_FEATURE:1c_static_assert + Feature record: C_FEATURE:1c_variadic_macros + + +Detecting C [-std=c99] compiler features compiled with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_0e481/fast" +/usr/bin/make -f CMakeFiles/cmTC_0e481.dir/build.make CMakeFiles/cmTC_0e481.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_0e481.dir/feature_tests.c.o +/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_0e481.dir/feature_tests.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/feature_tests.c" +Linking C executable cmTC_0e481.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_0e481.dir/link.txt --verbose=1 +/usr/bin/cc -Wl,--enable-auto-import CMakeFiles/cmTC_0e481.dir/feature_tests.c.o -o cmTC_0e481.exe -Wl,--out-implib,libcmTC_0e481.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:1c_restrict + Feature record: C_FEATURE:0c_static_assert + Feature record: C_FEATURE:1c_variadic_macros + + +Detecting C [-std=c90] compiler features compiled with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_28f08/fast" +/usr/bin/make -f CMakeFiles/cmTC_28f08.dir/build.make CMakeFiles/cmTC_28f08.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_28f08.dir/feature_tests.c.o +/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_28f08.dir/feature_tests.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/feature_tests.c" +Linking C executable cmTC_28f08.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_28f08.dir/link.txt --verbose=1 +/usr/bin/cc -Wl,--enable-auto-import CMakeFiles/cmTC_28f08.dir/feature_tests.c.o -o cmTC_28f08.exe -Wl,--out-implib,libcmTC_28f08.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:0c_restrict + Feature record: C_FEATURE:0c_static_assert + Feature record: C_FEATURE:0c_variadic_macros +Determining if the include file pthread.h exists passed with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_999c4/fast" +/usr/bin/make -f CMakeFiles/cmTC_999c4.dir/build.make CMakeFiles/cmTC_999c4.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_999c4.dir/CheckIncludeFile.c.o +/usr/bin/cc -std=c99 -Wall -Wextra -Wshadow -o CMakeFiles/cmTC_999c4.dir/CheckIncludeFile.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp/CheckIncludeFile.c" +Linking C executable cmTC_999c4.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_999c4.dir/link.txt --verbose=1 +/usr/bin/cc -std=c99 -Wall -Wextra -Wshadow -Wl,--enable-auto-import CMakeFiles/cmTC_999c4.dir/CheckIncludeFile.c.o -o cmTC_999c4.exe -Wl,--out-implib,libcmTC_999c4.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + + +Determining if the pthread_create exist passed with the following output: +Change Dir: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp + +Run Build Command:"/usr/bin/make.exe" "cmTC_9d373/fast" +/usr/bin/make -f CMakeFiles/cmTC_9d373.dir/build.make CMakeFiles/cmTC_9d373.dir/build +make[1]: Entering directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' +Building C object CMakeFiles/cmTC_9d373.dir/CheckSymbolExists.c.o +/usr/bin/cc -std=c99 -Wall -Wextra -Wshadow -o CMakeFiles/cmTC_9d373.dir/CheckSymbolExists.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp/CheckSymbolExists.c" +Linking C executable cmTC_9d373.exe +/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_9d373.dir/link.txt --verbose=1 +/usr/bin/cc -std=c99 -Wall -Wextra -Wshadow -Wl,--enable-auto-import CMakeFiles/cmTC_9d373.dir/CheckSymbolExists.c.o -o cmTC_9d373.exe -Wl,--out-implib,libcmTC_9d373.dll.a -Wl,--major-image-version,0,--minor-image-version,0 +make[1]: Leaving directory '/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp' + +File /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/CMakeTmp/CheckSymbolExists.c: +/* */ +#include + +int main(int argc, char** argv) +{ + (void)argv; +#ifndef pthread_create + return ((int*)(&pthread_create))[argc]; +#else + (void)argc; + return 0; +#endif +} + diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/Makefile.cmake b/labs/lab1/cmake-build-debug/CMakeFiles/Makefile.cmake new file mode 100644 index 0000000..d4ef609 --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeFiles/Makefile.cmake @@ -0,0 +1,59 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# 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" + "../CMakeModules/FindCheck.cmake" + "CMakeFiles/3.12.0/CMakeCCompiler.cmake" + "CMakeFiles/3.12.0/CMakeRCCompiler.cmake" + "CMakeFiles/3.12.0/CMakeSystem.cmake" + "../tests/CMakeLists.txt" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeCInformation.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeCommonLanguageInclude.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeFindCodeBlocks.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeGenericSystem.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeInitializeConfigs.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeLanguageInformation.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeRCInformation.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeSystemSpecificInformation.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CMakeSystemSpecificInitialize.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CheckIncludeFile.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CheckLibraryExists.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/CheckSymbolExists.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Compiler/CMakeCommonCompilerMacros.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Compiler/GNU-C.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Compiler/GNU.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/FindPackageHandleStandardArgs.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/FindPackageMessage.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/FindPkgConfig.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/FindThreads.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Platform/CYGWIN-GNU-C.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Platform/CYGWIN-GNU.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Platform/CYGWIN-windres.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Platform/CYGWIN.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/Modules/Platform/UnixPaths.cmake" + "/cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/share/cmake-3.12.0/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" + "tests/CMakeFiles/CMakeDirectoryInformation.cmake" + ) + +# Dependency information for all targets: +set(CMAKE_DEPEND_INFO_FILES + "tests/CMakeFiles/test_parcer.dir/DependInfo.cmake" + ) diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/Makefile2 b/labs/lab1/cmake-build-debug/CMakeFiles/Makefile2 new file mode 100644 index 0000000..e7dd8bb --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeFiles/Makefile2 @@ -0,0 +1,131 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# Default target executed when no arguments are given to make. +default_target: all + +.PHONY : default_target + +# The main recursive all target +all: + +.PHONY : all + +# The main recursive preinstall target +preinstall: + +.PHONY : preinstall + +# The main recursive clean target +clean: + +.PHONY : clean + +#============================================================================= +# 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 = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe + +# The command to remove a file. +RM = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1" + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" + +#============================================================================= +# Directory level rules for directory tests + +# Convenience name for "all" pass in the directory. +tests/all: tests/CMakeFiles/test_parcer.dir/all + +.PHONY : tests/all + +# Convenience name for "clean" pass in the directory. +tests/clean: tests/CMakeFiles/test_parcer.dir/clean + +.PHONY : tests/clean + +# Convenience name for "preinstall" pass in the directory. +tests/preinstall: + +.PHONY : tests/preinstall + +#============================================================================= +# Target rules for target tests/CMakeFiles/test_parcer.dir + +# All Build rule for target. +tests/CMakeFiles/test_parcer.dir/all: + $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/depend + $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir="/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" --progress-num=1,2,3 "Built target test_parcer" +.PHONY : tests/CMakeFiles/test_parcer.dir/all + +# Include target in all. +all: tests/CMakeFiles/test_parcer.dir/all + +.PHONY : all + +# Build rule for subdir invocation for target. +tests/CMakeFiles/test_parcer.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" 3 + $(MAKE) -f CMakeFiles/Makefile2 tests/CMakeFiles/test_parcer.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" 0 +.PHONY : tests/CMakeFiles/test_parcer.dir/rule + +# Convenience name for target. +test_parcer: tests/CMakeFiles/test_parcer.dir/rule + +.PHONY : test_parcer + +# clean rule for target. +tests/CMakeFiles/test_parcer.dir/clean: + $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/clean +.PHONY : tests/CMakeFiles/test_parcer.dir/clean + +# clean rule for target. +clean: tests/CMakeFiles/test_parcer.dir/clean + +.PHONY : 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) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/TargetDirectories.txt b/labs/lab1/cmake-build-debug/CMakeFiles/TargetDirectories.txt new file mode 100644 index 0000000..cf222cd --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeFiles/TargetDirectories.txt @@ -0,0 +1,7 @@ +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/rebuild_cache.dir +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/test.dir +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/edit_cache.dir +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/edit_cache.dir +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/rebuild_cache.dir +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/test.dir diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/clion-environment.txt b/labs/lab1/cmake-build-debug/CMakeFiles/clion-environment.txt new file mode 100644 index 0000000..300c526 --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeFiles/clion-environment.txt @@ -0,0 +1,4 @@ +ToolSet: 2.11.1@C:\ProgramData\Cygwin +Options: + +Options: \ No newline at end of file diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/clion-log.txt b/labs/lab1/cmake-build-debug/CMakeFiles/clion-log.txt new file mode 100644 index 0000000..e0714db --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeFiles/clion-log.txt @@ -0,0 +1,4 @@ +C:\Users\nekit\.CLion2018.2\system\cygwin_cmake\bin\cmake.exe -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1" +-- Configuring done +-- Generating done +-- Build files have been written to: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/cmake.check_cache b/labs/lab1/cmake-build-debug/CMakeFiles/cmake.check_cache new file mode 100644 index 0000000..3dccd73 --- /dev/null +++ b/labs/lab1/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/labs/lab1/cmake-build-debug/CMakeFiles/feature_tests.bin b/labs/lab1/cmake-build-debug/CMakeFiles/feature_tests.bin new file mode 100644 index 0000000..93cc30a Binary files /dev/null and b/labs/lab1/cmake-build-debug/CMakeFiles/feature_tests.bin differ diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/feature_tests.c b/labs/lab1/cmake-build-debug/CMakeFiles/feature_tests.c new file mode 100644 index 0000000..83e86dd --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeFiles/feature_tests.c @@ -0,0 +1,34 @@ + + const char features[] = {"\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 +"1" +#else +"0" +#endif +"c_function_prototypes\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +"1" +#else +"0" +#endif +"c_restrict\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L +"1" +#else +"0" +#endif +"c_static_assert\n" +"C_FEATURE:" +#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +"1" +#else +"0" +#endif +"c_variadic_macros\n" + +}; + +int main(int argc, char** argv) { (void)argv; return features[argc]; } diff --git a/labs/lab1/cmake-build-debug/CMakeFiles/progress.marks b/labs/lab1/cmake-build-debug/CMakeFiles/progress.marks new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/labs/lab1/cmake-build-debug/CMakeFiles/progress.marks @@ -0,0 +1 @@ +3 diff --git a/labs/lab1/cmake-build-debug/CTestTestfile.cmake b/labs/lab1/cmake-build-debug/CTestTestfile.cmake new file mode 100644 index 0000000..10bc35a --- /dev/null +++ b/labs/lab1/cmake-build-debug/CTestTestfile.cmake @@ -0,0 +1,7 @@ +# CMake generated Testfile for +# Source directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1 +# Build directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug +# +# This file includes the relevant testing commands required for +# testing this directory and lists subdirectories to be tested as well. +subdirs("tests") diff --git a/labs/lab1/cmake-build-debug/Makefile b/labs/lab1/cmake-build-debug/Makefile new file mode 100644 index 0000000..9356a21 --- /dev/null +++ b/labs/lab1/cmake-build-debug/Makefile @@ -0,0 +1,160 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# 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 = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe + +# The command to remove a file. +RM = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1" + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/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..." + /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -H$(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 test +test: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..." + /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/ctest.exe --force-new-ctest-process $(ARGS) +.PHONY : test + +# Special rule for the target test +test/fast: test + +.PHONY : test/fast + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..." + /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -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 "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles/progress.marks" + $(MAKE) -f CMakeFiles/Makefile2 all + $(CMAKE_COMMAND) -E cmake_progress_start "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/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) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +#============================================================================= +# Target rules for targets named test_parcer + +# Build rule for target. +test_parcer: cmake_check_build_system + $(MAKE) -f CMakeFiles/Makefile2 test_parcer +.PHONY : test_parcer + +# fast build rule for target. +test_parcer/fast: + $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/build +.PHONY : test_parcer/fast + +# 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 "... test" + @echo "... edit_cache" + @echo "... test_parcer" +.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) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/labs/lab1/cmake-build-debug/cmake_install.cmake b/labs/lab1/cmake-build-debug/cmake_install.cmake new file mode 100644 index 0000000..2d9d9d7 --- /dev/null +++ b/labs/lab1/cmake-build-debug/cmake_install.cmake @@ -0,0 +1,50 @@ +# Install script for directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1 + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Debug") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + +if(NOT CMAKE_INSTALL_LOCAL_ONLY) + # Include the install script for each subdirectory. + include("/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/cmake_install.cmake") + +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 "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/${CMAKE_INSTALL_MANIFEST}" + "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/labs/lab1/cmake-build-debug/lab1.cbp b/labs/lab1/cmake-build-debug/lab1.cbp new file mode 100644 index 0000000..a9adf0b --- /dev/null +++ b/labs/lab1/cmake-build-debug/lab1.cbp @@ -0,0 +1,110 @@ + + + + + + diff --git a/labs/lab1/cmake-build-debug/tests/CMakeFiles/CMakeDirectoryInformation.cmake b/labs/lab1/cmake-build-debug/tests/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 0000000..5fc9e75 --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/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/labs/lab1/cmake-build-debug/tests/CMakeFiles/progress.marks b/labs/lab1/cmake-build-debug/tests/CMakeFiles/progress.marks new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/CMakeFiles/progress.marks @@ -0,0 +1 @@ +3 diff --git a/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/C.includecache b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/C.includecache new file mode 100644 index 0000000..29108d5 --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/C.includecache @@ -0,0 +1,20 @@ +#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">]) + +#IncludeRegexScan: ^.*$ + +#IncludeRegexComplain: ^$ + +#IncludeRegexTransform: + +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.c +parcer.h +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.h +string.h +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/string.h + +/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.h +stdio.h +- +ctype.h +- + diff --git a/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/DependInfo.cmake b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/DependInfo.cmake new file mode 100644 index 0000000..7bf0537 --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/DependInfo.cmake @@ -0,0 +1,23 @@ +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + "C" + ) +# The set of files for implicit dependencies of each language: +set(CMAKE_DEPENDS_CHECK_C + "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.c" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o" + "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/test_parcer.c" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/test_parcer.c.o" + ) +set(CMAKE_C_COMPILER_ID "GNU") + +# The include file search paths: +set(CMAKE_C_TARGET_INCLUDE_PATH + "../tests/." + "../tests/../src" + ) + +# 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/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o new file mode 100644 index 0000000..0d33e7f Binary files /dev/null and b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o differ diff --git a/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/build.make b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/build.make new file mode 100644 index 0000000..c4dc123 --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/build.make @@ -0,0 +1,113 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# 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 = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe + +# The command to remove a file. +RM = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1" + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" + +# Include any dependencies generated for this target. +include tests/CMakeFiles/test_parcer.dir/depend.make + +# Include the progress variables for this target. +include tests/CMakeFiles/test_parcer.dir/progress.make + +# Include the compile flags for this target's objects. +include tests/CMakeFiles/test_parcer.dir/flags.make + +tests/CMakeFiles/test_parcer.dir/test_parcer.c.o: tests/CMakeFiles/test_parcer.dir/flags.make +tests/CMakeFiles/test_parcer.dir/test_parcer.c.o: ../tests/test_parcer.c + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir="/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" --progress-num=$(CMAKE_PROGRESS_1) "Building C object tests/CMakeFiles/test_parcer.dir/test_parcer.c.o" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/test_parcer.dir/test_parcer.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/test_parcer.c" + +tests/CMakeFiles/test_parcer.dir/test_parcer.c.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_parcer.dir/test_parcer.c.i" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/test_parcer.c" > CMakeFiles/test_parcer.dir/test_parcer.c.i + +tests/CMakeFiles/test_parcer.dir/test_parcer.c.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_parcer.dir/test_parcer.c.s" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/test_parcer.c" -o CMakeFiles/test_parcer.dir/test_parcer.c.s + +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o: tests/CMakeFiles/test_parcer.dir/flags.make +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o: ../src/parcer.c + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir="/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" --progress-num=$(CMAKE_PROGRESS_2) "Building C object tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/test_parcer.dir/__/src/parcer.c.o -c "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.c" + +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_parcer.dir/__/src/parcer.c.i" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.c" > CMakeFiles/test_parcer.dir/__/src/parcer.c.i + +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_parcer.dir/__/src/parcer.c.s" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.c" -o CMakeFiles/test_parcer.dir/__/src/parcer.c.s + +# Object files for target test_parcer +test_parcer_OBJECTS = \ +"CMakeFiles/test_parcer.dir/test_parcer.c.o" \ +"CMakeFiles/test_parcer.dir/__/src/parcer.c.o" + +# External object files for target test_parcer +test_parcer_EXTERNAL_OBJECTS = + +tests/test_parcer.exe: tests/CMakeFiles/test_parcer.dir/test_parcer.c.o +tests/test_parcer.exe: tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o +tests/test_parcer.exe: tests/CMakeFiles/test_parcer.dir/build.make +tests/test_parcer.exe: tests/CMakeFiles/test_parcer.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir="/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" --progress-num=$(CMAKE_PROGRESS_3) "Linking C executable test_parcer.exe" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/test_parcer.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +tests/CMakeFiles/test_parcer.dir/build: tests/test_parcer.exe + +.PHONY : tests/CMakeFiles/test_parcer.dir/build + +tests/CMakeFiles/test_parcer.dir/clean: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" && $(CMAKE_COMMAND) -P CMakeFiles/test_parcer.dir/cmake_clean.cmake +.PHONY : tests/CMakeFiles/test_parcer.dir/clean + +tests/CMakeFiles/test_parcer.dir/depend: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/DependInfo.cmake" --color=$(COLOR) +.PHONY : tests/CMakeFiles/test_parcer.dir/depend + diff --git a/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/cmake_clean.cmake b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/cmake_clean.cmake new file mode 100644 index 0000000..99acb5a --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/cmake_clean.cmake @@ -0,0 +1,12 @@ +file(REMOVE_RECURSE + "CMakeFiles/test_parcer.dir/test_parcer.c.o" + "CMakeFiles/test_parcer.dir/__/src/parcer.c.o" + "test_parcer.pdb" + "test_parcer.exe" + "libtest_parcer.dll.a" +) + +# Per-language clean rules from dependency scanning. +foreach(lang C) + include(CMakeFiles/test_parcer.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/depend.internal b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/depend.internal new file mode 100644 index 0000000..8407769 --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/depend.internal @@ -0,0 +1,9 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o + /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.c + /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/src/parcer.h +tests/CMakeFiles/test_parcer.dir/test_parcer.c.o + ../tests/../src/parcer.h + /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/test_parcer.c diff --git a/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/depend.make b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/depend.make new file mode 100644 index 0000000..d8c5e3b --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/depend.make @@ -0,0 +1,9 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o: ../src/parcer.c +tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o: ../src/parcer.h + +tests/CMakeFiles/test_parcer.dir/test_parcer.c.o: ../tests/../src/parcer.h +tests/CMakeFiles/test_parcer.dir/test_parcer.c.o: ../tests/test_parcer.c + diff --git a/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/flags.make b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/flags.make new file mode 100644 index 0000000..7f0733f --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/flags.make @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# compile C with /usr/bin/cc +C_FLAGS = -std=c99 -Wall -Wextra -Wshadow -g -O0 -g + +C_DEFINES = + +C_INCLUDES = -I"/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/." -I"/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests/../src" + diff --git a/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/link.txt b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/link.txt new file mode 100644 index 0000000..0c8de32 --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/link.txt @@ -0,0 +1 @@ +/usr/bin/cc -std=c99 -Wall -Wextra -Wshadow -g -O0 -g -Wl,--enable-auto-import CMakeFiles/test_parcer.dir/test_parcer.c.o CMakeFiles/test_parcer.dir/__/src/parcer.c.o -o test_parcer.exe -Wl,--out-implib,libtest_parcer.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -lcheck diff --git a/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/progress.make b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/progress.make new file mode 100644 index 0000000..6a9dc74 --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/progress.make @@ -0,0 +1,4 @@ +CMAKE_PROGRESS_1 = 1 +CMAKE_PROGRESS_2 = 2 +CMAKE_PROGRESS_3 = 3 + diff --git a/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/test_parcer.c.o b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/test_parcer.c.o new file mode 100644 index 0000000..426b12a Binary files /dev/null and b/labs/lab1/cmake-build-debug/tests/CMakeFiles/test_parcer.dir/test_parcer.c.o differ diff --git a/labs/lab1/cmake-build-debug/tests/CTestTestfile.cmake b/labs/lab1/cmake-build-debug/tests/CTestTestfile.cmake new file mode 100644 index 0000000..f24aed5 --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/CTestTestfile.cmake @@ -0,0 +1,7 @@ +# CMake generated Testfile for +# Source directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests +# Build directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests +# +# This file includes the relevant testing commands required for +# testing this directory and lists subdirectories to be tested as well. +add_test(test_parcer "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/test_parcer") diff --git a/labs/lab1/cmake-build-debug/tests/Makefile b/labs/lab1/cmake-build-debug/tests/Makefile new file mode 100644 index 0000000..34d4b51 --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/Makefile @@ -0,0 +1,222 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# 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 = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe + +# The command to remove a file. +RM = /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1" + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" + +#============================================================================= +# Targets provided globally by CMake. + +# Special rule for the target edit_cache +edit_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..." + /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -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 + +# Special rule for the target rebuild_cache +rebuild_cache: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." + /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/cmake.exe -H$(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 test +test: + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..." + /cygdrive/c/Users/nekit/.CLion2018.2/system/cygwin_cmake/bin/ctest.exe --force-new-ctest-process $(ARGS) +.PHONY : test + +# Special rule for the target test +test/fast: test + +.PHONY : test/fast + +# The main all target +all: cmake_check_build_system + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(CMAKE_COMMAND) -E cmake_progress_start "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/tests/CMakeFiles/progress.marks" + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f CMakeFiles/Makefile2 tests/all + $(CMAKE_COMMAND) -E cmake_progress_start "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug/CMakeFiles" 0 +.PHONY : all + +# The main clean target +clean: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f CMakeFiles/Makefile2 tests/clean +.PHONY : clean + +# The main clean target +clean/fast: clean + +.PHONY : clean/fast + +# Prepare targets for installation. +preinstall: all + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f CMakeFiles/Makefile2 tests/preinstall +.PHONY : preinstall + +# Prepare targets for installation. +preinstall/fast: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f CMakeFiles/Makefile2 tests/preinstall +.PHONY : preinstall/fast + +# clear depends +depend: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 +.PHONY : depend + +# Convenience name for target. +tests/CMakeFiles/test_parcer.dir/rule: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f CMakeFiles/Makefile2 tests/CMakeFiles/test_parcer.dir/rule +.PHONY : tests/CMakeFiles/test_parcer.dir/rule + +# Convenience name for target. +test_parcer: tests/CMakeFiles/test_parcer.dir/rule + +.PHONY : test_parcer + +# fast build rule for target. +test_parcer/fast: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/build +.PHONY : test_parcer/fast + +__/src/parcer.o: __/src/parcer.c.o + +.PHONY : __/src/parcer.o + +# target to build an object file +__/src/parcer.c.o: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.o +.PHONY : __/src/parcer.c.o + +__/src/parcer.i: __/src/parcer.c.i + +.PHONY : __/src/parcer.i + +# target to preprocess a source file +__/src/parcer.c.i: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.i +.PHONY : __/src/parcer.c.i + +__/src/parcer.s: __/src/parcer.c.s + +.PHONY : __/src/parcer.s + +# target to generate assembly for a file +__/src/parcer.c.s: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/__/src/parcer.c.s +.PHONY : __/src/parcer.c.s + +test_parcer.o: test_parcer.c.o + +.PHONY : test_parcer.o + +# target to build an object file +test_parcer.c.o: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/test_parcer.c.o +.PHONY : test_parcer.c.o + +test_parcer.i: test_parcer.c.i + +.PHONY : test_parcer.i + +# target to preprocess a source file +test_parcer.c.i: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/test_parcer.c.i +.PHONY : test_parcer.c.i + +test_parcer.s: test_parcer.c.s + +.PHONY : test_parcer.s + +# target to generate assembly for a file +test_parcer.c.s: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(MAKE) -f tests/CMakeFiles/test_parcer.dir/build.make tests/CMakeFiles/test_parcer.dir/test_parcer.c.s +.PHONY : test_parcer.c.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 "... edit_cache" + @echo "... rebuild_cache" + @echo "... test_parcer" + @echo "... test" + @echo "... __/src/parcer.o" + @echo "... __/src/parcer.i" + @echo "... __/src/parcer.s" + @echo "... test_parcer.o" + @echo "... test_parcer.i" + @echo "... test_parcer.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: + cd "/cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/cmake-build-debug" && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/labs/lab1/cmake-build-debug/tests/cmake_install.cmake b/labs/lab1/cmake-build-debug/tests/cmake_install.cmake new file mode 100644 index 0000000..a917166 --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/cmake_install.cmake @@ -0,0 +1,34 @@ +# Install script for directory: /cygdrive/c/DATA/Projects/Bach 3/Compilers Construction/Lab 1/lab1/tests + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Debug") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + diff --git a/labs/lab1/cmake-build-debug/tests/test_parcer.exe b/labs/lab1/cmake-build-debug/tests/test_parcer.exe new file mode 100644 index 0000000..09bbc22 Binary files /dev/null and b/labs/lab1/cmake-build-debug/tests/test_parcer.exe differ diff --git a/labs/lab1/cmake-build-debug/tests/test_parcer.exe.stackdump b/labs/lab1/cmake-build-debug/tests/test_parcer.exe.stackdump new file mode 100644 index 0000000..976f223 --- /dev/null +++ b/labs/lab1/cmake-build-debug/tests/test_parcer.exe.stackdump @@ -0,0 +1,28 @@ +Exception: STATUS_STACK_OVERFLOW at rip=00100401E64 +rax=0000000000000000 rbx=0000000100404293 rcx=0000000000000000 +rdx=0000000100408020 rsi=0000000600000390 rdi=0000000000000000 +r8 =00000000FFFFC92C r9 =0000000180144890 r10=0000000100000000 +r11=0000000100401C69 r12=0000000600000690 r13=0000000000000000 +r14=0000000600059210 r15=0000000600000690 +rbp=00000000FFE04070 rsp=00000000FFE03FF0 +program=C:\DATA\Projects\Bach 3\Compilers Construction\Lab 1\lab1\cmake-build-debug\tests\test_parcer.exe, pid 24344, thread +cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B +Stack trace: +Frame Function Args +000FFE04070 00100401E64 (00000000000, 00000000000, 00000000000, 00000000000) +000FFE040B0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE040F0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04130 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04170 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE041B0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE041F0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04230 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04270 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE042B0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE042F0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04330 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04370 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE043B0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE043F0 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +000FFE04430 00100401ECA (00000000000, 00000000000, 00000000000, 00000000000) +End of stack trace (more stack frames may be present) diff --git a/labs/lab1/demo.c b/labs/lab1/demo.c index 5083e28..ccdfe50 100644 --- a/labs/lab1/demo.c +++ b/labs/lab1/demo.c @@ -11,8 +11,8 @@ int main(void) FILE * out = fopen( "out.txt" , "w"); statements(); - printf("%s\n", result); - fprintf(out, result); + printf("%s\n", parser_result); + fprintf(out, parser_result); fclose(file); fclose(out); diff --git a/labs/lab1/in.txt b/labs/lab1/in.txt index 3db2b78..767dea0 100644 --- a/labs/lab1/in.txt +++ b/labs/lab1/in.txt @@ -1 +1 @@ -1337; \ No newline at end of file +1 + 2 * (1 + 2); \ No newline at end of file diff --git a/labs/lab1/out.txt b/labs/lab1/out.txt index 45766a6..76323ae 100644 --- a/labs/lab1/out.txt +++ b/labs/lab1/out.txt @@ -1 +1 @@ -NUM SEMI EOF \ No newline at end of file +NUM PLUS NUM TIMES LP NUM PLUS NUM RP SEMI EOF \ No newline at end of file diff --git a/labs/lab1/src/parcer.c b/labs/lab1/src/parcer.c index 793bf30..b465452 100644 --- a/labs/lab1/src/parcer.c +++ b/labs/lab1/src/parcer.c @@ -98,6 +98,9 @@ void expression() { /* expression -> term expression' */ + term(); + + expr_prime(); /** YOUR CODE HERE */ } @@ -105,7 +108,11 @@ void term() { /* term -> factor term' */ + /** YOUR CODE HERE */ + factor(); + + term_prime(); } void expr_prime() @@ -115,6 +122,16 @@ void expr_prime() */ /** YOUR CODE HERE */ + if (match(_PLUS)) { + strcat(parser_result, "PLUS "); + advance(); + + term(); + + expr_prime(); + } + + } void term_prime() @@ -124,6 +141,14 @@ void term_prime() */ /** YOUR CODE HERE */ + if (match(_TIMES)) { + strcat(parser_result, "TIMES "); + advance(); + + factor(); + + term_prime(); + } } void factor() @@ -132,6 +157,19 @@ void factor() * | LP expression RP */ /** YOUR CODE HERE */ + if (match(_NUM)) { + strcat(parser_result, "NUM "); + advance(); + } + else if(match(_LP)) { + strcat(parser_result, "LP "); + advance(); + + expression(); + + strcat(parser_result, "RP "); + advance(); + } } void statements() diff --git a/labs/lab1/tests/test_parcer.c b/labs/lab1/tests/test_parcer.c index 406e4d3..5628e90 100644 --- a/labs/lab1/tests/test_parcer.c +++ b/labs/lab1/tests/test_parcer.c @@ -28,7 +28,44 @@ START_TEST (test_lex_0) END_TEST /** YOUR TESTS HERE */ +START_TEST (test_lex_1) + { + char* input = "1"; + char* pattern = 6; + file = fmemopen(input, strlen(input), "r"); + int res = (int)lex(); + + printf("%d\n", res); + ck_assert_int_eq(res, pattern); + } +END_TEST + +START_TEST (test_lex_2) + { + char* input = ")"; + char* pattern = 5; + file = fmemopen(input, strlen(input), "r"); + + int res = (int)lex(); + + printf("%d\n", res); + ck_assert_int_eq(res, pattern); + } +END_TEST + +START_TEST (test_lex_3) + { + char* input = "+"; + char* pattern = 2; + file = fmemopen(input, strlen(input), "r"); + + int res = (int)lex(); + + printf("%d\n", res); + ck_assert_int_eq(res, pattern); + } +END_TEST /***************************************************************************************************/ /**************************** parser test cases *******************************/ @@ -131,6 +168,8 @@ Suite* str_suite (void) tcase_add_test(tcase, test_lex_0); + tcase_add_test(tcase, test_lex_1); + tcase_add_test(tcase, test_lex_2); tcase_add_test(tcase, test_parser_0); tcase_add_test(tcase, test_parser_1);