├── cmake-build-debug
├── CMakeFiles
│ ├── progress.marks
│ ├── RevisionCode.dir
│ │ ├── progress.make
│ │ ├── main.c.o
│ │ ├── depend.make
│ │ ├── link.txt
│ │ ├── flags.make
│ │ ├── depend.internal
│ │ ├── cmake_clean.cmake
│ │ ├── C.includecache
│ │ ├── DependInfo.cmake
│ │ └── build.make
│ ├── cmake.check_cache
│ ├── feature_tests.bin
│ ├── 3.8.2
│ │ ├── CompilerIdC
│ │ │ ├── a.exe
│ │ │ └── CMakeCCompilerId.c
│ │ ├── CompilerIdCXX
│ │ │ ├── a.exe
│ │ │ └── CMakeCXXCompilerId.cpp
│ │ ├── CMakeDetermineCompilerABI_C.bin
│ │ ├── CMakeDetermineCompilerABI_CXX.bin
│ │ ├── CMakeRCCompiler.cmake
│ │ ├── CMakeSystem.cmake
│ │ ├── CMakeCCompiler.cmake
│ │ └── CMakeCXXCompiler.cmake
│ ├── clion-environment.txt
│ ├── TargetDirectories.txt
│ ├── feature_tests.c
│ ├── CMakeDirectoryInformation.cmake
│ ├── clion-log.txt
│ ├── Makefile2
│ ├── feature_tests.cxx
│ └── Makefile.cmake
├── RevisionCode.exe
├── RevisionCode.exe.stackdump
├── cmake_install.cmake
├── Makefile
├── RevisionCode.cbp
└── CMakeCache.txt
├── .idea
├── RevisionCode.iml
├── misc.xml
├── vcs.xml
├── modules.xml
└── workspace.xml
├── CMakeLists.txt
├── .travis.yml
├── question_two.c
├── getint.c
├── main.c
├── question_three.c
├── question_four.c
└── README.md
/cmake-build-debug/CMakeFiles/progress.marks:
--------------------------------------------------------------------------------
1 | 2
2 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/RevisionCode.dir/progress.make:
--------------------------------------------------------------------------------
1 | CMAKE_PROGRESS_1 = 1
2 | CMAKE_PROGRESS_2 = 2
3 |
4 |
--------------------------------------------------------------------------------
/.idea/RevisionCode.iml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/cmake.check_cache:
--------------------------------------------------------------------------------
1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file
2 |
--------------------------------------------------------------------------------
/cmake-build-debug/RevisionCode.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/malep2007/C-Programming-Assignment/HEAD/cmake-build-debug/RevisionCode.exe
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/feature_tests.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/malep2007/C-Programming-Assignment/HEAD/cmake-build-debug/CMakeFiles/feature_tests.bin
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/3.8.2/CompilerIdC/a.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/malep2007/C-Programming-Assignment/HEAD/cmake-build-debug/CMakeFiles/3.8.2/CompilerIdC/a.exe
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/3.8.2/CompilerIdCXX/a.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/malep2007/C-Programming-Assignment/HEAD/cmake-build-debug/CMakeFiles/3.8.2/CompilerIdCXX/a.exe
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/RevisionCode.dir/main.c.o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/malep2007/C-Programming-Assignment/HEAD/cmake-build-debug/CMakeFiles/RevisionCode.dir/main.c.o
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/clion-environment.txt:
--------------------------------------------------------------------------------
1 | ToolSet: 2.9.0@C:\cygwin64
2 | Options:
3 | CMake: 3.8.2@D:\software\software\CLion 2017.2.1\bin\cmake_cygwin\bin\cmake.exe
4 |
--------------------------------------------------------------------------------
/CMakeLists.txt:
--------------------------------------------------------------------------------
1 | cmake_minimum_required(VERSION 3.8)
2 | project(RevisionCode)
3 |
4 | set(CMAKE_C_STANDARD 99)
5 |
6 | set(SOURCE_FILES main.c)
7 | add_executable(RevisionCode ${SOURCE_FILES})
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/3.8.2/CMakeDetermineCompilerABI_C.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/malep2007/C-Programming-Assignment/HEAD/cmake-build-debug/CMakeFiles/3.8.2/CMakeDetermineCompilerABI_C.bin
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/3.8.2/CMakeDetermineCompilerABI_CXX.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/malep2007/C-Programming-Assignment/HEAD/cmake-build-debug/CMakeFiles/3.8.2/CMakeDetermineCompilerABI_CXX.bin
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/RevisionCode.dir/depend.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.8
3 |
4 | CMakeFiles/RevisionCode.dir/main.c.o: ../main.c
5 |
6 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/RevisionCode.dir/link.txt:
--------------------------------------------------------------------------------
1 | /usr/bin/cc -g -Wl,--enable-auto-import CMakeFiles/RevisionCode.dir/main.c.o -o RevisionCode.exe -Wl,--out-implib,libRevisionCode.dll.a -Wl,--major-image-version,0,--minor-image-version,0
2 |
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: c
2 | compiler:
3 | - gcc
4 | before_install:
5 | - pip install --user cpp-coveralls
6 | script:
7 | - ./configure --enable-gcov && make check
8 | after_success:
9 | - coveralls --exclude lib --exclude tests --gcov-options '\-lp'
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/RevisionCode.dir/flags.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.8
3 |
4 | # compile C with /usr/bin/cc
5 | C_FLAGS = -g -std=gnu99
6 |
7 | C_DEFINES =
8 |
9 | C_INCLUDES =
10 |
11 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/3.8.2/CMakeRCCompiler.cmake:
--------------------------------------------------------------------------------
1 | set(CMAKE_RC_COMPILER "/usr/bin/windres.exe")
2 | set(CMAKE_RC_COMPILER_ARG1 "")
3 | set(CMAKE_RC_COMPILER_LOADED 1)
4 | set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC)
5 | set(CMAKE_RC_OUTPUT_EXTENSION .obj)
6 | set(CMAKE_RC_COMPILER_ENV_VAR "RC")
7 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/RevisionCode.dir/depend.internal:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.8
3 |
4 | CMakeFiles/RevisionCode.dir/main.c.o
5 | /cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/main.c
6 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/RevisionCode.dir/cmake_clean.cmake:
--------------------------------------------------------------------------------
1 | file(REMOVE_RECURSE
2 | "CMakeFiles/RevisionCode.dir/main.c.o"
3 | "RevisionCode.pdb"
4 | "RevisionCode.exe"
5 | "libRevisionCode.dll.a"
6 | )
7 |
8 | # Per-language clean rules from dependency scanning.
9 | foreach(lang C)
10 | include(CMakeFiles/RevisionCode.dir/cmake_clean_${lang}.cmake OPTIONAL)
11 | endforeach()
12 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/RevisionCode.dir/C.includecache:
--------------------------------------------------------------------------------
1 | #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
2 |
3 | #IncludeRegexScan: ^.*$
4 |
5 | #IncludeRegexComplain: ^$
6 |
7 | #IncludeRegexTransform:
8 |
9 | /cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/main.c
10 | ctype.h
11 | -
12 | stdio.h
13 | -
14 |
15 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/3.8.2/CMakeSystem.cmake:
--------------------------------------------------------------------------------
1 | set(CMAKE_HOST_SYSTEM "CYGWIN-2.9.0(0.318/5/3)")
2 | set(CMAKE_HOST_SYSTEM_NAME "CYGWIN")
3 | set(CMAKE_HOST_SYSTEM_VERSION "2.9.0(0.318/5/3)")
4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
5 |
6 |
7 |
8 | set(CMAKE_SYSTEM "CYGWIN-2.9.0(0.318/5/3)")
9 | set(CMAKE_SYSTEM_NAME "CYGWIN")
10 | set(CMAKE_SYSTEM_VERSION "2.9.0(0.318/5/3)")
11 | set(CMAKE_SYSTEM_PROCESSOR "x86_64")
12 |
13 | set(CMAKE_CROSSCOMPILING "FALSE")
14 |
15 | set(CMAKE_SYSTEM_LOADED 1)
16 |
--------------------------------------------------------------------------------
/question_two.c:
--------------------------------------------------------------------------------
1 | //TODO 1: Header functions have a .h file extension so you need to create that
2 | // Declarign function as Float is key in this question
3 |
4 | float do_it(char arg1, char arg2, char arg3);
5 | float do_it(char arg1, char arg2, char arg3){
6 | //does something
7 | }
8 | //TODO 2: Keyword to look for is "does not return anything"
9 |
10 | void print_a_number(int arg1);
11 |
12 | //TODO 3: What's wrong? Does not take parameters from definition
13 | print_msg("This is a message to print");// this not right
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/TargetDirectories.txt:
--------------------------------------------------------------------------------
1 | /cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug/CMakeFiles/rebuild_cache.dir
2 | /cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug/CMakeFiles/edit_cache.dir
3 | /cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug/CMakeFiles/RevisionCode.dir
4 |
--------------------------------------------------------------------------------
/getint.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | int getch(void);
5 | void ungetch(int);
6 |
7 | /* getint: get next integer from input and *pn */
8 | int getint(int *pn){
9 | int c, sign;
10 | while (isspace(c = getch())) // skip white space
11 | ;
12 |
13 | if (!isdigit(c) && c != EOF && c != '-'){
14 | ungetch(c); //it's not a number
15 | return 0;
16 | }
17 | sign = (c == '-')? -1:1;
18 | if (c == '+' || c == '-')
19 | c = getch();
20 | for (*pn = 0; isdigit(c); c = getch()) {
21 | *pn = 10 * *pn + (c - '0');
22 | }
23 | *pn *= sign;
24 | if(c != EOF)
25 | ungetch(c);
26 |
27 | return c;
28 | }
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/feature_tests.c:
--------------------------------------------------------------------------------
1 |
2 | const char features[] = {"\n"
3 | "C_FEATURE:"
4 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304
5 | "1"
6 | #else
7 | "0"
8 | #endif
9 | "c_function_prototypes\n"
10 | "C_FEATURE:"
11 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
12 | "1"
13 | #else
14 | "0"
15 | #endif
16 | "c_restrict\n"
17 | "C_FEATURE:"
18 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L
19 | "1"
20 | #else
21 | "0"
22 | #endif
23 | "c_static_assert\n"
24 | "C_FEATURE:"
25 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
26 | "1"
27 | #else
28 | "0"
29 | #endif
30 | "c_variadic_macros\n"
31 |
32 | };
33 |
34 | int main(int argc, char** argv) { (void)argv; return features[argc]; }
35 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/RevisionCode.dir/DependInfo.cmake:
--------------------------------------------------------------------------------
1 | # The set of languages for which implicit dependencies are needed:
2 | set(CMAKE_DEPENDS_LANGUAGES
3 | "C"
4 | )
5 | # The set of files for implicit dependencies of each language:
6 | set(CMAKE_DEPENDS_CHECK_C
7 | "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/main.c" "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug/CMakeFiles/RevisionCode.dir/main.c.o"
8 | )
9 | set(CMAKE_C_COMPILER_ID "GNU")
10 |
11 | # The include file search paths:
12 | set(CMAKE_C_TARGET_INCLUDE_PATH
13 | )
14 |
15 | # Targets to which this target links.
16 | set(CMAKE_TARGET_LINKED_INFO_FILES
17 | )
18 |
19 | # Fortran module output directory.
20 | set(CMAKE_Fortran_TARGET_MODULE_DIR "")
21 |
--------------------------------------------------------------------------------
/main.c:
--------------------------------------------------------------------------------
1 | #include
2 | #define SIZE 10
3 |
4 | //TODO 1: Declare a function called add_arrays(arg1, arg2) that takes arguments of array data type
5 | void add_array(int arr1[SIZE], int arr2[SIZE]);
6 | main() {
7 | int arr1[SIZE] = {1,2,3,4,5};
8 | int arr2[SIZE] = {1,2,3,4,5};
9 |
10 | add_array(arr1, arr2);
11 | }
12 | //TODO 2: Define how the function will operate
13 | void add_array(int arr1[SIZE], int arr2[SIZE]){
14 | //TODO 3: Declare two pointers which will access the arrays' addresses
15 | int *ptr1, *ptr2, sum[10];
16 | ptr1 = arr1; ptr2 = arr2;
17 |
18 | // Because our pointers now have the addresses of the arrays, we can increment the addresses and add each
19 | // value element of each array
20 |
21 | for(int i = 0; i < SIZE; i ++){
22 | sum[i] = *ptr1 + *ptr2;
23 | ptr1++; ptr2 ++;
24 |
25 | printf("%d, ", sum[i]);
26 | }
27 | }
28 |
29 |
30 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/CMakeDirectoryInformation.cmake:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.8
3 |
4 | # Relative path conversion top directories.
5 | set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode")
6 | set(CMAKE_RELATIVE_PATH_TOP_BINARY "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug")
7 |
8 | # Force unix paths in dependencies.
9 | set(CMAKE_FORCE_UNIX_PATHS 1)
10 |
11 |
12 | # The C and CXX include file regular expressions for this directory.
13 | set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
14 | set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
15 | set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
16 | set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
17 |
--------------------------------------------------------------------------------
/question_three.c:
--------------------------------------------------------------------------------
1 | /******************************************************
2 | * This is an easy question which we did in class.
3 | * ***************************************************/
4 | main() {
5 | //TODO 1: Declaration for an array that will hold 50 type long values
6 | double long array[50];
7 |
8 | //TODO 2: Statement that assigns 123.456 to 50th element
9 | array[49] = 123.456;
10 |
11 | //TODO 3: value of x from for loop. In this question 99 and 100 are correct because it was not explicit which x to consisder
12 | for (int x = 0; x < 100; ++x) {
13 | //x == 99
14 | }
15 | //Outside loop x == 100 is correct
16 |
17 | //TODO 4: similar thinking applies to
18 | for (int ctr = 2; ctr < 10; ctr+=3) {
19 | //ctr == 8
20 | }
21 | //ctr == 11;
22 |
23 | //TODO 5: Wha is wrong; indentation without the {} is important it should be
24 | for (int counter = 0; counter < MAXVALUES; ++counter)
25 | printf("\nCounter = %d", counter);
26 |
27 | }
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/clion-log.txt:
--------------------------------------------------------------------------------
1 | "C:\Users\Ephraim Malinga\.CLion2017.2\system\cygwin_cmake\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode"
2 | -- The C compiler identification is GNU 6.4.0
3 | -- The CXX compiler identification is GNU 6.4.0
4 | -- Check for working C compiler: /usr/bin/cc
5 | -- Check for working C compiler: /usr/bin/cc -- works
6 | -- Detecting C compiler ABI info
7 | -- Detecting C compiler ABI info - done
8 | -- Detecting C compile features
9 | -- Detecting C compile features - done
10 | -- Check for working CXX compiler: /usr/bin/c++.exe
11 | -- Check for working CXX compiler: /usr/bin/c++.exe -- works
12 | -- Detecting CXX compiler ABI info
13 | -- Detecting CXX compiler ABI info - done
14 | -- Detecting CXX compile features
15 | -- Detecting CXX compile features - done
16 | -- Configuring done
17 | -- Generating done
18 | -- Build files have been written to: /cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug
19 |
--------------------------------------------------------------------------------
/cmake-build-debug/RevisionCode.exe.stackdump:
--------------------------------------------------------------------------------
1 | Exception: STATUS_ACCESS_VIOLATION at rip=001801B2B69
2 | rax=0000000000000048 rbx=FFFFFFFFFFFFFFFE rcx=0000000000000048
3 | rdx=0000000600048540 rsi=0000000000000000 rdi=0000000000000001
4 | r8 =0000000000000001 r9 =000000060004854C r10=0000000000000000
5 | r11=0000000000000246 r12=0000000000000000 r13=00000000FFFFD680
6 | r14=00000001801FC7B8 r15=0000000000000000
7 | rbp=0000000000000000 rsp=00000000FFFFB540
8 | program=D:\Documents\Makerere\2017-2018 Fundamentals of Prorgramming\test_code\Cplusplus_programming\RevisionCode\cmake-build-debug\RevisionCode.exe, pid 15420, thread main
9 | cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
10 | Stack trace:
11 | Frame Function Args
12 | 00000000000 001801B2B69 (001801FC870, 001004017C0, 000FFFFCBB0, 000FFFFCDF0)
13 | 000FFFFCBD0 00180190DBE (00000000000, 000FFFFC8F8, 0018013F700, 000FFFFCE00)
14 | 000FFFFCBD0 001801197EB (00000000000, 000FFFFC8F8, 0018013F700, 000FFFFCE00)
15 | 000FFFFCBD0 00100401106 (00000000000, 00000000000, 00000000000, 000FFFFCCB0)
16 | 000FFFFCC00 00100401122 (00000000020, FF0700010302FF00, 00180047B51, 00180046B90)
17 | 000FFFFCCB0 00180047BC2 (00000000000, 00000000000, 00000000000, 00000000000)
18 | 00000000000 00180045863 (00000000000, 00000000000, 00000000000, 00000000000)
19 | 000FFFFFFF0 00180045914 (00000000000, 00000000000, 00000000000, 00000000000)
20 | End of stack trace
21 |
--------------------------------------------------------------------------------
/cmake-build-debug/cmake_install.cmake:
--------------------------------------------------------------------------------
1 | # Install script for directory: /cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode
2 |
3 | # Set the install prefix
4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX)
5 | set(CMAKE_INSTALL_PREFIX "/usr/local")
6 | endif()
7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
8 |
9 | # Set the install configuration name.
10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
11 | if(BUILD_TYPE)
12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
14 | else()
15 | set(CMAKE_INSTALL_CONFIG_NAME "Debug")
16 | endif()
17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18 | endif()
19 |
20 | # Set the component getting installed.
21 | if(NOT CMAKE_INSTALL_COMPONENT)
22 | if(COMPONENT)
23 | message(STATUS "Install component: \"${COMPONENT}\"")
24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
25 | else()
26 | set(CMAKE_INSTALL_COMPONENT)
27 | endif()
28 | endif()
29 |
30 | if(CMAKE_INSTALL_COMPONENT)
31 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
32 | else()
33 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
34 | endif()
35 |
36 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
37 | "${CMAKE_INSTALL_MANIFEST_FILES}")
38 | file(WRITE "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug/${CMAKE_INSTALL_MANIFEST}"
39 | "${CMAKE_INSTALL_MANIFEST_CONTENT}")
40 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/3.8.2/CMakeCCompiler.cmake:
--------------------------------------------------------------------------------
1 | set(CMAKE_C_COMPILER "/usr/bin/cc")
2 | set(CMAKE_C_COMPILER_ARG1 "")
3 | set(CMAKE_C_COMPILER_ID "GNU")
4 | set(CMAKE_C_COMPILER_VERSION "6.4.0")
5 | set(CMAKE_C_COMPILER_WRAPPER "")
6 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
7 | 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")
8 | set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
9 | set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
10 | set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
11 |
12 | set(CMAKE_C_PLATFORM_ID "Cygwin")
13 | set(CMAKE_C_SIMULATE_ID "")
14 | set(CMAKE_C_SIMULATE_VERSION "")
15 |
16 | set(CMAKE_AR "/usr/bin/ar.exe")
17 | set(CMAKE_RANLIB "/usr/bin/ranlib.exe")
18 | set(CMAKE_LINKER "/usr/bin/ld.exe")
19 | set(CMAKE_COMPILER_IS_GNUCC 1)
20 | set(CMAKE_C_COMPILER_LOADED 1)
21 | set(CMAKE_C_COMPILER_WORKS TRUE)
22 | set(CMAKE_C_ABI_COMPILED TRUE)
23 | set(CMAKE_COMPILER_IS_MINGW )
24 | set(CMAKE_COMPILER_IS_CYGWIN 1)
25 | if(CMAKE_COMPILER_IS_CYGWIN)
26 | set(CYGWIN 1)
27 | set(UNIX 1)
28 | endif()
29 |
30 | set(CMAKE_C_COMPILER_ENV_VAR "CC")
31 |
32 | if(CMAKE_COMPILER_IS_MINGW)
33 | set(MINGW 1)
34 | endif()
35 | set(CMAKE_C_COMPILER_ID_RUN 1)
36 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
37 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
38 | set(CMAKE_C_LINKER_PREFERENCE 10)
39 |
40 | # Save compiler ABI information.
41 | set(CMAKE_C_SIZEOF_DATA_PTR "8")
42 | set(CMAKE_C_COMPILER_ABI "")
43 | set(CMAKE_C_LIBRARY_ARCHITECTURE "")
44 |
45 | if(CMAKE_C_SIZEOF_DATA_PTR)
46 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
47 | endif()
48 |
49 | if(CMAKE_C_COMPILER_ABI)
50 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
51 | endif()
52 |
53 | if(CMAKE_C_LIBRARY_ARCHITECTURE)
54 | set(CMAKE_LIBRARY_ARCHITECTURE "")
55 | endif()
56 |
57 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
58 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
59 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
60 | endif()
61 |
62 |
63 |
64 |
65 |
66 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "cygwin;advapi32;shell32;user32;kernel32")
67 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-cygwin/6.4.0;/usr/x86_64-pc-cygwin/lib;/usr/lib;/lib")
68 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
69 |
--------------------------------------------------------------------------------
/question_four.c:
--------------------------------------------------------------------------------
1 | #include
2 | #include
3 |
4 | //void add_arrays(int array1[10],int array2[10]);
5 | //main(){
6 | // int array1[10]={1,2,3,4,5,6,7,8};
7 | // int array2[10]={6,2,9,4,5,6,7,8};
8 | // add_arrays(array1,array2);
9 | //}
10 | //
11 | ////This is function to get sum of two arrays
12 | //void add_arrays(int array1[10],int array2[10]) {
13 | //
14 | // int i;
15 | // printf("the first array is [");
16 | // for(i=0; i<10; i++)
17 | // {
18 | //
19 | // printf("%d,",array1[i]);
20 | //
21 | // }
22 | // printf("]\n");
23 | // printf("the second array is [");
24 | // for(i=0; i<10; i++)
25 | // {
26 | // printf("%d,", array2[i]);
27 | // }
28 | // printf("]\n");
29 | //
30 | // printf("the third array is [");
31 | // for (i=0; i<10; i++)
32 | // {
33 | // printf("%d,", array1[i]+array2[i]);
34 | // }
35 | // printf("]");
36 | //}
37 |
38 |
39 | /*
40 | * Richard */
41 | //void add_array(int arr1[],int arr2[], int size);
42 | //main()
43 | //{
44 | // int arr1[5],arr2[5],c=5,i;
45 | // printf("Enter the values of first array\n");
46 | // for(i=0;i<5;i++)
47 | // {
48 | // scanf("%d",&arr1[i]);
49 | // }
50 | // printf("Enter the values of second array\n");
51 | // for(i=0;i<5;i++)
52 | // {
53 | // scanf("%d",&arr2[i]);
54 | // }
55 | // add_array(arr1,arr2,c);
56 | //}
57 | //void add_array(int arr1[],int arr2[], int size)
58 | //{
59 | // int D[size],j;
60 | // printf("Enter the values of second array\n");
61 | // for(j=0;j
20 | int x= 1:
21 | main()
22 | {
23 | if( x = 1);
24 | printf(" x equals 1" );
25 | otherwise
26 | printf(" x does not equal 1");
27 | return 0;
28 | }
29 | ```
30 |
31 | ### My take
32 | ```objectivec
33 | /* a program with problems... */
34 | #include
35 | int x= 1; // this is supposed to be semi colon not full colon
36 | main()
37 | {
38 | if( x = 1)// remove semicolon
39 | printf(" x equals 1" );
40 | else
41 | printf(" x does not equal 1");
42 | return 0;
43 | }
44 | ```
45 |
46 | ## Question Two
47 | Write a header for a function named ```do_it()``` that takes three type char
48 | arguments and returns a type float to the calling program.
49 |
50 | Write a header for a function named ```print_a_number()``` that takes a single
51 | type int argument and doesn't return anything to the calling program.
52 |
53 | What's wrong with the following program ?
54 | ```objectivec
55 | #include
56 | void print_msg( void );
57 | main(){
58 | print_msg("This is a message to print");
59 | return 0;
60 | }
61 | void print_msq( void )
62 | {
63 | puts("This is a message to print");
64 | return 0;
65 | }
66 | ```
67 | ### My take
68 | ```objectivec
69 | //TODO 1: Header functions have a .h file extension so you need to create that
70 | // Declarign function as Float is key in this question
71 |
72 | float do_it(char arg1, char arg2, char arg3);
73 | float do_it(char arg1, char arg2, char arg3){
74 | //does something
75 | }
76 | //TODO 2: Keyword to look for is "does not return anything"
77 |
78 | void print_a_number(int arg1);
79 |
80 | //TODO 3: What's wrong? Does not take parameters from definition
81 | print_msg("This is a message to print");// this not right
82 | ```
83 |
84 | ## Question Three
85 | Write a declaration for an array that will hold 50 type long values
86 |
87 | Show a statement that assigns the value of 123.456 to the 50th element in the array
88 | from the above question
89 |
90 | What is the values of x when the following statement in complete ?
91 | ```objectivec
92 | for (x = 0; x < 100; x++)
93 | ```
94 |
95 | What is the value of ctr when the following statement is compelte ?
96 | ```objectivec
97 | for(ctr = 2; ctr < 10; ctr += 3)
98 | ```
99 |
100 | Write a while statement to count from 1 to 100 by 3s
101 |
102 | What is wrong with the following code fragment (MAXVALUES is not the problem !)
103 | ```objectivec
104 | for (counter = 1; counter < MAXVALUES; counter++ );
105 | printf("\nCounter = %d", counter);
106 | ```
107 | ### My take
108 | ```objectivec
109 | //TODO 1: Declaration for an array that will hold 50 type long values
110 | double long array[50];
111 |
112 | //TODO 2: Statement that assigns 123.456 to 50th element
113 | array[49] = 123.456;
114 |
115 | //TODO 3: value of x from for loop. In this question 99 and 100 are correct because it was not explicit which x to consisder
116 | for (int x = 0; x < 100; ++x) {
117 | //x == 99
118 | }
119 | //Outside loop x == 100 is correct
120 |
121 | //TODO 4: similar thinking applies to
122 | for (int ctr = 2; ctr < 10; ctr+=3) {
123 | //ctr == 8
124 | }
125 | //ctr == 11;
126 |
127 | //TODO 5: Wha is wrong; indentation without the {} is important it should be
128 | for (int counter = 0; counter < MAXVALUES; ++counter)
129 | printf("\nCounter = %d", counter);
130 | ```
131 |
132 | ## Question Four
133 | Write a function named ```addarrays()``` that accepts two arrays that are the same size.
134 | The function should add each element in the arrays together and place the values in a
135 | third array.
136 |
137 | Modify the function you created to return a pointer to the array containing the totals.
138 | Place this function in a program that also displays the values in all three arrays.
139 |
140 | ### My Take
141 | ```objectivec
142 | #define SIZE 10
143 |
144 | //TODO 1: Declare a function called add_arrays(arg1, arg2) that takes arguments of array data type
145 | void add_array(int arr1[SIZE], int arr2[SIZE]);
146 | main() {
147 | int arr1[SIZE] = {1,2,3,4,5};
148 | int arr2[SIZE] = {1,2,3,4,5};
149 |
150 | add_array(arr1, arr2);
151 | }
152 | //TODO 2: Define how the function will operate
153 | void add_array(int arr1[SIZE], int arr2[SIZE]){
154 | //TODO 3: Declare two pointers which will access the arrays' addresses
155 | int *ptr1, *ptr2, sum[10];
156 | ptr1 = arr1; ptr2 = arr2;
157 |
158 | // Because our pointers now have the addresses of the arrays, we can increment the addresses and add each
159 | // value element of each array
160 |
161 | for(int i = 0; i < SIZE; i ++){
162 | sum[i] = *ptr1 + *ptr2;
163 | ptr1++; ptr2 ++;
164 |
165 | printf("%d, ", sum[i]);
166 | }
167 | }
168 | ```
169 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/RevisionCode.dir/build.make:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.8
3 |
4 | # Delete rule output on recipe failure.
5 | .DELETE_ON_ERROR:
6 |
7 |
8 | #=============================================================================
9 | # Special targets provided by cmake.
10 |
11 | # Disable implicit rules so canonical targets will work.
12 | .SUFFIXES:
13 |
14 |
15 | # Remove some rules from gmake that .SUFFIXES does not remove.
16 | SUFFIXES =
17 |
18 | .SUFFIXES: .hpux_make_needs_suffix_list
19 |
20 |
21 | # Suppress display of executed commands.
22 | $(VERBOSE).SILENT:
23 |
24 |
25 | # A target that is always out of date.
26 | cmake_force:
27 |
28 | .PHONY : cmake_force
29 |
30 | #=============================================================================
31 | # Set environment variables for the build.
32 |
33 | # The shell in which to execute make rules.
34 | SHELL = /bin/sh
35 |
36 | # The CMake executable.
37 | CMAKE_COMMAND = "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/bin/cmake.exe"
38 |
39 | # The command to remove a file.
40 | RM = "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/bin/cmake.exe" -E remove -f
41 |
42 | # Escaping for special characters.
43 | EQUALS = =
44 |
45 | # The top-level source directory on which CMake was run.
46 | CMAKE_SOURCE_DIR = "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode"
47 |
48 | # The top-level build directory on which CMake was run.
49 | CMAKE_BINARY_DIR = "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug"
50 |
51 | # Include any dependencies generated for this target.
52 | include CMakeFiles/RevisionCode.dir/depend.make
53 |
54 | # Include the progress variables for this target.
55 | include CMakeFiles/RevisionCode.dir/progress.make
56 |
57 | # Include the compile flags for this target's objects.
58 | include CMakeFiles/RevisionCode.dir/flags.make
59 |
60 | CMakeFiles/RevisionCode.dir/main.c.o: CMakeFiles/RevisionCode.dir/flags.make
61 | CMakeFiles/RevisionCode.dir/main.c.o: ../main.c
62 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir="/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug/CMakeFiles" --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/RevisionCode.dir/main.c.o"
63 | /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/RevisionCode.dir/main.c.o -c "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/main.c"
64 |
65 | CMakeFiles/RevisionCode.dir/main.c.i: cmake_force
66 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/RevisionCode.dir/main.c.i"
67 | /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/main.c" > CMakeFiles/RevisionCode.dir/main.c.i
68 |
69 | CMakeFiles/RevisionCode.dir/main.c.s: cmake_force
70 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/RevisionCode.dir/main.c.s"
71 | /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/main.c" -o CMakeFiles/RevisionCode.dir/main.c.s
72 |
73 | CMakeFiles/RevisionCode.dir/main.c.o.requires:
74 |
75 | .PHONY : CMakeFiles/RevisionCode.dir/main.c.o.requires
76 |
77 | CMakeFiles/RevisionCode.dir/main.c.o.provides: CMakeFiles/RevisionCode.dir/main.c.o.requires
78 | $(MAKE) -f CMakeFiles/RevisionCode.dir/build.make CMakeFiles/RevisionCode.dir/main.c.o.provides.build
79 | .PHONY : CMakeFiles/RevisionCode.dir/main.c.o.provides
80 |
81 | CMakeFiles/RevisionCode.dir/main.c.o.provides.build: CMakeFiles/RevisionCode.dir/main.c.o
82 |
83 |
84 | # Object files for target RevisionCode
85 | RevisionCode_OBJECTS = \
86 | "CMakeFiles/RevisionCode.dir/main.c.o"
87 |
88 | # External object files for target RevisionCode
89 | RevisionCode_EXTERNAL_OBJECTS =
90 |
91 | RevisionCode.exe: CMakeFiles/RevisionCode.dir/main.c.o
92 | RevisionCode.exe: CMakeFiles/RevisionCode.dir/build.make
93 | RevisionCode.exe: CMakeFiles/RevisionCode.dir/link.txt
94 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir="/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug/CMakeFiles" --progress-num=$(CMAKE_PROGRESS_2) "Linking C executable RevisionCode.exe"
95 | $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/RevisionCode.dir/link.txt --verbose=$(VERBOSE)
96 |
97 | # Rule to build all files generated by this target.
98 | CMakeFiles/RevisionCode.dir/build: RevisionCode.exe
99 |
100 | .PHONY : CMakeFiles/RevisionCode.dir/build
101 |
102 | CMakeFiles/RevisionCode.dir/requires: CMakeFiles/RevisionCode.dir/main.c.o.requires
103 |
104 | .PHONY : CMakeFiles/RevisionCode.dir/requires
105 |
106 | CMakeFiles/RevisionCode.dir/clean:
107 | $(CMAKE_COMMAND) -P CMakeFiles/RevisionCode.dir/cmake_clean.cmake
108 | .PHONY : CMakeFiles/RevisionCode.dir/clean
109 |
110 | CMakeFiles/RevisionCode.dir/depend:
111 | cd "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug" && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode" "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode" "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug" "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug" "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug/CMakeFiles/RevisionCode.dir/DependInfo.cmake" --color=$(COLOR)
112 | .PHONY : CMakeFiles/RevisionCode.dir/depend
113 |
114 |
--------------------------------------------------------------------------------
/cmake-build-debug/Makefile:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.8
3 |
4 | # Default target executed when no arguments are given to make.
5 | default_target: all
6 |
7 | .PHONY : default_target
8 |
9 | # Allow only one "make -f Makefile2" at a time, but pass parallelism.
10 | .NOTPARALLEL:
11 |
12 |
13 | #=============================================================================
14 | # Special targets provided by cmake.
15 |
16 | # Disable implicit rules so canonical targets will work.
17 | .SUFFIXES:
18 |
19 |
20 | # Remove some rules from gmake that .SUFFIXES does not remove.
21 | SUFFIXES =
22 |
23 | .SUFFIXES: .hpux_make_needs_suffix_list
24 |
25 |
26 | # Suppress display of executed commands.
27 | $(VERBOSE).SILENT:
28 |
29 |
30 | # A target that is always out of date.
31 | cmake_force:
32 |
33 | .PHONY : cmake_force
34 |
35 | #=============================================================================
36 | # Set environment variables for the build.
37 |
38 | # The shell in which to execute make rules.
39 | SHELL = /bin/sh
40 |
41 | # The CMake executable.
42 | CMAKE_COMMAND = "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/bin/cmake.exe"
43 |
44 | # The command to remove a file.
45 | RM = "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/bin/cmake.exe" -E remove -f
46 |
47 | # Escaping for special characters.
48 | EQUALS = =
49 |
50 | # The top-level source directory on which CMake was run.
51 | CMAKE_SOURCE_DIR = "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode"
52 |
53 | # The top-level build directory on which CMake was run.
54 | CMAKE_BINARY_DIR = "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug"
55 |
56 | #=============================================================================
57 | # Targets provided globally by CMake.
58 |
59 | # Special rule for the target rebuild_cache
60 | rebuild_cache:
61 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
62 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/bin/cmake.exe" -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
63 | .PHONY : rebuild_cache
64 |
65 | # Special rule for the target rebuild_cache
66 | rebuild_cache/fast: rebuild_cache
67 |
68 | .PHONY : rebuild_cache/fast
69 |
70 | # Special rule for the target edit_cache
71 | edit_cache:
72 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
73 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/bin/cmake.exe" -E echo No\ interactive\ CMake\ dialog\ available.
74 | .PHONY : edit_cache
75 |
76 | # Special rule for the target edit_cache
77 | edit_cache/fast: edit_cache
78 |
79 | .PHONY : edit_cache/fast
80 |
81 | # The main all target
82 | all: cmake_check_build_system
83 | $(CMAKE_COMMAND) -E cmake_progress_start "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug/CMakeFiles" "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug/CMakeFiles/progress.marks"
84 | $(MAKE) -f CMakeFiles/Makefile2 all
85 | $(CMAKE_COMMAND) -E cmake_progress_start "/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug/CMakeFiles" 0
86 | .PHONY : all
87 |
88 | # The main clean target
89 | clean:
90 | $(MAKE) -f CMakeFiles/Makefile2 clean
91 | .PHONY : clean
92 |
93 | # The main clean target
94 | clean/fast: clean
95 |
96 | .PHONY : clean/fast
97 |
98 | # Prepare targets for installation.
99 | preinstall: all
100 | $(MAKE) -f CMakeFiles/Makefile2 preinstall
101 | .PHONY : preinstall
102 |
103 | # Prepare targets for installation.
104 | preinstall/fast:
105 | $(MAKE) -f CMakeFiles/Makefile2 preinstall
106 | .PHONY : preinstall/fast
107 |
108 | # clear depends
109 | depend:
110 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
111 | .PHONY : depend
112 |
113 | #=============================================================================
114 | # Target rules for targets named RevisionCode
115 |
116 | # Build rule for target.
117 | RevisionCode: cmake_check_build_system
118 | $(MAKE) -f CMakeFiles/Makefile2 RevisionCode
119 | .PHONY : RevisionCode
120 |
121 | # fast build rule for target.
122 | RevisionCode/fast:
123 | $(MAKE) -f CMakeFiles/RevisionCode.dir/build.make CMakeFiles/RevisionCode.dir/build
124 | .PHONY : RevisionCode/fast
125 |
126 | main.o: main.c.o
127 |
128 | .PHONY : main.o
129 |
130 | # target to build an object file
131 | main.c.o:
132 | $(MAKE) -f CMakeFiles/RevisionCode.dir/build.make CMakeFiles/RevisionCode.dir/main.c.o
133 | .PHONY : main.c.o
134 |
135 | main.i: main.c.i
136 |
137 | .PHONY : main.i
138 |
139 | # target to preprocess a source file
140 | main.c.i:
141 | $(MAKE) -f CMakeFiles/RevisionCode.dir/build.make CMakeFiles/RevisionCode.dir/main.c.i
142 | .PHONY : main.c.i
143 |
144 | main.s: main.c.s
145 |
146 | .PHONY : main.s
147 |
148 | # target to generate assembly for a file
149 | main.c.s:
150 | $(MAKE) -f CMakeFiles/RevisionCode.dir/build.make CMakeFiles/RevisionCode.dir/main.c.s
151 | .PHONY : main.c.s
152 |
153 | # Help Target
154 | help:
155 | @echo "The following are some of the valid targets for this Makefile:"
156 | @echo "... all (the default if no target is provided)"
157 | @echo "... clean"
158 | @echo "... depend"
159 | @echo "... rebuild_cache"
160 | @echo "... edit_cache"
161 | @echo "... RevisionCode"
162 | @echo "... main.o"
163 | @echo "... main.i"
164 | @echo "... main.s"
165 | .PHONY : help
166 |
167 |
168 |
169 | #=============================================================================
170 | # Special targets to cleanup operation of make.
171 |
172 | # Special rule to run CMake to check the build system integrity.
173 | # No rule that depends on this can have commands that come from listfiles
174 | # because they might be regenerated.
175 | cmake_check_build_system:
176 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
177 | .PHONY : cmake_check_build_system
178 |
179 |
--------------------------------------------------------------------------------
/cmake-build-debug/RevisionCode.cbp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/feature_tests.cxx:
--------------------------------------------------------------------------------
1 |
2 | const char features[] = {"\n"
3 | "CXX_FEATURE:"
4 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
5 | "1"
6 | #else
7 | "0"
8 | #endif
9 | "cxx_aggregate_default_initializers\n"
10 | "CXX_FEATURE:"
11 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
12 | "1"
13 | #else
14 | "0"
15 | #endif
16 | "cxx_alias_templates\n"
17 | "CXX_FEATURE:"
18 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
19 | "1"
20 | #else
21 | "0"
22 | #endif
23 | "cxx_alignas\n"
24 | "CXX_FEATURE:"
25 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
26 | "1"
27 | #else
28 | "0"
29 | #endif
30 | "cxx_alignof\n"
31 | "CXX_FEATURE:"
32 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
33 | "1"
34 | #else
35 | "0"
36 | #endif
37 | "cxx_attributes\n"
38 | "CXX_FEATURE:"
39 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
40 | "1"
41 | #else
42 | "0"
43 | #endif
44 | "cxx_attribute_deprecated\n"
45 | "CXX_FEATURE:"
46 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
47 | "1"
48 | #else
49 | "0"
50 | #endif
51 | "cxx_auto_type\n"
52 | "CXX_FEATURE:"
53 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
54 | "1"
55 | #else
56 | "0"
57 | #endif
58 | "cxx_binary_literals\n"
59 | "CXX_FEATURE:"
60 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
61 | "1"
62 | #else
63 | "0"
64 | #endif
65 | "cxx_constexpr\n"
66 | "CXX_FEATURE:"
67 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
68 | "1"
69 | #else
70 | "0"
71 | #endif
72 | "cxx_contextual_conversions\n"
73 | "CXX_FEATURE:"
74 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
75 | "1"
76 | #else
77 | "0"
78 | #endif
79 | "cxx_decltype\n"
80 | "CXX_FEATURE:"
81 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
82 | "1"
83 | #else
84 | "0"
85 | #endif
86 | "cxx_decltype_auto\n"
87 | "CXX_FEATURE:"
88 | #if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
89 | "1"
90 | #else
91 | "0"
92 | #endif
93 | "cxx_decltype_incomplete_return_types\n"
94 | "CXX_FEATURE:"
95 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
96 | "1"
97 | #else
98 | "0"
99 | #endif
100 | "cxx_default_function_template_args\n"
101 | "CXX_FEATURE:"
102 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
103 | "1"
104 | #else
105 | "0"
106 | #endif
107 | "cxx_defaulted_functions\n"
108 | "CXX_FEATURE:"
109 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
110 | "1"
111 | #else
112 | "0"
113 | #endif
114 | "cxx_defaulted_move_initializers\n"
115 | "CXX_FEATURE:"
116 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
117 | "1"
118 | #else
119 | "0"
120 | #endif
121 | "cxx_delegating_constructors\n"
122 | "CXX_FEATURE:"
123 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
124 | "1"
125 | #else
126 | "0"
127 | #endif
128 | "cxx_deleted_functions\n"
129 | "CXX_FEATURE:"
130 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
131 | "1"
132 | #else
133 | "0"
134 | #endif
135 | "cxx_digit_separators\n"
136 | "CXX_FEATURE:"
137 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
138 | "1"
139 | #else
140 | "0"
141 | #endif
142 | "cxx_enum_forward_declarations\n"
143 | "CXX_FEATURE:"
144 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
145 | "1"
146 | #else
147 | "0"
148 | #endif
149 | "cxx_explicit_conversions\n"
150 | "CXX_FEATURE:"
151 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
152 | "1"
153 | #else
154 | "0"
155 | #endif
156 | "cxx_extended_friend_declarations\n"
157 | "CXX_FEATURE:"
158 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
159 | "1"
160 | #else
161 | "0"
162 | #endif
163 | "cxx_extern_templates\n"
164 | "CXX_FEATURE:"
165 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
166 | "1"
167 | #else
168 | "0"
169 | #endif
170 | "cxx_final\n"
171 | "CXX_FEATURE:"
172 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
173 | "1"
174 | #else
175 | "0"
176 | #endif
177 | "cxx_func_identifier\n"
178 | "CXX_FEATURE:"
179 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
180 | "1"
181 | #else
182 | "0"
183 | #endif
184 | "cxx_generalized_initializers\n"
185 | "CXX_FEATURE:"
186 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
187 | "1"
188 | #else
189 | "0"
190 | #endif
191 | "cxx_generic_lambdas\n"
192 | "CXX_FEATURE:"
193 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
194 | "1"
195 | #else
196 | "0"
197 | #endif
198 | "cxx_inheriting_constructors\n"
199 | "CXX_FEATURE:"
200 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
201 | "1"
202 | #else
203 | "0"
204 | #endif
205 | "cxx_inline_namespaces\n"
206 | "CXX_FEATURE:"
207 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
208 | "1"
209 | #else
210 | "0"
211 | #endif
212 | "cxx_lambdas\n"
213 | "CXX_FEATURE:"
214 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
215 | "1"
216 | #else
217 | "0"
218 | #endif
219 | "cxx_lambda_init_captures\n"
220 | "CXX_FEATURE:"
221 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
222 | "1"
223 | #else
224 | "0"
225 | #endif
226 | "cxx_local_type_template_args\n"
227 | "CXX_FEATURE:"
228 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
229 | "1"
230 | #else
231 | "0"
232 | #endif
233 | "cxx_long_long_type\n"
234 | "CXX_FEATURE:"
235 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
236 | "1"
237 | #else
238 | "0"
239 | #endif
240 | "cxx_noexcept\n"
241 | "CXX_FEATURE:"
242 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
243 | "1"
244 | #else
245 | "0"
246 | #endif
247 | "cxx_nonstatic_member_init\n"
248 | "CXX_FEATURE:"
249 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
250 | "1"
251 | #else
252 | "0"
253 | #endif
254 | "cxx_nullptr\n"
255 | "CXX_FEATURE:"
256 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
257 | "1"
258 | #else
259 | "0"
260 | #endif
261 | "cxx_override\n"
262 | "CXX_FEATURE:"
263 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
264 | "1"
265 | #else
266 | "0"
267 | #endif
268 | "cxx_range_for\n"
269 | "CXX_FEATURE:"
270 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
271 | "1"
272 | #else
273 | "0"
274 | #endif
275 | "cxx_raw_string_literals\n"
276 | "CXX_FEATURE:"
277 | #if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
278 | "1"
279 | #else
280 | "0"
281 | #endif
282 | "cxx_reference_qualified_functions\n"
283 | "CXX_FEATURE:"
284 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
285 | "1"
286 | #else
287 | "0"
288 | #endif
289 | "cxx_relaxed_constexpr\n"
290 | "CXX_FEATURE:"
291 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
292 | "1"
293 | #else
294 | "0"
295 | #endif
296 | "cxx_return_type_deduction\n"
297 | "CXX_FEATURE:"
298 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
299 | "1"
300 | #else
301 | "0"
302 | #endif
303 | "cxx_right_angle_brackets\n"
304 | "CXX_FEATURE:"
305 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
306 | "1"
307 | #else
308 | "0"
309 | #endif
310 | "cxx_rvalue_references\n"
311 | "CXX_FEATURE:"
312 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
313 | "1"
314 | #else
315 | "0"
316 | #endif
317 | "cxx_sizeof_member\n"
318 | "CXX_FEATURE:"
319 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
320 | "1"
321 | #else
322 | "0"
323 | #endif
324 | "cxx_static_assert\n"
325 | "CXX_FEATURE:"
326 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
327 | "1"
328 | #else
329 | "0"
330 | #endif
331 | "cxx_strong_enums\n"
332 | "CXX_FEATURE:"
333 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus
334 | "1"
335 | #else
336 | "0"
337 | #endif
338 | "cxx_template_template_parameters\n"
339 | "CXX_FEATURE:"
340 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
341 | "1"
342 | #else
343 | "0"
344 | #endif
345 | "cxx_thread_local\n"
346 | "CXX_FEATURE:"
347 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
348 | "1"
349 | #else
350 | "0"
351 | #endif
352 | "cxx_trailing_return_types\n"
353 | "CXX_FEATURE:"
354 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
355 | "1"
356 | #else
357 | "0"
358 | #endif
359 | "cxx_unicode_literals\n"
360 | "CXX_FEATURE:"
361 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
362 | "1"
363 | #else
364 | "0"
365 | #endif
366 | "cxx_uniform_initialization\n"
367 | "CXX_FEATURE:"
368 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
369 | "1"
370 | #else
371 | "0"
372 | #endif
373 | "cxx_unrestricted_unions\n"
374 | "CXX_FEATURE:"
375 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
376 | "1"
377 | #else
378 | "0"
379 | #endif
380 | "cxx_user_literals\n"
381 | "CXX_FEATURE:"
382 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
383 | "1"
384 | #else
385 | "0"
386 | #endif
387 | "cxx_variable_templates\n"
388 | "CXX_FEATURE:"
389 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
390 | "1"
391 | #else
392 | "0"
393 | #endif
394 | "cxx_variadic_macros\n"
395 | "CXX_FEATURE:"
396 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
397 | "1"
398 | #else
399 | "0"
400 | #endif
401 | "cxx_variadic_templates\n"
402 |
403 | };
404 |
405 | int main(int argc, char** argv) { (void)argv; return features[argc]; }
406 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/Makefile.cmake:
--------------------------------------------------------------------------------
1 | # CMAKE generated file: DO NOT EDIT!
2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.8
3 |
4 | # The generator used is:
5 | set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
6 |
7 | # The top level Makefile was generated from the following files:
8 | set(CMAKE_MAKEFILE_DEPENDS
9 | "CMakeCache.txt"
10 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeCCompiler.cmake.in"
11 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeCCompilerABI.c"
12 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeCInformation.cmake"
13 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeCXXCompiler.cmake.in"
14 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeCXXCompilerABI.cpp"
15 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeCXXInformation.cmake"
16 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeCommonLanguageInclude.cmake"
17 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeCompilerIdDetection.cmake"
18 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeDetermineCCompiler.cmake"
19 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeDetermineCXXCompiler.cmake"
20 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeDetermineCompileFeatures.cmake"
21 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeDetermineCompiler.cmake"
22 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeDetermineCompilerABI.cmake"
23 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeDetermineCompilerId.cmake"
24 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeDetermineRCCompiler.cmake"
25 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeDetermineSystem.cmake"
26 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake"
27 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeFindBinUtils.cmake"
28 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeFindCodeBlocks.cmake"
29 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeGenericSystem.cmake"
30 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeLanguageInformation.cmake"
31 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeParseImplicitLinkInfo.cmake"
32 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeRCCompiler.cmake.in"
33 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeRCInformation.cmake"
34 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeSystem.cmake.in"
35 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeSystemSpecificInformation.cmake"
36 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeSystemSpecificInitialize.cmake"
37 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeTestCCompiler.cmake"
38 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeTestCXXCompiler.cmake"
39 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeTestCompilerCommon.cmake"
40 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeTestRCCompiler.cmake"
41 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/CMakeUnixFindMake.cmake"
42 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/ADSP-DetermineCompiler.cmake"
43 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
44 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
45 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/Borland-DetermineCompiler.cmake"
46 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
47 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/Clang-DetermineCompiler.cmake"
48 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
49 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
50 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
51 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
52 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/Cray-DetermineCompiler.cmake"
53 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
54 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
55 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/GHS-DetermineCompiler.cmake"
56 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
57 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/GNU-C-FeatureTests.cmake"
58 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/GNU-C.cmake"
59 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
60 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/GNU-CXX-FeatureTests.cmake"
61 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/GNU-CXX.cmake"
62 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/GNU.cmake"
63 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/HP-C-DetermineCompiler.cmake"
64 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
65 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/IAR-DetermineCompiler.cmake"
66 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
67 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
68 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/Intel-DetermineCompiler.cmake"
69 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/MIPSpro-DetermineCompiler.cmake"
70 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/MSVC-DetermineCompiler.cmake"
71 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
72 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
73 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/PGI-DetermineCompiler.cmake"
74 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/PathScale-DetermineCompiler.cmake"
75 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/SCO-DetermineCompiler.cmake"
76 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
77 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
78 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
79 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/TI-DetermineCompiler.cmake"
80 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
81 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
82 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
83 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/Watcom-DetermineCompiler.cmake"
84 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/XL-C-DetermineCompiler.cmake"
85 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
86 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
87 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
88 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Internal/FeatureTesting.cmake"
89 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Platform/CYGWIN-Determine-CXX.cmake"
90 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Platform/CYGWIN-GNU-C.cmake"
91 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Platform/CYGWIN-GNU-CXX.cmake"
92 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Platform/CYGWIN-GNU.cmake"
93 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Platform/CYGWIN-windres.cmake"
94 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Platform/CYGWIN.cmake"
95 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/Platform/UnixPaths.cmake"
96 | "/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2/Modules/ProcessorCount.cmake"
97 | "../CMakeLists.txt"
98 | "CMakeFiles/3.8.2/CMakeCCompiler.cmake"
99 | "CMakeFiles/3.8.2/CMakeCXXCompiler.cmake"
100 | "CMakeFiles/3.8.2/CMakeRCCompiler.cmake"
101 | "CMakeFiles/3.8.2/CMakeSystem.cmake"
102 | "CMakeFiles/feature_tests.c"
103 | "CMakeFiles/feature_tests.cxx"
104 | )
105 |
106 | # The corresponding makefile is:
107 | set(CMAKE_MAKEFILE_OUTPUTS
108 | "Makefile"
109 | "CMakeFiles/cmake.check_cache"
110 | )
111 |
112 | # Byproducts of CMake generate step:
113 | set(CMAKE_MAKEFILE_PRODUCTS
114 | "CMakeFiles/3.8.2/CMakeSystem.cmake"
115 | "CMakeFiles/3.8.2/CMakeCCompiler.cmake"
116 | "CMakeFiles/3.8.2/CMakeCXXCompiler.cmake"
117 | "CMakeFiles/3.8.2/CMakeRCCompiler.cmake"
118 | "CMakeFiles/3.8.2/CMakeCCompiler.cmake"
119 | "CMakeFiles/3.8.2/CMakeCXXCompiler.cmake"
120 | "CMakeFiles/CMakeDirectoryInformation.cmake"
121 | )
122 |
123 | # Dependency information for all targets:
124 | set(CMAKE_DEPEND_INFO_FILES
125 | "CMakeFiles/RevisionCode.dir/DependInfo.cmake"
126 | )
127 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/3.8.2/CompilerIdCXX/CMakeCXXCompilerId.cpp:
--------------------------------------------------------------------------------
1 | /* This source file must have a .cpp extension so that all C++ compilers
2 | recognize the extension without flags. Borland does not know .cxx for
3 | example. */
4 | #ifndef __cplusplus
5 | # error "A C compiler has been selected for C++."
6 | #endif
7 |
8 |
9 | /* Version number components: V=Version, R=Revision, P=Patch
10 | Version date components: YYYY=Year, MM=Month, DD=Day */
11 |
12 | #if defined(__COMO__)
13 | # define COMPILER_ID "Comeau"
14 | /* __COMO_VERSION__ = VRR */
15 | # define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
16 | # define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
17 |
18 | #elif defined(__INTEL_COMPILER) || defined(__ICC)
19 | # define COMPILER_ID "Intel"
20 | # if defined(_MSC_VER)
21 | # define SIMULATE_ID "MSVC"
22 | # endif
23 | /* __INTEL_COMPILER = VRP */
24 | # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
25 | # define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
26 | # if defined(__INTEL_COMPILER_UPDATE)
27 | # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
28 | # else
29 | # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
30 | # endif
31 | # if defined(__INTEL_COMPILER_BUILD_DATE)
32 | /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
33 | # define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
34 | # endif
35 | # if defined(_MSC_VER)
36 | /* _MSC_VER = VVRR */
37 | # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
38 | # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
39 | # endif
40 |
41 | #elif defined(__PATHCC__)
42 | # define COMPILER_ID "PathScale"
43 | # define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
44 | # define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
45 | # if defined(__PATHCC_PATCHLEVEL__)
46 | # define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
47 | # endif
48 |
49 | #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
50 | # define COMPILER_ID "Embarcadero"
51 | # define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
52 | # define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
53 | # define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
54 |
55 | #elif defined(__BORLANDC__)
56 | # define COMPILER_ID "Borland"
57 | /* __BORLANDC__ = 0xVRR */
58 | # define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
59 | # define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
60 |
61 | #elif defined(__WATCOMC__) && __WATCOMC__ < 1200
62 | # define COMPILER_ID "Watcom"
63 | /* __WATCOMC__ = VVRR */
64 | # define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
65 | # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
66 | # if (__WATCOMC__ % 10) > 0
67 | # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
68 | # endif
69 |
70 | #elif defined(__WATCOMC__)
71 | # define COMPILER_ID "OpenWatcom"
72 | /* __WATCOMC__ = VVRP + 1100 */
73 | # define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
74 | # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
75 | # if (__WATCOMC__ % 10) > 0
76 | # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
77 | # endif
78 |
79 | #elif defined(__SUNPRO_CC)
80 | # define COMPILER_ID "SunPro"
81 | # if __SUNPRO_CC >= 0x5100
82 | /* __SUNPRO_CC = 0xVRRP */
83 | # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
84 | # define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
85 | # define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
86 | # else
87 | /* __SUNPRO_CC = 0xVRP */
88 | # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
89 | # define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
90 | # define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
91 | # endif
92 |
93 | #elif defined(__HP_aCC)
94 | # define COMPILER_ID "HP"
95 | /* __HP_aCC = VVRRPP */
96 | # define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
97 | # define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
98 | # define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
99 |
100 | #elif defined(__DECCXX)
101 | # define COMPILER_ID "Compaq"
102 | /* __DECCXX_VER = VVRRTPPPP */
103 | # define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
104 | # define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
105 | # define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
106 |
107 | #elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
108 | # define COMPILER_ID "zOS"
109 | /* __IBMCPP__ = VRP */
110 | # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
111 | # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
112 | # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
113 |
114 | #elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
115 | # define COMPILER_ID "XL"
116 | /* __IBMCPP__ = VRP */
117 | # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
118 | # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
119 | # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
120 |
121 | #elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
122 | # define COMPILER_ID "VisualAge"
123 | /* __IBMCPP__ = VRP */
124 | # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
125 | # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
126 | # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
127 |
128 | #elif defined(__PGI)
129 | # define COMPILER_ID "PGI"
130 | # define COMPILER_VERSION_MAJOR DEC(__PGIC__)
131 | # define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
132 | # if defined(__PGIC_PATCHLEVEL__)
133 | # define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
134 | # endif
135 |
136 | #elif defined(_CRAYC)
137 | # define COMPILER_ID "Cray"
138 | # define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
139 | # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
140 |
141 | #elif defined(__TI_COMPILER_VERSION__)
142 | # define COMPILER_ID "TI"
143 | /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
144 | # define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
145 | # define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
146 | # define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
147 |
148 | #elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
149 | # define COMPILER_ID "Fujitsu"
150 |
151 | #elif defined(__SCO_VERSION__)
152 | # define COMPILER_ID "SCO"
153 |
154 | #elif defined(__clang__) && defined(__apple_build_version__)
155 | # define COMPILER_ID "AppleClang"
156 | # if defined(_MSC_VER)
157 | # define SIMULATE_ID "MSVC"
158 | # endif
159 | # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
160 | # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
161 | # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
162 | # if defined(_MSC_VER)
163 | /* _MSC_VER = VVRR */
164 | # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
165 | # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
166 | # endif
167 | # define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
168 |
169 | #elif defined(__clang__)
170 | # define COMPILER_ID "Clang"
171 | # if defined(_MSC_VER)
172 | # define SIMULATE_ID "MSVC"
173 | # endif
174 | # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
175 | # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
176 | # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
177 | # if defined(_MSC_VER)
178 | /* _MSC_VER = VVRR */
179 | # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
180 | # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
181 | # endif
182 |
183 | #elif defined(__GNUC__) || defined(__GNUG__)
184 | # define COMPILER_ID "GNU"
185 | # if defined(__GNUC__)
186 | # define COMPILER_VERSION_MAJOR DEC(__GNUC__)
187 | # else
188 | # define COMPILER_VERSION_MAJOR DEC(__GNUG__)
189 | # endif
190 | # if defined(__GNUC_MINOR__)
191 | # define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
192 | # endif
193 | # if defined(__GNUC_PATCHLEVEL__)
194 | # define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
195 | # endif
196 |
197 | #elif defined(_MSC_VER)
198 | # define COMPILER_ID "MSVC"
199 | /* _MSC_VER = VVRR */
200 | # define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
201 | # define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
202 | # if defined(_MSC_FULL_VER)
203 | # if _MSC_VER >= 1400
204 | /* _MSC_FULL_VER = VVRRPPPPP */
205 | # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
206 | # else
207 | /* _MSC_FULL_VER = VVRRPPPP */
208 | # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
209 | # endif
210 | # endif
211 | # if defined(_MSC_BUILD)
212 | # define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
213 | # endif
214 |
215 | #elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
216 | # define COMPILER_ID "ADSP"
217 | #if defined(__VISUALDSPVERSION__)
218 | /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
219 | # define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
220 | # define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
221 | # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
222 | #endif
223 |
224 | #elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
225 | # define COMPILER_ID "IAR"
226 |
227 | #elif defined(__ARMCC_VERSION)
228 | # define COMPILER_ID "ARMCC"
229 | #if __ARMCC_VERSION >= 1000000
230 | /* __ARMCC_VERSION = VRRPPPP */
231 | # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
232 | # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
233 | # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
234 | #else
235 | /* __ARMCC_VERSION = VRPPPP */
236 | # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
237 | # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
238 | # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
239 | #endif
240 |
241 |
242 | #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
243 | # define COMPILER_ID "MIPSpro"
244 | # if defined(_SGI_COMPILER_VERSION)
245 | /* _SGI_COMPILER_VERSION = VRP */
246 | # define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
247 | # define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
248 | # define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
249 | # else
250 | /* _COMPILER_VERSION = VRP */
251 | # define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
252 | # define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
253 | # define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
254 | # endif
255 |
256 |
257 | /* These compilers are either not known or too old to define an
258 | identification macro. Try to identify the platform and guess that
259 | it is the native compiler. */
260 | #elif defined(__sgi)
261 | # define COMPILER_ID "MIPSpro"
262 |
263 | #elif defined(__hpux) || defined(__hpua)
264 | # define COMPILER_ID "HP"
265 |
266 | #else /* unknown compiler */
267 | # define COMPILER_ID ""
268 | #endif
269 |
270 | /* Construct the string literal in pieces to prevent the source from
271 | getting matched. Store it in a pointer rather than an array
272 | because some compilers will just produce instructions to fill the
273 | array rather than assigning a pointer to a static array. */
274 | char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
275 | #ifdef SIMULATE_ID
276 | char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
277 | #endif
278 |
279 | #ifdef __QNXNTO__
280 | char const* qnxnto = "INFO" ":" "qnxnto[]";
281 | #endif
282 |
283 | #if defined(__CRAYXE) || defined(__CRAYXC)
284 | char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
285 | #endif
286 |
287 | #define STRINGIFY_HELPER(X) #X
288 | #define STRINGIFY(X) STRINGIFY_HELPER(X)
289 |
290 | /* Identify known platforms by name. */
291 | #if defined(__linux) || defined(__linux__) || defined(linux)
292 | # define PLATFORM_ID "Linux"
293 |
294 | #elif defined(__CYGWIN__)
295 | # define PLATFORM_ID "Cygwin"
296 |
297 | #elif defined(__MINGW32__)
298 | # define PLATFORM_ID "MinGW"
299 |
300 | #elif defined(__APPLE__)
301 | # define PLATFORM_ID "Darwin"
302 |
303 | #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
304 | # define PLATFORM_ID "Windows"
305 |
306 | #elif defined(__FreeBSD__) || defined(__FreeBSD)
307 | # define PLATFORM_ID "FreeBSD"
308 |
309 | #elif defined(__NetBSD__) || defined(__NetBSD)
310 | # define PLATFORM_ID "NetBSD"
311 |
312 | #elif defined(__OpenBSD__) || defined(__OPENBSD)
313 | # define PLATFORM_ID "OpenBSD"
314 |
315 | #elif defined(__sun) || defined(sun)
316 | # define PLATFORM_ID "SunOS"
317 |
318 | #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
319 | # define PLATFORM_ID "AIX"
320 |
321 | #elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
322 | # define PLATFORM_ID "IRIX"
323 |
324 | #elif defined(__hpux) || defined(__hpux__)
325 | # define PLATFORM_ID "HP-UX"
326 |
327 | #elif defined(__HAIKU__)
328 | # define PLATFORM_ID "Haiku"
329 |
330 | #elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
331 | # define PLATFORM_ID "BeOS"
332 |
333 | #elif defined(__QNX__) || defined(__QNXNTO__)
334 | # define PLATFORM_ID "QNX"
335 |
336 | #elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
337 | # define PLATFORM_ID "Tru64"
338 |
339 | #elif defined(__riscos) || defined(__riscos__)
340 | # define PLATFORM_ID "RISCos"
341 |
342 | #elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
343 | # define PLATFORM_ID "SINIX"
344 |
345 | #elif defined(__UNIX_SV__)
346 | # define PLATFORM_ID "UNIX_SV"
347 |
348 | #elif defined(__bsdos__)
349 | # define PLATFORM_ID "BSDOS"
350 |
351 | #elif defined(_MPRAS) || defined(MPRAS)
352 | # define PLATFORM_ID "MP-RAS"
353 |
354 | #elif defined(__osf) || defined(__osf__)
355 | # define PLATFORM_ID "OSF1"
356 |
357 | #elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
358 | # define PLATFORM_ID "SCO_SV"
359 |
360 | #elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
361 | # define PLATFORM_ID "ULTRIX"
362 |
363 | #elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
364 | # define PLATFORM_ID "Xenix"
365 |
366 | #elif defined(__WATCOMC__)
367 | # if defined(__LINUX__)
368 | # define PLATFORM_ID "Linux"
369 |
370 | # elif defined(__DOS__)
371 | # define PLATFORM_ID "DOS"
372 |
373 | # elif defined(__OS2__)
374 | # define PLATFORM_ID "OS2"
375 |
376 | # elif defined(__WINDOWS__)
377 | # define PLATFORM_ID "Windows3x"
378 |
379 | # else /* unknown platform */
380 | # define PLATFORM_ID
381 | # endif
382 |
383 | #else /* unknown platform */
384 | # define PLATFORM_ID
385 |
386 | #endif
387 |
388 | /* For windows compilers MSVC and Intel we can determine
389 | the architecture of the compiler being used. This is because
390 | the compilers do not have flags that can change the architecture,
391 | but rather depend on which compiler is being used
392 | */
393 | #if defined(_WIN32) && defined(_MSC_VER)
394 | # if defined(_M_IA64)
395 | # define ARCHITECTURE_ID "IA64"
396 |
397 | # elif defined(_M_X64) || defined(_M_AMD64)
398 | # define ARCHITECTURE_ID "x64"
399 |
400 | # elif defined(_M_IX86)
401 | # define ARCHITECTURE_ID "X86"
402 |
403 | # elif defined(_M_ARM)
404 | # if _M_ARM == 4
405 | # define ARCHITECTURE_ID "ARMV4I"
406 | # elif _M_ARM == 5
407 | # define ARCHITECTURE_ID "ARMV5I"
408 | # else
409 | # define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
410 | # endif
411 |
412 | # elif defined(_M_MIPS)
413 | # define ARCHITECTURE_ID "MIPS"
414 |
415 | # elif defined(_M_SH)
416 | # define ARCHITECTURE_ID "SHx"
417 |
418 | # else /* unknown architecture */
419 | # define ARCHITECTURE_ID ""
420 | # endif
421 |
422 | #elif defined(__WATCOMC__)
423 | # if defined(_M_I86)
424 | # define ARCHITECTURE_ID "I86"
425 |
426 | # elif defined(_M_IX86)
427 | # define ARCHITECTURE_ID "X86"
428 |
429 | # else /* unknown architecture */
430 | # define ARCHITECTURE_ID ""
431 | # endif
432 |
433 | #else
434 | # define ARCHITECTURE_ID
435 | #endif
436 |
437 | /* Convert integer to decimal digit literals. */
438 | #define DEC(n) \
439 | ('0' + (((n) / 10000000)%10)), \
440 | ('0' + (((n) / 1000000)%10)), \
441 | ('0' + (((n) / 100000)%10)), \
442 | ('0' + (((n) / 10000)%10)), \
443 | ('0' + (((n) / 1000)%10)), \
444 | ('0' + (((n) / 100)%10)), \
445 | ('0' + (((n) / 10)%10)), \
446 | ('0' + ((n) % 10))
447 |
448 | /* Convert integer to hex digit literals. */
449 | #define HEX(n) \
450 | ('0' + ((n)>>28 & 0xF)), \
451 | ('0' + ((n)>>24 & 0xF)), \
452 | ('0' + ((n)>>20 & 0xF)), \
453 | ('0' + ((n)>>16 & 0xF)), \
454 | ('0' + ((n)>>12 & 0xF)), \
455 | ('0' + ((n)>>8 & 0xF)), \
456 | ('0' + ((n)>>4 & 0xF)), \
457 | ('0' + ((n) & 0xF))
458 |
459 | /* Construct a string literal encoding the version number components. */
460 | #ifdef COMPILER_VERSION_MAJOR
461 | char const info_version[] = {
462 | 'I', 'N', 'F', 'O', ':',
463 | 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
464 | COMPILER_VERSION_MAJOR,
465 | # ifdef COMPILER_VERSION_MINOR
466 | '.', COMPILER_VERSION_MINOR,
467 | # ifdef COMPILER_VERSION_PATCH
468 | '.', COMPILER_VERSION_PATCH,
469 | # ifdef COMPILER_VERSION_TWEAK
470 | '.', COMPILER_VERSION_TWEAK,
471 | # endif
472 | # endif
473 | # endif
474 | ']','\0'};
475 | #endif
476 |
477 | /* Construct a string literal encoding the version number components. */
478 | #ifdef SIMULATE_VERSION_MAJOR
479 | char const info_simulate_version[] = {
480 | 'I', 'N', 'F', 'O', ':',
481 | 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
482 | SIMULATE_VERSION_MAJOR,
483 | # ifdef SIMULATE_VERSION_MINOR
484 | '.', SIMULATE_VERSION_MINOR,
485 | # ifdef SIMULATE_VERSION_PATCH
486 | '.', SIMULATE_VERSION_PATCH,
487 | # ifdef SIMULATE_VERSION_TWEAK
488 | '.', SIMULATE_VERSION_TWEAK,
489 | # endif
490 | # endif
491 | # endif
492 | ']','\0'};
493 | #endif
494 |
495 | /* Construct the string literal in pieces to prevent the source from
496 | getting matched. Store it in a pointer rather than an array
497 | because some compilers will just produce instructions to fill the
498 | array rather than assigning a pointer to a static array. */
499 | char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
500 | char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
501 |
502 |
503 |
504 |
505 | const char* info_language_dialect_default = "INFO" ":" "dialect_default["
506 | #if __cplusplus > 201402L
507 | "17"
508 | #elif __cplusplus >= 201402L
509 | "14"
510 | #elif __cplusplus >= 201103L
511 | "11"
512 | #else
513 | "98"
514 | #endif
515 | "]";
516 |
517 | /*--------------------------------------------------------------------------*/
518 |
519 | int main(int argc, char* argv[])
520 | {
521 | int require = 0;
522 | require += info_compiler[argc];
523 | require += info_platform[argc];
524 | #ifdef COMPILER_VERSION_MAJOR
525 | require += info_version[argc];
526 | #endif
527 | #ifdef SIMULATE_ID
528 | require += info_simulate[argc];
529 | #endif
530 | #ifdef SIMULATE_VERSION_MAJOR
531 | require += info_simulate_version[argc];
532 | #endif
533 | #if defined(__CRAYXE) || defined(__CRAYXC)
534 | require += info_cray[argc];
535 | #endif
536 | require += info_language_dialect_default[argc];
537 | (void)argv;
538 | return require;
539 | }
540 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeFiles/3.8.2/CompilerIdC/CMakeCCompilerId.c:
--------------------------------------------------------------------------------
1 | #ifdef __cplusplus
2 | # error "A C++ compiler has been selected for C."
3 | #endif
4 |
5 | #if defined(__18CXX)
6 | # define ID_VOID_MAIN
7 | #endif
8 | #if defined(__CLASSIC_C__)
9 | /* cv-qualifiers did not exist in K&R C */
10 | # define const
11 | # define volatile
12 | #endif
13 |
14 |
15 | /* Version number components: V=Version, R=Revision, P=Patch
16 | Version date components: YYYY=Year, MM=Month, DD=Day */
17 |
18 | #if defined(__INTEL_COMPILER) || defined(__ICC)
19 | # define COMPILER_ID "Intel"
20 | # if defined(_MSC_VER)
21 | # define SIMULATE_ID "MSVC"
22 | # endif
23 | /* __INTEL_COMPILER = VRP */
24 | # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
25 | # define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
26 | # if defined(__INTEL_COMPILER_UPDATE)
27 | # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
28 | # else
29 | # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
30 | # endif
31 | # if defined(__INTEL_COMPILER_BUILD_DATE)
32 | /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
33 | # define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
34 | # endif
35 | # if defined(_MSC_VER)
36 | /* _MSC_VER = VVRR */
37 | # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
38 | # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
39 | # endif
40 |
41 | #elif defined(__PATHCC__)
42 | # define COMPILER_ID "PathScale"
43 | # define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
44 | # define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
45 | # if defined(__PATHCC_PATCHLEVEL__)
46 | # define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
47 | # endif
48 |
49 | #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
50 | # define COMPILER_ID "Embarcadero"
51 | # define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
52 | # define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
53 | # define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
54 |
55 | #elif defined(__BORLANDC__)
56 | # define COMPILER_ID "Borland"
57 | /* __BORLANDC__ = 0xVRR */
58 | # define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
59 | # define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
60 |
61 | #elif defined(__WATCOMC__) && __WATCOMC__ < 1200
62 | # define COMPILER_ID "Watcom"
63 | /* __WATCOMC__ = VVRR */
64 | # define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
65 | # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
66 | # if (__WATCOMC__ % 10) > 0
67 | # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
68 | # endif
69 |
70 | #elif defined(__WATCOMC__)
71 | # define COMPILER_ID "OpenWatcom"
72 | /* __WATCOMC__ = VVRP + 1100 */
73 | # define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
74 | # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
75 | # if (__WATCOMC__ % 10) > 0
76 | # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
77 | # endif
78 |
79 | #elif defined(__SUNPRO_C)
80 | # define COMPILER_ID "SunPro"
81 | # if __SUNPRO_C >= 0x5100
82 | /* __SUNPRO_C = 0xVRRP */
83 | # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
84 | # define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
85 | # define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
86 | # else
87 | /* __SUNPRO_CC = 0xVRP */
88 | # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
89 | # define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
90 | # define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
91 | # endif
92 |
93 | #elif defined(__HP_cc)
94 | # define COMPILER_ID "HP"
95 | /* __HP_cc = VVRRPP */
96 | # define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
97 | # define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
98 | # define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
99 |
100 | #elif defined(__DECC)
101 | # define COMPILER_ID "Compaq"
102 | /* __DECC_VER = VVRRTPPPP */
103 | # define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
104 | # define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
105 | # define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
106 |
107 | #elif defined(__IBMC__) && defined(__COMPILER_VER__)
108 | # define COMPILER_ID "zOS"
109 | /* __IBMC__ = VRP */
110 | # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
111 | # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
112 | # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
113 |
114 | #elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
115 | # define COMPILER_ID "XL"
116 | /* __IBMC__ = VRP */
117 | # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
118 | # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
119 | # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
120 |
121 | #elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
122 | # define COMPILER_ID "VisualAge"
123 | /* __IBMC__ = VRP */
124 | # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
125 | # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
126 | # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
127 |
128 | #elif defined(__PGI)
129 | # define COMPILER_ID "PGI"
130 | # define COMPILER_VERSION_MAJOR DEC(__PGIC__)
131 | # define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
132 | # if defined(__PGIC_PATCHLEVEL__)
133 | # define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
134 | # endif
135 |
136 | #elif defined(_CRAYC)
137 | # define COMPILER_ID "Cray"
138 | # define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
139 | # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
140 |
141 | #elif defined(__TI_COMPILER_VERSION__)
142 | # define COMPILER_ID "TI"
143 | /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
144 | # define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
145 | # define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
146 | # define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
147 |
148 | #elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
149 | # define COMPILER_ID "Fujitsu"
150 |
151 | #elif defined(__TINYC__)
152 | # define COMPILER_ID "TinyCC"
153 |
154 | #elif defined(__BCC__)
155 | # define COMPILER_ID "Bruce"
156 |
157 | #elif defined(__SCO_VERSION__)
158 | # define COMPILER_ID "SCO"
159 |
160 | #elif defined(__clang__) && defined(__apple_build_version__)
161 | # define COMPILER_ID "AppleClang"
162 | # if defined(_MSC_VER)
163 | # define SIMULATE_ID "MSVC"
164 | # endif
165 | # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
166 | # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
167 | # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
168 | # if defined(_MSC_VER)
169 | /* _MSC_VER = VVRR */
170 | # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
171 | # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
172 | # endif
173 | # define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
174 |
175 | #elif defined(__clang__)
176 | # define COMPILER_ID "Clang"
177 | # if defined(_MSC_VER)
178 | # define SIMULATE_ID "MSVC"
179 | # endif
180 | # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
181 | # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
182 | # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
183 | # if defined(_MSC_VER)
184 | /* _MSC_VER = VVRR */
185 | # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
186 | # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
187 | # endif
188 |
189 | #elif defined(__GNUC__)
190 | # define COMPILER_ID "GNU"
191 | # define COMPILER_VERSION_MAJOR DEC(__GNUC__)
192 | # if defined(__GNUC_MINOR__)
193 | # define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
194 | # endif
195 | # if defined(__GNUC_PATCHLEVEL__)
196 | # define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
197 | # endif
198 |
199 | #elif defined(_MSC_VER)
200 | # define COMPILER_ID "MSVC"
201 | /* _MSC_VER = VVRR */
202 | # define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
203 | # define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
204 | # if defined(_MSC_FULL_VER)
205 | # if _MSC_VER >= 1400
206 | /* _MSC_FULL_VER = VVRRPPPPP */
207 | # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
208 | # else
209 | /* _MSC_FULL_VER = VVRRPPPP */
210 | # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
211 | # endif
212 | # endif
213 | # if defined(_MSC_BUILD)
214 | # define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
215 | # endif
216 |
217 | #elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
218 | # define COMPILER_ID "ADSP"
219 | #if defined(__VISUALDSPVERSION__)
220 | /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
221 | # define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
222 | # define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
223 | # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
224 | #endif
225 |
226 | #elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
227 | # define COMPILER_ID "IAR"
228 |
229 | #elif defined(__ARMCC_VERSION)
230 | # define COMPILER_ID "ARMCC"
231 | #if __ARMCC_VERSION >= 1000000
232 | /* __ARMCC_VERSION = VRRPPPP */
233 | # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
234 | # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
235 | # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
236 | #else
237 | /* __ARMCC_VERSION = VRPPPP */
238 | # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
239 | # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
240 | # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
241 | #endif
242 |
243 |
244 | #elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
245 | # define COMPILER_ID "SDCC"
246 | # if defined(__SDCC_VERSION_MAJOR)
247 | # define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
248 | # define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
249 | # define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
250 | # else
251 | /* SDCC = VRP */
252 | # define COMPILER_VERSION_MAJOR DEC(SDCC/100)
253 | # define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
254 | # define COMPILER_VERSION_PATCH DEC(SDCC % 10)
255 | # endif
256 |
257 | #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
258 | # define COMPILER_ID "MIPSpro"
259 | # if defined(_SGI_COMPILER_VERSION)
260 | /* _SGI_COMPILER_VERSION = VRP */
261 | # define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
262 | # define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
263 | # define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
264 | # else
265 | /* _COMPILER_VERSION = VRP */
266 | # define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
267 | # define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
268 | # define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
269 | # endif
270 |
271 |
272 | /* These compilers are either not known or too old to define an
273 | identification macro. Try to identify the platform and guess that
274 | it is the native compiler. */
275 | #elif defined(__sgi)
276 | # define COMPILER_ID "MIPSpro"
277 |
278 | #elif defined(__hpux) || defined(__hpua)
279 | # define COMPILER_ID "HP"
280 |
281 | #else /* unknown compiler */
282 | # define COMPILER_ID ""
283 | #endif
284 |
285 | /* Construct the string literal in pieces to prevent the source from
286 | getting matched. Store it in a pointer rather than an array
287 | because some compilers will just produce instructions to fill the
288 | array rather than assigning a pointer to a static array. */
289 | char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
290 | #ifdef SIMULATE_ID
291 | char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
292 | #endif
293 |
294 | #ifdef __QNXNTO__
295 | char const* qnxnto = "INFO" ":" "qnxnto[]";
296 | #endif
297 |
298 | #if defined(__CRAYXE) || defined(__CRAYXC)
299 | char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
300 | #endif
301 |
302 | #define STRINGIFY_HELPER(X) #X
303 | #define STRINGIFY(X) STRINGIFY_HELPER(X)
304 |
305 | /* Identify known platforms by name. */
306 | #if defined(__linux) || defined(__linux__) || defined(linux)
307 | # define PLATFORM_ID "Linux"
308 |
309 | #elif defined(__CYGWIN__)
310 | # define PLATFORM_ID "Cygwin"
311 |
312 | #elif defined(__MINGW32__)
313 | # define PLATFORM_ID "MinGW"
314 |
315 | #elif defined(__APPLE__)
316 | # define PLATFORM_ID "Darwin"
317 |
318 | #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
319 | # define PLATFORM_ID "Windows"
320 |
321 | #elif defined(__FreeBSD__) || defined(__FreeBSD)
322 | # define PLATFORM_ID "FreeBSD"
323 |
324 | #elif defined(__NetBSD__) || defined(__NetBSD)
325 | # define PLATFORM_ID "NetBSD"
326 |
327 | #elif defined(__OpenBSD__) || defined(__OPENBSD)
328 | # define PLATFORM_ID "OpenBSD"
329 |
330 | #elif defined(__sun) || defined(sun)
331 | # define PLATFORM_ID "SunOS"
332 |
333 | #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
334 | # define PLATFORM_ID "AIX"
335 |
336 | #elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
337 | # define PLATFORM_ID "IRIX"
338 |
339 | #elif defined(__hpux) || defined(__hpux__)
340 | # define PLATFORM_ID "HP-UX"
341 |
342 | #elif defined(__HAIKU__)
343 | # define PLATFORM_ID "Haiku"
344 |
345 | #elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
346 | # define PLATFORM_ID "BeOS"
347 |
348 | #elif defined(__QNX__) || defined(__QNXNTO__)
349 | # define PLATFORM_ID "QNX"
350 |
351 | #elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
352 | # define PLATFORM_ID "Tru64"
353 |
354 | #elif defined(__riscos) || defined(__riscos__)
355 | # define PLATFORM_ID "RISCos"
356 |
357 | #elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
358 | # define PLATFORM_ID "SINIX"
359 |
360 | #elif defined(__UNIX_SV__)
361 | # define PLATFORM_ID "UNIX_SV"
362 |
363 | #elif defined(__bsdos__)
364 | # define PLATFORM_ID "BSDOS"
365 |
366 | #elif defined(_MPRAS) || defined(MPRAS)
367 | # define PLATFORM_ID "MP-RAS"
368 |
369 | #elif defined(__osf) || defined(__osf__)
370 | # define PLATFORM_ID "OSF1"
371 |
372 | #elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
373 | # define PLATFORM_ID "SCO_SV"
374 |
375 | #elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
376 | # define PLATFORM_ID "ULTRIX"
377 |
378 | #elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
379 | # define PLATFORM_ID "Xenix"
380 |
381 | #elif defined(__WATCOMC__)
382 | # if defined(__LINUX__)
383 | # define PLATFORM_ID "Linux"
384 |
385 | # elif defined(__DOS__)
386 | # define PLATFORM_ID "DOS"
387 |
388 | # elif defined(__OS2__)
389 | # define PLATFORM_ID "OS2"
390 |
391 | # elif defined(__WINDOWS__)
392 | # define PLATFORM_ID "Windows3x"
393 |
394 | # else /* unknown platform */
395 | # define PLATFORM_ID
396 | # endif
397 |
398 | #else /* unknown platform */
399 | # define PLATFORM_ID
400 |
401 | #endif
402 |
403 | /* For windows compilers MSVC and Intel we can determine
404 | the architecture of the compiler being used. This is because
405 | the compilers do not have flags that can change the architecture,
406 | but rather depend on which compiler is being used
407 | */
408 | #if defined(_WIN32) && defined(_MSC_VER)
409 | # if defined(_M_IA64)
410 | # define ARCHITECTURE_ID "IA64"
411 |
412 | # elif defined(_M_X64) || defined(_M_AMD64)
413 | # define ARCHITECTURE_ID "x64"
414 |
415 | # elif defined(_M_IX86)
416 | # define ARCHITECTURE_ID "X86"
417 |
418 | # elif defined(_M_ARM)
419 | # if _M_ARM == 4
420 | # define ARCHITECTURE_ID "ARMV4I"
421 | # elif _M_ARM == 5
422 | # define ARCHITECTURE_ID "ARMV5I"
423 | # else
424 | # define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
425 | # endif
426 |
427 | # elif defined(_M_MIPS)
428 | # define ARCHITECTURE_ID "MIPS"
429 |
430 | # elif defined(_M_SH)
431 | # define ARCHITECTURE_ID "SHx"
432 |
433 | # else /* unknown architecture */
434 | # define ARCHITECTURE_ID ""
435 | # endif
436 |
437 | #elif defined(__WATCOMC__)
438 | # if defined(_M_I86)
439 | # define ARCHITECTURE_ID "I86"
440 |
441 | # elif defined(_M_IX86)
442 | # define ARCHITECTURE_ID "X86"
443 |
444 | # else /* unknown architecture */
445 | # define ARCHITECTURE_ID ""
446 | # endif
447 |
448 | #else
449 | # define ARCHITECTURE_ID
450 | #endif
451 |
452 | /* Convert integer to decimal digit literals. */
453 | #define DEC(n) \
454 | ('0' + (((n) / 10000000)%10)), \
455 | ('0' + (((n) / 1000000)%10)), \
456 | ('0' + (((n) / 100000)%10)), \
457 | ('0' + (((n) / 10000)%10)), \
458 | ('0' + (((n) / 1000)%10)), \
459 | ('0' + (((n) / 100)%10)), \
460 | ('0' + (((n) / 10)%10)), \
461 | ('0' + ((n) % 10))
462 |
463 | /* Convert integer to hex digit literals. */
464 | #define HEX(n) \
465 | ('0' + ((n)>>28 & 0xF)), \
466 | ('0' + ((n)>>24 & 0xF)), \
467 | ('0' + ((n)>>20 & 0xF)), \
468 | ('0' + ((n)>>16 & 0xF)), \
469 | ('0' + ((n)>>12 & 0xF)), \
470 | ('0' + ((n)>>8 & 0xF)), \
471 | ('0' + ((n)>>4 & 0xF)), \
472 | ('0' + ((n) & 0xF))
473 |
474 | /* Construct a string literal encoding the version number components. */
475 | #ifdef COMPILER_VERSION_MAJOR
476 | char const info_version[] = {
477 | 'I', 'N', 'F', 'O', ':',
478 | 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
479 | COMPILER_VERSION_MAJOR,
480 | # ifdef COMPILER_VERSION_MINOR
481 | '.', COMPILER_VERSION_MINOR,
482 | # ifdef COMPILER_VERSION_PATCH
483 | '.', COMPILER_VERSION_PATCH,
484 | # ifdef COMPILER_VERSION_TWEAK
485 | '.', COMPILER_VERSION_TWEAK,
486 | # endif
487 | # endif
488 | # endif
489 | ']','\0'};
490 | #endif
491 |
492 | /* Construct a string literal encoding the version number components. */
493 | #ifdef SIMULATE_VERSION_MAJOR
494 | char const info_simulate_version[] = {
495 | 'I', 'N', 'F', 'O', ':',
496 | 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
497 | SIMULATE_VERSION_MAJOR,
498 | # ifdef SIMULATE_VERSION_MINOR
499 | '.', SIMULATE_VERSION_MINOR,
500 | # ifdef SIMULATE_VERSION_PATCH
501 | '.', SIMULATE_VERSION_PATCH,
502 | # ifdef SIMULATE_VERSION_TWEAK
503 | '.', SIMULATE_VERSION_TWEAK,
504 | # endif
505 | # endif
506 | # endif
507 | ']','\0'};
508 | #endif
509 |
510 | /* Construct the string literal in pieces to prevent the source from
511 | getting matched. Store it in a pointer rather than an array
512 | because some compilers will just produce instructions to fill the
513 | array rather than assigning a pointer to a static array. */
514 | char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
515 | char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
516 |
517 |
518 |
519 |
520 | #if !defined(__STDC__)
521 | # if defined(_MSC_VER) && !defined(__clang__)
522 | # define C_DIALECT "90"
523 | # else
524 | # define C_DIALECT
525 | # endif
526 | #elif __STDC_VERSION__ >= 201000L
527 | # define C_DIALECT "11"
528 | #elif __STDC_VERSION__ >= 199901L
529 | # define C_DIALECT "99"
530 | #else
531 | # define C_DIALECT "90"
532 | #endif
533 | const char* info_language_dialect_default =
534 | "INFO" ":" "dialect_default[" C_DIALECT "]";
535 |
536 | /*--------------------------------------------------------------------------*/
537 |
538 | #ifdef ID_VOID_MAIN
539 | void main() {}
540 | #else
541 | # if defined(__CLASSIC_C__)
542 | int main(argc, argv) int argc; char *argv[];
543 | # else
544 | int main(int argc, char* argv[])
545 | # endif
546 | {
547 | int require = 0;
548 | require += info_compiler[argc];
549 | require += info_platform[argc];
550 | require += info_arch[argc];
551 | #ifdef COMPILER_VERSION_MAJOR
552 | require += info_version[argc];
553 | #endif
554 | #ifdef SIMULATE_ID
555 | require += info_simulate[argc];
556 | #endif
557 | #ifdef SIMULATE_VERSION_MAJOR
558 | require += info_simulate_version[argc];
559 | #endif
560 | #if defined(__CRAYXE) || defined(__CRAYXC)
561 | require += info_cray[argc];
562 | #endif
563 | require += info_language_dialect_default[argc];
564 | (void)argv;
565 | return require;
566 | }
567 | #endif
568 |
--------------------------------------------------------------------------------
/.idea/workspace.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
75 |
76 |
77 |
78 |
79 | true
80 | DEFINITION_ORDER
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 | 1521089591220
159 |
160 |
161 | 1521089591220
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 |
303 |
304 |
305 |
306 |
307 |
308 |
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
332 |
333 |
334 |
335 |
336 |
337 |
338 |
339 |
340 |
341 |
342 |
343 |
344 |
345 |
346 |
347 |
348 |
349 |
350 |
351 |
352 |
353 |
354 |
355 |
356 |
357 |
358 |
359 |
360 |
361 |
362 |
363 |
364 |
365 |
366 |
367 |
368 |
369 |
370 |
371 |
372 |
373 |
374 |
375 |
376 |
377 |
378 |
379 |
380 |
381 |
382 |
383 |
384 |
385 |
386 |
387 |
388 |
389 |
390 |
391 |
392 |
393 |
394 |
395 |
396 |
397 |
398 |
399 |
400 |
401 |
402 |
403 |
404 |
405 |
406 |
407 |
408 |
409 |
410 |
411 |
412 |
--------------------------------------------------------------------------------
/cmake-build-debug/CMakeCache.txt:
--------------------------------------------------------------------------------
1 | # This is the CMakeCache file.
2 | # For build in directory: /cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug
3 | # It was generated by CMake: /cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/bin/cmake.exe
4 | # You can edit this file to change values found and used by cmake.
5 | # If you do not want to change any of the values, simply exit the editor.
6 | # If you do want to change a value, simply edit, save, and exit the editor.
7 | # The syntax for the file is as follows:
8 | # KEY:TYPE=VALUE
9 | # KEY is the name of a variable in the cache.
10 | # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
11 | # VALUE is the current value for the KEY.
12 |
13 | ########################
14 | # EXTERNAL cache entries
15 | ########################
16 |
17 | //Path to a program.
18 | CMAKE_AR:FILEPATH=/usr/bin/ar.exe
19 |
20 | //Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
21 | // CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
22 | CMAKE_BUILD_TYPE:STRING=Debug
23 |
24 | //The CodeBlocks executable
25 | CMAKE_CODEBLOCKS_EXECUTABLE:FILEPATH=CMAKE_CODEBLOCKS_EXECUTABLE-NOTFOUND
26 |
27 | //Additional command line arguments when CodeBlocks invokes make.
28 | // Enter e.g. -j to get parallel builds
29 | CMAKE_CODEBLOCKS_MAKE_ARGUMENTS:STRING=-j4
30 |
31 | //Enable/Disable color output during build.
32 | CMAKE_COLOR_MAKEFILE:BOOL=ON
33 |
34 | //CXX compiler
35 | CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++.exe
36 |
37 | //Flags used by the compiler during all build types.
38 | CMAKE_CXX_FLAGS:STRING=
39 |
40 | //Flags used by the compiler during debug builds.
41 | CMAKE_CXX_FLAGS_DEBUG:STRING=-g
42 |
43 | //Flags used by the compiler during release builds for minimum
44 | // size.
45 | CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
46 |
47 | //Flags used by the compiler during release builds.
48 | CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
49 |
50 | //Flags used by the compiler during release builds with debug info.
51 | CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
52 |
53 | //C compiler
54 | CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
55 |
56 | //Flags used by the compiler during all build types.
57 | CMAKE_C_FLAGS:STRING=
58 |
59 | //Flags used by the compiler during debug builds.
60 | CMAKE_C_FLAGS_DEBUG:STRING=-g
61 |
62 | //Flags used by the compiler during release builds for minimum
63 | // size.
64 | CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
65 |
66 | //Flags used by the compiler during release builds.
67 | CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
68 |
69 | //Flags used by the compiler during release builds with debug info.
70 | CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
71 |
72 | //Flags used by the linker.
73 | CMAKE_EXE_LINKER_FLAGS:STRING=-Wl,--enable-auto-import
74 |
75 | //Flags used by the linker during debug builds.
76 | CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
77 |
78 | //Flags used by the linker during release minsize builds.
79 | CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
80 |
81 | //Flags used by the linker during release builds.
82 | CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
83 |
84 | //Flags used by the linker during Release with Debug Info builds.
85 | CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
86 |
87 | //Enable/Disable output of compile commands during generation.
88 | CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
89 |
90 | //Install path prefix, prepended onto install directories.
91 | CMAKE_INSTALL_PREFIX:PATH=/usr/local
92 |
93 | //Path to a program.
94 | CMAKE_LINKER:FILEPATH=/usr/bin/ld.exe
95 |
96 | //Path to a program.
97 | CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make.exe
98 |
99 | //Flags used by the linker during the creation of modules.
100 | CMAKE_MODULE_LINKER_FLAGS:STRING=
101 |
102 | //Flags used by the linker during debug builds.
103 | CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
104 |
105 | //Flags used by the linker during release minsize builds.
106 | CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
107 |
108 | //Flags used by the linker during release builds.
109 | CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
110 |
111 | //Flags used by the linker during Release with Debug Info builds.
112 | CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
113 |
114 | //Path to a program.
115 | CMAKE_NM:FILEPATH=/usr/bin/nm.exe
116 |
117 | //Path to a program.
118 | CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy.exe
119 |
120 | //Path to a program.
121 | CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump.exe
122 |
123 | //Value Computed by CMake
124 | CMAKE_PROJECT_NAME:STATIC=RevisionCode
125 |
126 | //Path to a program.
127 | CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib.exe
128 |
129 | //RC compiler
130 | CMAKE_RC_COMPILER:FILEPATH=/usr/bin/windres.exe
131 |
132 | //Flags for Windows Resource Compiler.
133 | CMAKE_RC_FLAGS:STRING=
134 |
135 | //Flags for Windows Resource Compiler during debug builds.
136 | CMAKE_RC_FLAGS_DEBUG:STRING=
137 |
138 | //Flags for Windows Resource Compiler during release builds for
139 | // minimum size.
140 | CMAKE_RC_FLAGS_MINSIZEREL:STRING=
141 |
142 | //Flags for Windows Resource Compiler during release builds.
143 | CMAKE_RC_FLAGS_RELEASE:STRING=
144 |
145 | //Flags for Windows Resource Compiler during release builds with
146 | // debug info.
147 | CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING=
148 |
149 | //Flags used by the linker during the creation of dll's.
150 | CMAKE_SHARED_LINKER_FLAGS:STRING=
151 |
152 | //Flags used by the linker during debug builds.
153 | CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
154 |
155 | //Flags used by the linker during release minsize builds.
156 | CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
157 |
158 | //Flags used by the linker during release builds.
159 | CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
160 |
161 | //Flags used by the linker during Release with Debug Info builds.
162 | CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
163 |
164 | //If set, runtime paths are not added when installing shared libraries,
165 | // but are added when building.
166 | CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
167 |
168 | //If set, runtime paths are not added when using shared libraries.
169 | CMAKE_SKIP_RPATH:BOOL=NO
170 |
171 | //Flags used by the linker during the creation of static libraries.
172 | CMAKE_STATIC_LINKER_FLAGS:STRING=
173 |
174 | //Flags used by the linker during debug builds.
175 | CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
176 |
177 | //Flags used by the linker during release minsize builds.
178 | CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
179 |
180 | //Flags used by the linker during release builds.
181 | CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
182 |
183 | //Flags used by the linker during Release with Debug Info builds.
184 | CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
185 |
186 | //Path to a program.
187 | CMAKE_STRIP:FILEPATH=/usr/bin/strip.exe
188 |
189 | //If this value is on, makefiles will be generated without the
190 | // .SILENT directive, and all commands will be echoed to the console
191 | // during the make. This is useful for debugging only. With Visual
192 | // Studio IDE projects all commands are done without /nologo.
193 | CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
194 |
195 | //Path to a program.
196 | ProcessorCount_cmd_getconf:FILEPATH=/usr/bin/getconf.exe
197 |
198 | //Path to a program.
199 | ProcessorCount_cmd_sysctl:FILEPATH=ProcessorCount_cmd_sysctl-NOTFOUND
200 |
201 | //Value Computed by CMake
202 | RevisionCode_BINARY_DIR:STATIC=/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug
203 |
204 | //Value Computed by CMake
205 | RevisionCode_SOURCE_DIR:STATIC=/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode
206 |
207 |
208 | ########################
209 | # INTERNAL cache entries
210 | ########################
211 |
212 | //ADVANCED property for variable: CMAKE_AR
213 | CMAKE_AR-ADVANCED:INTERNAL=1
214 | //This is the directory where this CMakeCache.txt was created
215 | CMAKE_CACHEFILE_DIR:INTERNAL=/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode/cmake-build-debug
216 | //Major version of cmake used to create the current loaded cache
217 | CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
218 | //Minor version of cmake used to create the current loaded cache
219 | CMAKE_CACHE_MINOR_VERSION:INTERNAL=8
220 | //Patch version of cmake used to create the current loaded cache
221 | CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
222 | //ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
223 | CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
224 | //Path to CMake executable.
225 | CMAKE_COMMAND:INTERNAL=/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/bin/cmake.exe
226 | //Path to cpack program executable.
227 | CMAKE_CPACK_COMMAND:INTERNAL=/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/bin/cpack.exe
228 | //Path to ctest program executable.
229 | CMAKE_CTEST_COMMAND:INTERNAL=/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/bin/ctest.exe
230 | //ADVANCED property for variable: CMAKE_CXX_COMPILER
231 | CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
232 | //ADVANCED property for variable: CMAKE_CXX_FLAGS
233 | CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
234 | //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
235 | CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
236 | //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
237 | CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
238 | //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
239 | CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
240 | //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
241 | CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
242 | //ADVANCED property for variable: CMAKE_C_COMPILER
243 | CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
244 | //ADVANCED property for variable: CMAKE_C_FLAGS
245 | CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
246 | //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
247 | CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
248 | //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
249 | CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
250 | //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
251 | CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
252 | //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
253 | CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
254 | //Executable file format
255 | CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
256 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
257 | CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
258 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
259 | CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
260 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
261 | CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
262 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
263 | CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
264 | //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
265 | CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
266 | //ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
267 | CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
268 | //Name of external makefile project generator.
269 | CMAKE_EXTRA_GENERATOR:INTERNAL=CodeBlocks
270 | //CXX compiler system defined macros
271 | CMAKE_EXTRA_GENERATOR_CXX_SYSTEM_DEFINED_MACROS:INTERNAL=__STDC__;1;__STDC_VERSION__;201112L;__STDC_UTF_16__;1;__STDC_UTF_32__;1;__STDC_HOSTED__;1;__GNUC__;6;__GNUC_MINOR__;4;__GNUC_PATCHLEVEL__; ;__VERSION__;"6.4.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;1010;__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;__INTMAX_MAX__;0x7fffffffffffffffL;__INTMAX_C(c);c ## L;__UINTMAX_MAX__;0xffffffffffffffffUL;__UINTMAX_C(c);c ## UL;__SIG_ATOMIC_MAX__;0x7fffffff;__SIG_ATOMIC_MIN__;(-__SIG_ATOMIC_MAX__ - 1);__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_LEAST16_MAX__;0x7fff;__INT16_C(c);c;__INT_LEAST32_MAX__;0x7fffffff;__INT32_C(c);c;__INT_LEAST64_MAX__;0x7fffffffffffffffL;__INT64_C(c);c ## L;__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_FAST16_MAX__;0x7fffffffffffffffL;__INT_FAST32_MAX__;0x7fffffffffffffffL;__INT_FAST64_MAX__;0x7fffffffffffffffL;__UINT_FAST8_MAX__;0xff;__UINT_FAST16_MAX__;0xffffffffffffffffUL;__UINT_FAST32_MAX__;0xffffffffffffffffUL;__UINT_FAST64_MAX__;0xffffffffffffffffUL;__INTPTR_MAX__;0x7fffffffffffffffL;__UINTPTR_MAX__;0xffffffffffffffffUL;__GCC_IEC_559;2;__GCC_IEC_559_COMPLEX;2;__FLT_EVAL_METHOD__; ;__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.40282346638528859812e+38F;__FLT_MIN__;1.17549435082228750797e-38F;__FLT_EPSILON__;1.19209289550781250000e-7F;__FLT_DENORM_MIN__;1.40129846432481707092e-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.79769313486231570815e+308L);__DBL_MIN__;((double)2.22507385850720138309e-308L);__DBL_EPSILON__;((double)2.22044604925031308085e-16L);__DBL_DENORM_MIN__;((double)4.94065645841246544177e-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_MAX__;1.18973149535723176502e+4932L;__LDBL_MIN__;3.36210314311209350626e-4932L;__LDBL_EPSILON__;1.08420217248550443401e-19L;__LDBL_DENORM_MIN__;3.64519953188247460253e-4951L;__LDBL_HAS_DENORM__;1;__LDBL_HAS_INFINITY__;1;__LDBL_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;__declspec(x);__attribute__((x));__DECIMAL_BID_FORMAT__;1;unix;1;__STDC__;1;__cplusplus;201402L;__STDC_UTF_16__;1;__STDC_UTF_32__;1;__STDC_HOSTED__;1;__GNUC__;6;__GNUC_MINOR__;4;__GNUC_PATCHLEVEL__; ;__VERSION__;"6.4.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;__GNUG__;6;__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_WEAK__;1;__DEPRECATED;1;__GXX_RTTI;1;__cpp_rtti;199711;__GXX_EXPERIMENTAL_CXX0X__;1;__cpp_binary_literals;201304;__cpp_hex_float;201603;__cpp_runtime_arrays;198712;__cpp_unicode_characters;200704;__cpp_raw_strings;200710;__cpp_unicode_literals;200710;__cpp_user_defined_literals;200809;__cpp_lambdas;200907;__cpp_range_based_for;200907;__cpp_static_assert;200410;__cpp_decltype;200707;__cpp_attributes;200809;__cpp_rvalue_reference;200610;__cpp_rvalue_references;200610;__cpp_variadic_templates;200704;__cpp_initializer_lists;200806;__cpp_delegating_constructors;200604;__cpp_nsdmi;200809;__cpp_inheriting_constructors;200802;__cpp_ref_qualifiers;200710;__cpp_alias_templates;200704;__cpp_return_type_deduction;201304;__cpp_init_captures;201304;__cpp_generic_lambdas;201304;__cpp_constexpr;201304;__cpp_decltype_auto;201304;__cpp_aggregate_nsdmi;201304;__cpp_variable_templates;201304;__cpp_digit_separators;201309;__cpp_sized_deallocation;201309;__EXCEPTIONS;1;__cpp_exceptions;199711;__GXX_ABI_VERSION;1010;__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;__GLIBCXX_TYPE_INT_N_0;__int128;__GLIBCXX_BITSIZE_INT_N_0;128;__INTMAX_MAX__;0x7fffffffffffffffL;__INTMAX_C(c);c ## L;__UINTMAX_MAX__;0xffffffffffffffffUL;__UINTMAX_C(c);c ## UL;__SIG_ATOMIC_MAX__;0x7fffffff;__SIG_ATOMIC_MIN__;(-__SIG_ATOMIC_MAX__ - 1);__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_LEAST16_MAX__;0x7fff;__INT16_C(c);c;__INT_LEAST32_MAX__;0x7fffffff;__INT32_C(c);c;__INT_LEAST64_MAX__;0x7fffffffffffffffL;__INT64_C(c);c ## L;__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_FAST16_MAX__;0x7fffffffffffffffL;__INT_FAST32_MAX__;0x7fffffffffffffffL;__INT_FAST64_MAX__;0x7fffffffffffffffL;__UINT_FAST8_MAX__;0xff;__UINT_FAST16_MAX__;0xffffffffffffffffUL;__UINT_FAST32_MAX__;0xffffffffffffffffUL;__UINT_FAST64_MAX__;0xffffffffffffffffUL;__INTPTR_MAX__;0x7fffffffffffffffL;__UINTPTR_MAX__;0xffffffffffffffffUL;__GCC_IEC_559;2;__GCC_IEC_559_COMPLEX;2;__FLT_EVAL_METHOD__; ;__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.40282346638528859812e+38F;__FLT_MIN__;1.17549435082228750797e-38F;__FLT_EPSILON__;1.19209289550781250000e-7F;__FLT_DENORM_MIN__;1.40129846432481707092e-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.79769313486231570815e+308L);__DBL_MIN__;double(2.22507385850720138309e-308L);__DBL_EPSILON__;double(2.22044604925031308085e-16L);__DBL_DENORM_MIN__;double(4.94065645841246544177e-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_MAX__;1.18973149535723176502e+4932L;__LDBL_MIN__;3.36210314311209350626e-4932L;__LDBL_EPSILON__;1.08420217248550443401e-19L;__LDBL_DENORM_MIN__;3.64519953188247460253e-4951L;__LDBL_HAS_DENORM__;1;__LDBL_HAS_INFINITY__;1;__LDBL_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;__WCHAR_UNSIGNED__;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;__declspec(x);__attribute__((x));__DECIMAL_BID_FORMAT__;1;unix;1
272 | //CXX compiler system include directories
273 | CMAKE_EXTRA_GENERATOR_CXX_SYSTEM_INCLUDE_DIRS:INTERNAL=/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/include/c++;/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/include/c++/x86_64-pc-cygwin;/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/include/c++/backward;/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/include;/usr/include;/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../lib/../include/w32api
274 | //C compiler system defined macros
275 | 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__;6;__GNUC_MINOR__;4;__GNUC_PATCHLEVEL__; ;__VERSION__;"6.4.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;1010;__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;__INTMAX_MAX__;0x7fffffffffffffffL;__INTMAX_C(c);c ## L;__UINTMAX_MAX__;0xffffffffffffffffUL;__UINTMAX_C(c);c ## UL;__SIG_ATOMIC_MAX__;0x7fffffff;__SIG_ATOMIC_MIN__;(-__SIG_ATOMIC_MAX__ - 1);__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_LEAST16_MAX__;0x7fff;__INT16_C(c);c;__INT_LEAST32_MAX__;0x7fffffff;__INT32_C(c);c;__INT_LEAST64_MAX__;0x7fffffffffffffffL;__INT64_C(c);c ## L;__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_FAST16_MAX__;0x7fffffffffffffffL;__INT_FAST32_MAX__;0x7fffffffffffffffL;__INT_FAST64_MAX__;0x7fffffffffffffffL;__UINT_FAST8_MAX__;0xff;__UINT_FAST16_MAX__;0xffffffffffffffffUL;__UINT_FAST32_MAX__;0xffffffffffffffffUL;__UINT_FAST64_MAX__;0xffffffffffffffffUL;__INTPTR_MAX__;0x7fffffffffffffffL;__UINTPTR_MAX__;0xffffffffffffffffUL;__GCC_IEC_559;2;__GCC_IEC_559_COMPLEX;2;__FLT_EVAL_METHOD__; ;__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.40282346638528859812e+38F;__FLT_MIN__;1.17549435082228750797e-38F;__FLT_EPSILON__;1.19209289550781250000e-7F;__FLT_DENORM_MIN__;1.40129846432481707092e-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.79769313486231570815e+308L);__DBL_MIN__;((double)2.22507385850720138309e-308L);__DBL_EPSILON__;((double)2.22044604925031308085e-16L);__DBL_DENORM_MIN__;((double)4.94065645841246544177e-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_MAX__;1.18973149535723176502e+4932L;__LDBL_MIN__;3.36210314311209350626e-4932L;__LDBL_EPSILON__;1.08420217248550443401e-19L;__LDBL_DENORM_MIN__;3.64519953188247460253e-4951L;__LDBL_HAS_DENORM__;1;__LDBL_HAS_INFINITY__;1;__LDBL_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;__declspec(x);__attribute__((x));__DECIMAL_BID_FORMAT__;1;unix;1
276 | //C compiler system include directories
277 | CMAKE_EXTRA_GENERATOR_C_SYSTEM_INCLUDE_DIRS:INTERNAL=/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/include;/usr/include;/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../lib/../include/w32api
278 | //Name of generator.
279 | CMAKE_GENERATOR:INTERNAL=Unix Makefiles
280 | //Name of generator platform.
281 | CMAKE_GENERATOR_PLATFORM:INTERNAL=
282 | //Name of generator toolset.
283 | CMAKE_GENERATOR_TOOLSET:INTERNAL=
284 | //Source directory with the top level CMakeLists.txt file for this
285 | // project
286 | CMAKE_HOME_DIRECTORY:INTERNAL=/cygdrive/d/Documents/Makerere/2017-2018 Fundamentals of Prorgramming/test_code/Cplusplus_programming/RevisionCode
287 | //ADVANCED property for variable: CMAKE_LINKER
288 | CMAKE_LINKER-ADVANCED:INTERNAL=1
289 | //ADVANCED property for variable: CMAKE_MAKE_PROGRAM
290 | CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
291 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
292 | CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
293 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
294 | CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
295 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
296 | CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
297 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
298 | CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
299 | //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
300 | CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
301 | //ADVANCED property for variable: CMAKE_NM
302 | CMAKE_NM-ADVANCED:INTERNAL=1
303 | //number of local generators
304 | CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
305 | //ADVANCED property for variable: CMAKE_OBJCOPY
306 | CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
307 | //ADVANCED property for variable: CMAKE_OBJDUMP
308 | CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
309 | //Platform information initialized
310 | CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
311 | //ADVANCED property for variable: CMAKE_RANLIB
312 | CMAKE_RANLIB-ADVANCED:INTERNAL=1
313 | //ADVANCED property for variable: CMAKE_RC_COMPILER
314 | CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
315 | CMAKE_RC_COMPILER_WORKS:INTERNAL=1
316 | //ADVANCED property for variable: CMAKE_RC_FLAGS
317 | CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
318 | //ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG
319 | CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
320 | //ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL
321 | CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
322 | //ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE
323 | CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
324 | //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO
325 | CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
326 | //Path to CMake installation.
327 | CMAKE_ROOT:INTERNAL=/cygdrive/c/Users/Ephraim Malinga/.CLion2017.2/system/cygwin_cmake/share/cmake-3.8.2
328 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
329 | CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
330 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
331 | CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
332 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
333 | CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
334 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
335 | CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
336 | //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
337 | CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
338 | //ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
339 | CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
340 | //ADVANCED property for variable: CMAKE_SKIP_RPATH
341 | CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
342 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
343 | CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
344 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
345 | CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
346 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
347 | CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
348 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
349 | CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
350 | //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
351 | CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
352 | //ADVANCED property for variable: CMAKE_STRIP
353 | CMAKE_STRIP-ADVANCED:INTERNAL=1
354 | //uname command
355 | CMAKE_UNAME:INTERNAL=/usr/bin/uname.exe
356 | //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
357 | CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
358 | //ADVANCED property for variable: ProcessorCount_cmd_getconf
359 | ProcessorCount_cmd_getconf-ADVANCED:INTERNAL=1
360 | //ADVANCED property for variable: ProcessorCount_cmd_sysctl
361 | ProcessorCount_cmd_sysctl-ADVANCED:INTERNAL=1
362 |
363 |
--------------------------------------------------------------------------------