From 29771a3cdcd9d406f77d7db04eea5c936090aa66 Mon Sep 17 00:00:00 2001 From: Dhruv Date: Sun, 8 Sep 2024 16:24:38 -0400 Subject: [PATCH 1/4] l2p1 --- dhruv/lab1/CMakeLists.txt | 3 + dhruv/lab1/src/CMakeCache.txt | 327 ++++++++ .../CMakeFiles/3.22.1/CMakeCXXCompiler.cmake | 83 ++ .../3.22.1/CMakeDetermineCompilerABI_CXX.bin | Bin 0 -> 15992 bytes .../src/CMakeFiles/3.22.1/CMakeSystem.cmake | 15 + .../CompilerIdCXX/CMakeCXXCompilerId.cpp | 791 ++++++++++++++++++ .../src/CMakeFiles/3.22.1/CompilerIdCXX/a.out | Bin 0 -> 16096 bytes .../CMakeDirectoryInformation.cmake | 16 + dhruv/lab1/src/CMakeFiles/CMakeOutput.log | 230 +++++ dhruv/lab1/src/CMakeFiles/Makefile.cmake | 43 + dhruv/lab1/src/CMakeFiles/Makefile2 | 112 +++ .../lab1/src/CMakeFiles/TargetDirectories.txt | 3 + dhruv/lab1/src/CMakeFiles/cmake.check_cache | 1 + .../src/CMakeFiles/part1.dir/DependInfo.cmake | 19 + .../lab1/src/CMakeFiles/part1.dir/build.make | 110 +++ .../CMakeFiles/part1.dir/cmake_clean.cmake | 11 + .../CMakeFiles/part1.dir/compiler_depend.make | 2 + .../CMakeFiles/part1.dir/compiler_depend.ts | 2 + .../lab1/src/CMakeFiles/part1.dir/depend.make | 2 + .../lab1/src/CMakeFiles/part1.dir/flags.make | 10 + dhruv/lab1/src/CMakeFiles/part1.dir/link.txt | 1 + .../lab1/src/CMakeFiles/part1.dir/main.cpp.o | Bin 0 -> 2552 bytes .../src/CMakeFiles/part1.dir/main.cpp.o.d | 147 ++++ .../src/CMakeFiles/part1.dir/progress.make | 3 + dhruv/lab1/src/CMakeFiles/progress.marks | 1 + .../src/CMakeFiles/test.dir/DependInfo.cmake | 19 + dhruv/lab1/src/CMakeFiles/test.dir/build.make | 110 +++ .../src/CMakeFiles/test.dir/cmake_clean.cmake | 11 + .../CMakeFiles/test.dir/compiler_depend.make | 2 + .../CMakeFiles/test.dir/compiler_depend.ts | 2 + .../lab1/src/CMakeFiles/test.dir/depend.make | 2 + dhruv/lab1/src/CMakeFiles/test.dir/flags.make | 10 + dhruv/lab1/src/CMakeFiles/test.dir/link.txt | 1 + dhruv/lab1/src/CMakeFiles/test.dir/main.cpp.o | Bin 0 -> 2552 bytes .../lab1/src/CMakeFiles/test.dir/main.cpp.o.d | 147 ++++ .../src/CMakeFiles/test.dir/progress.make | 3 + dhruv/lab1/src/Makefile | 181 ++++ dhruv/lab1/src/cmake_install.cmake | 54 ++ dhruv/lab1/src/main.cpp | 6 + dhruv/lab1/src/part1 | Bin 0 -> 16376 bytes dhruv/lab1/src/test | Bin 0 -> 16376 bytes dhruv/lab2p1/CMakeLists | 10 + dhruv/lab2p1/default.nix | 8 + dhruv/lab2p1/flake.nix | 29 + dhruv/lab2p1/include/hello_world.hpp | 7 + dhruv/lab2p1/src/hello_world.cpp | 6 + dhruv/lab2p1/src/main.cpp | 9 + 47 files changed, 2549 insertions(+) create mode 100644 dhruv/lab1/CMakeLists.txt create mode 100644 dhruv/lab1/src/CMakeCache.txt create mode 100644 dhruv/lab1/src/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake create mode 100644 dhruv/lab1/src/CMakeFiles/3.22.1/CMakeDetermineCompilerABI_CXX.bin create mode 100644 dhruv/lab1/src/CMakeFiles/3.22.1/CMakeSystem.cmake create mode 100644 dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp create mode 100644 dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/a.out create mode 100644 dhruv/lab1/src/CMakeFiles/CMakeDirectoryInformation.cmake create mode 100644 dhruv/lab1/src/CMakeFiles/CMakeOutput.log create mode 100644 dhruv/lab1/src/CMakeFiles/Makefile.cmake create mode 100644 dhruv/lab1/src/CMakeFiles/Makefile2 create mode 100644 dhruv/lab1/src/CMakeFiles/TargetDirectories.txt create mode 100644 dhruv/lab1/src/CMakeFiles/cmake.check_cache create mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/DependInfo.cmake create mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/build.make create mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/cmake_clean.cmake create mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.make create mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.ts create mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/depend.make create mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/flags.make create mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/link.txt create mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/main.cpp.o create mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/main.cpp.o.d create mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/progress.make create mode 100644 dhruv/lab1/src/CMakeFiles/progress.marks create mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/DependInfo.cmake create mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/build.make create mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/cmake_clean.cmake create mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.make create mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.ts create mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/depend.make create mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/flags.make create mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/link.txt create mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/main.cpp.o create mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/main.cpp.o.d create mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/progress.make create mode 100644 dhruv/lab1/src/Makefile create mode 100644 dhruv/lab1/src/cmake_install.cmake create mode 100644 dhruv/lab1/src/main.cpp create mode 100644 dhruv/lab1/src/part1 create mode 100644 dhruv/lab1/src/test create mode 100644 dhruv/lab2p1/CMakeLists create mode 100644 dhruv/lab2p1/default.nix create mode 100644 dhruv/lab2p1/flake.nix create mode 100644 dhruv/lab2p1/include/hello_world.hpp create mode 100644 dhruv/lab2p1/src/hello_world.cpp create mode 100644 dhruv/lab2p1/src/main.cpp diff --git a/dhruv/lab1/CMakeLists.txt b/dhruv/lab1/CMakeLists.txt new file mode 100644 index 0000000..430fdaf --- /dev/null +++ b/dhruv/lab1/CMakeLists.txt @@ -0,0 +1,3 @@ +cmake_minimum_required(VERSION 3.15...3.30) +project(part1 LANGUAGES CXX) +add_executable(test src/main.cpp) \ No newline at end of file diff --git a/dhruv/lab1/src/CMakeCache.txt b/dhruv/lab1/src/CMakeCache.txt new file mode 100644 index 0000000..bce0a45 --- /dev/null +++ b/dhruv/lab1/src/CMakeCache.txt @@ -0,0 +1,327 @@ +# This is the CMakeCache file. +# For build in directory: /home/dhruv/lab1/src +# It was generated by CMake: /usr/bin/cmake +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + +//Path to a program. +CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line + +//Path to a program. +CMAKE_AR:FILEPATH=/usr/bin/ar + +//Choose the type of build, options are: None Debug Release RelWithDebInfo +// MinSizeRel ... +CMAKE_BUILD_TYPE:STRING= + +//Enable/Disable color output during build. +CMAKE_COLOR_MAKEFILE:BOOL=ON + +//CXX compiler +CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++ + +//A wrapper around 'ar' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-11 + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-11 + +//Flags used by the CXX compiler during all build types. +CMAKE_CXX_FLAGS:STRING= + +//Flags used by the CXX compiler during DEBUG builds. +CMAKE_CXX_FLAGS_DEBUG:STRING=-g + +//Flags used by the CXX compiler during MINSIZEREL builds. +CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the CXX compiler during RELEASE builds. +CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the CXX compiler during RELWITHDEBINFO builds. +CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//Path to a program. +CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND + +//Flags used by the linker during all build types. +CMAKE_EXE_LINKER_FLAGS:STRING= + +//Flags used by the linker during DEBUG builds. +CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during MINSIZEREL builds. +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during RELEASE builds. +CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during RELWITHDEBINFO builds. +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Enable/Disable output of compile commands during generation. +CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= + +//Install path prefix, prepended onto install directories. +CMAKE_INSTALL_PREFIX:PATH=/usr/local + +//Path to a program. +CMAKE_LINKER:FILEPATH=/usr/bin/ld + +//Path to a program. +CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake + +//Flags used by the linker during the creation of modules during +// all build types. +CMAKE_MODULE_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of modules during +// DEBUG builds. +CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of modules during +// MINSIZEREL builds. +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of modules during +// RELEASE builds. +CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of modules during +// RELWITHDEBINFO builds. +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_NM:FILEPATH=/usr/bin/nm + +//Path to a program. +CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy + +//Path to a program. +CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump + +//Value Computed by CMake +CMAKE_PROJECT_DESCRIPTION:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_HOMEPAGE_URL:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=part1 + +//Path to a program. +CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib + +//Path to a program. +CMAKE_READELF:FILEPATH=/usr/bin/readelf + +//Flags used by the linker during the creation of shared libraries +// during all build types. +CMAKE_SHARED_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of shared libraries +// during DEBUG builds. +CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of shared libraries +// during MINSIZEREL builds. +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of shared libraries +// during RELEASE builds. +CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of shared libraries +// during RELWITHDEBINFO builds. +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//If set, runtime paths are not added when installing shared libraries, +// but are added when building. +CMAKE_SKIP_INSTALL_RPATH:BOOL=NO + +//If set, runtime paths are not added when using shared libraries. +CMAKE_SKIP_RPATH:BOOL=NO + +//Flags used by the linker during the creation of static libraries +// during all build types. +CMAKE_STATIC_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of static libraries +// during DEBUG builds. +CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of static libraries +// during MINSIZEREL builds. +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of static libraries +// during RELEASE builds. +CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of static libraries +// during RELWITHDEBINFO builds. +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_STRIP:FILEPATH=/usr/bin/strip + +//If this value is on, makefiles will be generated without the +// .SILENT directive, and all commands will be echoed to the console +// during the make. This is useful for debugging only. With Visual +// Studio IDE projects all commands are done without /nologo. +CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE + +//Value Computed by CMake +part1_BINARY_DIR:STATIC=/home/dhruv/lab1/src + +//Value Computed by CMake +part1_IS_TOP_LEVEL:STATIC=ON + +//Value Computed by CMake +part1_SOURCE_DIR:STATIC=/home/dhruv/lab1 + + +######################## +# INTERNAL cache entries +######################## + +//ADVANCED property for variable: CMAKE_ADDR2LINE +CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_AR +CMAKE_AR-ADVANCED:INTERNAL=1 +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/home/dhruv/lab1/src +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=22 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 +//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE +CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/usr/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest +//ADVANCED property for variable: CMAKE_CXX_COMPILER +CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR +CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB +CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS +CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG +CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL +CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE +CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO +CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_DLLTOOL +CMAKE_DLLTOOL-ADVANCED:INTERNAL=1 +//Executable file format +CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS +CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG +CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE +CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS +CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 +//Name of external makefile project generator. +CMAKE_EXTRA_GENERATOR:INTERNAL= +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Unix Makefiles +//Generator instance identifier. +CMAKE_GENERATOR_INSTANCE:INTERNAL= +//Name of generator platform. +CMAKE_GENERATOR_PLATFORM:INTERNAL= +//Name of generator toolset. +CMAKE_GENERATOR_TOOLSET:INTERNAL= +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/home/dhruv/lab1 +//Install .so files without execute permission. +CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1 +//ADVANCED property for variable: CMAKE_LINKER +CMAKE_LINKER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MAKE_PROGRAM +CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS +CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG +CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE +CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_NM +CMAKE_NM-ADVANCED:INTERNAL=1 +//number of local generators +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJCOPY +CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJDUMP +CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 +//Platform information initialized +CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RANLIB +CMAKE_RANLIB-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_READELF +CMAKE_READELF-ADVANCED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.22 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS +CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG +CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE +CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH +CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_RPATH +CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS +CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG +CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE +CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STRIP +CMAKE_STRIP-ADVANCED:INTERNAL=1 +//uname command +CMAKE_UNAME:INTERNAL=/usr/bin/uname +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 + diff --git a/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake b/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake new file mode 100644 index 0000000..345e930 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake @@ -0,0 +1,83 @@ +set(CMAKE_CXX_COMPILER "/usr/bin/c++") +set(CMAKE_CXX_COMPILER_ARG1 "") +set(CMAKE_CXX_COMPILER_ID "GNU") +set(CMAKE_CXX_COMPILER_VERSION "11.4.0") +set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") +set(CMAKE_CXX_COMPILER_WRAPPER "") +set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17") +set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON") +set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23") +set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") +set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") +set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") +set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") +set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20") +set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23") + +set(CMAKE_CXX_PLATFORM_ID "Linux") +set(CMAKE_CXX_SIMULATE_ID "") +set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "") +set(CMAKE_CXX_SIMULATE_VERSION "") + + + + +set(CMAKE_AR "/usr/bin/ar") +set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-11") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-11") +set(CMAKE_LINKER "/usr/bin/ld") +set(CMAKE_MT "") +set(CMAKE_COMPILER_IS_GNUCXX 1) +set(CMAKE_CXX_COMPILER_LOADED 1) +set(CMAKE_CXX_COMPILER_WORKS TRUE) +set(CMAKE_CXX_ABI_COMPILED TRUE) + +set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") + +set(CMAKE_CXX_COMPILER_ID_RUN 1) +set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm) +set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) + +foreach (lang C OBJC OBJCXX) + if (CMAKE_${lang}_COMPILER_ID_RUN) + foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) + list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) + endforeach() + endif() +endforeach() + +set(CMAKE_CXX_LINKER_PREFERENCE 30) +set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) + +# Save compiler ABI information. +set(CMAKE_CXX_SIZEOF_DATA_PTR "8") +set(CMAKE_CXX_COMPILER_ABI "ELF") +set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN") +set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") + +if(CMAKE_CXX_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_CXX_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") +endif() + +if(CMAKE_CXX_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") +endif() + +set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/11;/usr/include/x86_64-linux-gnu/c++/11;/usr/include/c++/11/backward;/usr/lib/gcc/x86_64-linux-gnu/11/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include") +set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc") +set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/11;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib") +set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeDetermineCompilerABI_CXX.bin b/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeDetermineCompilerABI_CXX.bin new file mode 100644 index 0000000000000000000000000000000000000000..15e6e3f257c3b28cc05e33f293ce25b498a4f570 GIT binary patch literal 15992 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 literal 0 HcmV?d00001 diff --git a/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeSystem.cmake b/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeSystem.cmake new file mode 100644 index 0000000..2ede6c3 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeSystem.cmake @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "Linux-5.15.133.1-microsoft-standard-WSL2") +set(CMAKE_HOST_SYSTEM_NAME "Linux") +set(CMAKE_HOST_SYSTEM_VERSION "5.15.133.1-microsoft-standard-WSL2") +set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") + + + +set(CMAKE_SYSTEM "Linux-5.15.133.1-microsoft-standard-WSL2") +set(CMAKE_SYSTEM_NAME "Linux") +set(CMAKE_SYSTEM_VERSION "5.15.133.1-microsoft-standard-WSL2") +set(CMAKE_SYSTEM_PROCESSOR "x86_64") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git a/dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp b/dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp new file mode 100644 index 0000000..25c62a8 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp @@ -0,0 +1,791 @@ +/* This source file must have a .cpp extension so that all C++ compilers + recognize the extension without flags. Borland does not know .cxx for + example. */ +#ifndef __cplusplus +# error "A C compiler has been selected for C++." +#endif + +#if !defined(__has_include) +/* If the compiler does not have __has_include, pretend the answer is + always no. */ +# define __has_include(x) 0 +#endif + + +/* Version number components: V=Version, R=Revision, P=Patch + Version date components: YYYY=Year, MM=Month, DD=Day */ + +#if defined(__COMO__) +# define COMPILER_ID "Comeau" + /* __COMO_VERSION__ = VRR */ +# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) +# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) + +#elif defined(__INTEL_COMPILER) || defined(__ICC) +# define COMPILER_ID "Intel" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# if defined(__GNUC__) +# define SIMULATE_ID "GNU" +# endif + /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, + except that a few beta releases use the old format with V=2021. */ +# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) +# if defined(__INTEL_COMPILER_UPDATE) +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) +# else +# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) +# endif +# else +# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) +# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) + /* The third version component from --version is an update index, + but no macro is provided for it. */ +# define COMPILER_VERSION_PATCH DEC(0) +# endif +# if defined(__INTEL_COMPILER_BUILD_DATE) + /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ +# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) +# endif +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# if defined(__GNUC__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +# elif defined(__GNUG__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) +# endif +# if defined(__GNUC_MINOR__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) +# define COMPILER_ID "IntelLLVM" +#if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +#endif +#if defined(__GNUC__) +# define SIMULATE_ID "GNU" +#endif +/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and + * later. Look for 6 digit vs. 8 digit version number to decide encoding. + * VVVV is no smaller than the current year when a version is released. + */ +#if __INTEL_LLVM_COMPILER < 1000000L +# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) +# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) +#else +# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) +# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) +#endif +#if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +#endif +#if defined(__GNUC__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +#elif defined(__GNUG__) +# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) +#endif +#if defined(__GNUC_MINOR__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +#endif +#if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +#endif + +#elif defined(__PATHCC__) +# define COMPILER_ID "PathScale" +# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) +# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) +# if defined(__PATHCC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) +# endif + +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) +# define COMPILER_ID "Embarcadero" +# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) +# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + /* __BORLANDC__ = 0xVRR */ +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +# define COMPILER_ID "Watcom" + /* __WATCOMC__ = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__WATCOMC__) +# define COMPILER_ID "OpenWatcom" + /* __WATCOMC__ = VVRP + 1100 */ +# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__SUNPRO_CC) +# define COMPILER_ID "SunPro" +# if __SUNPRO_CC >= 0x5100 + /* __SUNPRO_CC = 0xVRRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) +# else + /* __SUNPRO_CC = 0xVRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) +# endif + +#elif defined(__HP_aCC) +# define COMPILER_ID "HP" + /* __HP_aCC = VVRRPP */ +# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) +# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) + +#elif defined(__DECCXX) +# define COMPILER_ID "Compaq" + /* __DECCXX_VER = VVRRTPPPP */ +# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) +# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) +# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) + +#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) +# define COMPILER_ID "zOS" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__ibmxl__) && defined(__clang__) +# define COMPILER_ID "XLClang" +# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) +# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) +# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) +# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) + + +#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 +# define COMPILER_ID "XL" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 +# define COMPILER_ID "VisualAge" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__NVCOMPILER) +# define COMPILER_ID "NVHPC" +# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) +# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) +# if defined(__NVCOMPILER_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) +# endif + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__CLANG_FUJITSU) +# define COMPILER_ID "FujitsuClang" +# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) +# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) +# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) +# define COMPILER_VERSION_INTERNAL_STR __clang_version__ + + +#elif defined(__FUJITSU) +# define COMPILER_ID "Fujitsu" +# if defined(__FCC_version__) +# define COMPILER_VERSION __FCC_version__ +# elif defined(__FCC_major__) +# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) +# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) +# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) +# endif +# if defined(__fcc_version) +# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) +# elif defined(__FCC_VERSION) +# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) +# endif + + +#elif defined(__ghs__) +# define COMPILER_ID "GHS" +/* __GHS_VERSION_NUMBER = VVVVRP */ +# ifdef __GHS_VERSION_NUMBER +# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) +# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) +# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) +# endif + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#elif defined(__ARMCC_VERSION) && !defined(__clang__) +# define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 + /* __ARMCC_VERSION = VRRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else + /* __ARMCC_VERSION = VRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(__clang__) && defined(__apple_build_version__) +# define COMPILER_ID "AppleClang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) +# define COMPILER_ID "ARMClang" + # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000) +# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) + +#elif defined(__clang__) +# define COMPILER_ID "Clang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__GNUC__) || defined(__GNUG__) +# define COMPILER_ID "GNU" +# if defined(__GNUC__) +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) +# else +# define COMPILER_VERSION_MAJOR DEC(__GNUG__) +# endif +# if defined(__GNUC_MINOR__) +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + /* _MSC_VER = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +# if defined(_MSC_FULL_VER) +# if _MSC_VER >= 1400 + /* _MSC_FULL_VER = VVRRPPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +# else + /* _MSC_FULL_VER = VVRRPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +# endif +# endif +# if defined(_MSC_BUILD) +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +# endif + +#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) +# define COMPILER_ID "ADSP" +#if defined(__VISUALDSPVERSION__) + /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ +# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) +# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# define COMPILER_ID "IAR" +# if defined(__VER__) && defined(__ICCARM__) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) +# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) +# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) +# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) +# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const* qnxnto = "INFO" ":" "qnxnto[]"; +#endif + +#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) +char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__MSYS__) +# define PLATFORM_ID "MSYS" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +# define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +# if defined(__LINUX__) +# define PLATFORM_ID "Linux" + +# elif defined(__DOS__) +# define PLATFORM_ID "DOS" + +# elif defined(__OS2__) +# define PLATFORM_ID "OS2" + +# elif defined(__WINDOWS__) +# define PLATFORM_ID "Windows3x" + +# elif defined(__VXWORKS__) +# define PLATFORM_ID "VxWorks" + +# else /* unknown platform */ +# define PLATFORM_ID +# endif + +#elif defined(__INTEGRITY) +# if defined(INT_178B) +# define PLATFORM_ID "Integrity178" + +# else /* regular Integrity */ +# define PLATFORM_ID "Integrity" +# endif + +#else /* unknown platform */ +# define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +# if defined(_M_IA64) +# define ARCHITECTURE_ID "IA64" + +# elif defined(_M_ARM64EC) +# define ARCHITECTURE_ID "ARM64EC" + +# elif defined(_M_X64) || defined(_M_AMD64) +# define ARCHITECTURE_ID "x64" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# elif defined(_M_ARM64) +# define ARCHITECTURE_ID "ARM64" + +# elif defined(_M_ARM) +# if _M_ARM == 4 +# define ARCHITECTURE_ID "ARMV4I" +# elif _M_ARM == 5 +# define ARCHITECTURE_ID "ARMV5I" +# else +# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +# endif + +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__WATCOMC__) +# if defined(_M_I86) +# define ARCHITECTURE_ID "I86" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# if defined(__ICCARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__ICCRX__) +# define ARCHITECTURE_ID "RX" + +# elif defined(__ICCRH850__) +# define ARCHITECTURE_ID "RH850" + +# elif defined(__ICCRL78__) +# define ARCHITECTURE_ID "RL78" + +# elif defined(__ICCRISCV__) +# define ARCHITECTURE_ID "RISCV" + +# elif defined(__ICCAVR__) +# define ARCHITECTURE_ID "AVR" + +# elif defined(__ICC430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__ICCV850__) +# define ARCHITECTURE_ID "V850" + +# elif defined(__ICC8051__) +# define ARCHITECTURE_ID "8051" + +# elif defined(__ICCSTM8__) +# define ARCHITECTURE_ID "STM8" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__ghs__) +# if defined(__PPC64__) +# define ARCHITECTURE_ID "PPC64" + +# elif defined(__ppc__) +# define ARCHITECTURE_ID "PPC" + +# elif defined(__ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__x86_64__) +# define ARCHITECTURE_ID "x64" + +# elif defined(__i386__) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__TI_COMPILER_VERSION__) +# if defined(__TI_ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__MSP430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__TMS320C28XX__) +# define ARCHITECTURE_ID "TMS320C28x" + +# elif defined(__TMS320C6X__) || defined(_TMS320C6X) +# define ARCHITECTURE_ID "TMS320C6x" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#else +# define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) \ + ('0' + (((n) / 10000000)%10)), \ + ('0' + (((n) / 1000000)%10)), \ + ('0' + (((n) / 100000)%10)), \ + ('0' + (((n) / 10000)%10)), \ + ('0' + (((n) / 1000)%10)), \ + ('0' + (((n) / 100)%10)), \ + ('0' + (((n) / 10)%10)), \ + ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) \ + ('0' + ((n)>>28 & 0xF)), \ + ('0' + ((n)>>24 & 0xF)), \ + ('0' + ((n)>>20 & 0xF)), \ + ('0' + ((n)>>16 & 0xF)), \ + ('0' + ((n)>>12 & 0xF)), \ + ('0' + ((n)>>8 & 0xF)), \ + ('0' + ((n)>>4 & 0xF)), \ + ('0' + ((n) & 0xF)) + +/* Construct a string literal encoding the version number. */ +#ifdef COMPILER_VERSION +char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; + +/* Construct a string literal encoding the version number components. */ +#elif defined(COMPILER_VERSION_MAJOR) +char const info_version[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', + COMPILER_VERSION_MAJOR, +# ifdef COMPILER_VERSION_MINOR + '.', COMPILER_VERSION_MINOR, +# ifdef COMPILER_VERSION_PATCH + '.', COMPILER_VERSION_PATCH, +# ifdef COMPILER_VERSION_TWEAK + '.', COMPILER_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct a string literal encoding the internal version number. */ +#ifdef COMPILER_VERSION_INTERNAL +char const info_version_internal[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', + 'i','n','t','e','r','n','a','l','[', + COMPILER_VERSION_INTERNAL,']','\0'}; +#elif defined(COMPILER_VERSION_INTERNAL_STR) +char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = { + 'I', 'N', 'F', 'O', ':', + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', + SIMULATE_VERSION_MAJOR, +# ifdef SIMULATE_VERSION_MINOR + '.', SIMULATE_VERSION_MINOR, +# ifdef SIMULATE_VERSION_PATCH + '.', SIMULATE_VERSION_PATCH, +# ifdef SIMULATE_VERSION_TWEAK + '.', SIMULATE_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; + + + +#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L +# if defined(__INTEL_CXX11_MODE__) +# if defined(__cpp_aggregate_nsdmi) +# define CXX_STD 201402L +# else +# define CXX_STD 201103L +# endif +# else +# define CXX_STD 199711L +# endif +#elif defined(_MSC_VER) && defined(_MSVC_LANG) +# define CXX_STD _MSVC_LANG +#else +# define CXX_STD __cplusplus +#endif + +const char* info_language_standard_default = "INFO" ":" "standard_default[" +#if CXX_STD > 202002L + "23" +#elif CXX_STD > 201703L + "20" +#elif CXX_STD >= 201703L + "17" +#elif CXX_STD >= 201402L + "14" +#elif CXX_STD >= 201103L + "11" +#else + "98" +#endif +"]"; + +const char* info_language_extensions_default = "INFO" ":" "extensions_default[" +/* !defined(_MSC_VER) to exclude Clang's MSVC compatibility mode. */ +#if (defined(__clang__) || defined(__GNUC__) || \ + defined(__TI_COMPILER_VERSION__)) && \ + !defined(__STRICT_ANSI__) && !defined(_MSC_VER) + "ON" +#else + "OFF" +#endif +"]"; + +/*--------------------------------------------------------------------------*/ + +int main(int argc, char* argv[]) +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef COMPILER_VERSION_INTERNAL + require += info_version_internal[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) + require += info_cray[argc]; +#endif + require += info_language_standard_default[argc]; + require += info_language_extensions_default[argc]; + (void)argv; + return require; +} diff --git a/dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/a.out b/dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/a.out new file mode 100644 index 0000000000000000000000000000000000000000..9944be481759fba2110a3ba6af6d9c647c7ea1a9 GIT binary patch literal 16096 zcmeHOYit}>6~4Pk8izc*NgEQ9(k!K|5?W7e$4O0)$vXBrV`Rr^;*>yYMq}^VyJ8<^ zcb3`_v_XMllLR#a0Y8FNwGv1mBoL^m6)jE+MX3r(evwKDg-6vOrLB3J5@k8(-t(=; z({&KgAN-hOdCooGdE7ha-kH5KbMM2+zMg0#qCiX32Ng?+m_ZVvcWxzsPG~kpstHS4Y=HSiBDIEP@vn!MR4MzaMs zmpzsykrF)Ols&iPIe9l*P%LwPcd31Sy?eWyR;$(8Su5{oQ%>(-zmrOr(qq}Omo5$V zcjbzO^q@PO<8Wj7VnM<=#>XE37wOix8f=JsN|R5oQ-aMpSJG4_KqU!gQd>5gXz z*Dc;A8@r7Gyd-!$fPY@_tpWT?f;R{7?+AWrkJ7|r zhx-b2*@yEO16}dq7~8Cy_2E2jL32J_-*2G^d6Zh5VD z`r^mz>EGHXem{F)FxfKGa^61O@gfDNt}m12Uq-FQEuYo#2tP-NeR|o`%-%oet*5H* z=Q35jqI$V;%W*b*UO3sG(e^vPz--%fdwSMB_xc|D+}sj7@`8Qwx_1i&xKjc&R4>D*I%|O(a~|R;^aAr0DR14igz7-v$1Ec#xDF z=rH+BfBLFDUAg?Tq-uP2CX&2H_|x@pV|aS~PuEa3 zpIjQNS)Z+EO;JwO!%rr!4N>>h`mWYn+@z4g41^g7GZ1DV%s`ldFau!*!VH8N2s037 zAk4s9Gr-@!ZbZHNdj@uo6!YWRT)K3WzDf=)v|gZhKAA3+v&F*EW=$CyjF6!#1R$u+S@qFt+RicV3@41^SBAk09RfiMGM2Eq)483;2FW+2Q!n1Q!9 z16Z$!^@&&ms2^Uas#T~?)-SFW`A4$O@m(Tg9pq+_@d&d?WUPne=N=~L|9ZVzWcjmr-Q9p8F*xKi*caeC0FC;X*PZ)&T$Hc3#BlL8Sajii* ze2V_LUR+ner>GE7H!EBxz`sd_dhLH!+s9NQZY*03qX_lwFAyG~mE2SB5knuV7ysAV zp01X_czIR(t*x!YN0>LY{X1*d5%3r#WE}(_Zz4SIlTkdP@eN8PfEeCOcuZ}mD%@{?-!JyTI3qeftmb)%@U_tm3ga4@hZ(1uRoozQnW`^pe1i(EzdkE?a6R=i zgvV%{Boc^h_ydHmqw$cC@uuG)k?J{#6BB#f4=zX?j5kF4mBiU5_g($Yh?KwKICNe? z``0A?)-aJ}p!d@c1?JYnq6esyT117v0QQ3%{eKrSSmYiWkT^g#$4Jy4s z7QA;L>$s(oJL#kgUTIQ|mfU>WNmcUsNpkT?4q18&OuPEskEgqi9O;rbnY}4%WPDsX zAMI;t%@#(Bcymc{dJcB>C!OT}Zin^}bbn-jXMb-O!Sw3WN!p^dyALX7U*Evq&OT?L zr{_>|&>8I9+m|Gd;J$_gb~F6D9SrG|>$yswB}HMuY-b>0;ob%(RW3RidOgbf9(o7J zDwQobm2x_z^r_(8s*!STVXWegrJc9FH&v8J@xdEjs%*GimWuVZ49B637LpDfz7{a} ziuMM(E*5V7sHKEAc<8<|P38B$N?GN}yyp%R_ezFmP|6l)-^aMJ3Pmq%jTI`^c&Rv^ zE_staXt~N z!1(vr?~nNacpQepgZ>{T{BJY|L;ErB1V{atch>G}63->hb58hUUJCxG*l`;F8CDb{1nXpCrHV2O!#A736A+X+7CPMhsdAjtdKEp1#gzhgY8F~PE&z% z3V+O_!7-0U{lWA9D*5s`L0|h_k>3|QKah#0VE=ucP``g%{J=#N@A;oC;ExCVn?(T* zI|P6X{_TK&LKNV~0v!fF#QR>rAM+Y;JYT^+c>X^Wf8<}q#Zvfr5y1q8sD4Z(ZX*0& z5(DsiYL=!DtpDc(`~By{AN9sQv|#u27)> literal 0 HcmV?d00001 diff --git a/dhruv/lab1/src/CMakeFiles/CMakeDirectoryInformation.cmake b/dhruv/lab1/src/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 0000000..98ea161 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.22 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/dhruv/lab1") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/dhruv/lab1/src") + +# Force unix paths in dependencies. +set(CMAKE_FORCE_UNIX_PATHS 1) + + +# The C and CXX include file regular expressions for this directory. +set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") +set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") +set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) +set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git a/dhruv/lab1/src/CMakeFiles/CMakeOutput.log b/dhruv/lab1/src/CMakeFiles/CMakeOutput.log new file mode 100644 index 0000000..f5cd42f --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/CMakeOutput.log @@ -0,0 +1,230 @@ +The system is: Linux - 5.15.133.1-microsoft-standard-WSL2 - x86_64 +Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. +Compiler: /usr/bin/c++ +Build flags: +Id flags: + +The output was: +0 + + +Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" + +The CXX compiler identification is GNU, found in "/home/dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/a.out" + +Detecting CXX compiler ABI info compiled with the following output: +Change Dir: /home/dhruv/lab1/src/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_45ce8/fast && /usr/bin/gmake -f CMakeFiles/cmTC_45ce8.dir/build.make CMakeFiles/cmTC_45ce8.dir/build +gmake[1]: Entering directory '/home/dhruv/lab1/src/CMakeFiles/CMakeTmp' +Building CXX object CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o +/usr/bin/c++ -v -o CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp +Using built-in specs. +COLLECT_GCC=/usr/bin/c++ +OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa +OFFLOAD_TARGET_DEFAULT=1 +Target: x86_64-linux-gnu +Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 +Thread model: posix +Supported LTO compression algorithms: zlib zstd +gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_45ce8.dir/' + /usr/lib/gcc/x86_64-linux-gnu/11/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_45ce8.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccim1Kgx.s +GNU C++17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu) + compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP + +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/11" +ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" +ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/include-fixed" +ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/include" +#include "..." search starts here: +#include <...> search starts here: + /usr/include/c++/11 + /usr/include/x86_64-linux-gnu/c++/11 + /usr/include/c++/11/backward + /usr/lib/gcc/x86_64-linux-gnu/11/include + /usr/local/include + /usr/include/x86_64-linux-gnu + /usr/include +End of search list. +GNU C++17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu) + compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP + +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +Compiler executable checksum: d591828bb4d392ae8b7b160e5bb0b95f +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_45ce8.dir/' + as -v --64 -o CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccim1Kgx.s +GNU assembler version 2.38 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.38 +COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.' +Linking CXX executable cmTC_45ce8 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_45ce8.dir/link.txt --verbose=1 +/usr/bin/c++ -v CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_45ce8 +Using built-in specs. +COLLECT_GCC=/usr/bin/c++ +COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper +OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa +OFFLOAD_TARGET_DEFAULT=1 +Target: x86_64-linux-gnu +Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 +Thread model: posix +Supported LTO compression algorithms: zlib zstd +gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) +COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_45ce8' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_45ce8.' + /usr/lib/gcc/x86_64-linux-gnu/11/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/ccaTlDI6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_45ce8 /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o +COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_45ce8' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_45ce8.' +gmake[1]: Leaving directory '/home/dhruv/lab1/src/CMakeFiles/CMakeTmp' + + + +Parsed CXX implicit include dir info from above output: rv=done + found start of include info + found start of implicit include info + add: [/usr/include/c++/11] + add: [/usr/include/x86_64-linux-gnu/c++/11] + add: [/usr/include/c++/11/backward] + add: [/usr/lib/gcc/x86_64-linux-gnu/11/include] + add: [/usr/local/include] + add: [/usr/include/x86_64-linux-gnu] + add: [/usr/include] + end of search list found + collapse include dir [/usr/include/c++/11] ==> [/usr/include/c++/11] + collapse include dir [/usr/include/x86_64-linux-gnu/c++/11] ==> [/usr/include/x86_64-linux-gnu/c++/11] + collapse include dir [/usr/include/c++/11/backward] ==> [/usr/include/c++/11/backward] + collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/11/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/11/include] + collapse include dir [/usr/local/include] ==> [/usr/local/include] + collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu] + collapse include dir [/usr/include] ==> [/usr/include] + implicit include dirs: [/usr/include/c++/11;/usr/include/x86_64-linux-gnu/c++/11;/usr/include/c++/11/backward;/usr/lib/gcc/x86_64-linux-gnu/11/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include] + + +Parsed CXX implicit link information from above output: + link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] + ignore line: [Change Dir: /home/dhruv/lab1/src/CMakeFiles/CMakeTmp] + ignore line: [] + ignore line: [Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_45ce8/fast && /usr/bin/gmake -f CMakeFiles/cmTC_45ce8.dir/build.make CMakeFiles/cmTC_45ce8.dir/build] + ignore line: [gmake[1]: Entering directory '/home/dhruv/lab1/src/CMakeFiles/CMakeTmp'] + ignore line: [Building CXX object CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o] + ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/c++] + ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa] + ignore line: [OFFLOAD_TARGET_DEFAULT=1] + ignore line: [Target: x86_64-linux-gnu] + ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2] + ignore line: [Thread model: posix] + ignore line: [Supported LTO compression algorithms: zlib zstd] + ignore line: [gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) ] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_45ce8.dir/'] + ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/11/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_45ce8.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccim1Kgx.s] + ignore line: [GNU C++17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)] + ignore line: [ compiled by GNU C version 11.4.0 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.1 isl version isl-0.24-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/11"] + ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/include-fixed"] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/include"] + ignore line: [#include "..." search starts here:] + ignore line: [#include <...> search starts here:] + ignore line: [ /usr/include/c++/11] + ignore line: [ /usr/include/x86_64-linux-gnu/c++/11] + ignore line: [ /usr/include/c++/11/backward] + ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/11/include] + ignore line: [ /usr/local/include] + ignore line: [ /usr/include/x86_64-linux-gnu] + ignore line: [ /usr/include] + ignore line: [End of search list.] + ignore line: [GNU C++17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)] + ignore line: [ compiled by GNU C version 11.4.0 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.1 isl version isl-0.24-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [Compiler executable checksum: d591828bb4d392ae8b7b160e5bb0b95f] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_45ce8.dir/'] + ignore line: [ as -v --64 -o CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccim1Kgx.s] + ignore line: [GNU assembler version 2.38 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.38] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.'] + ignore line: [Linking CXX executable cmTC_45ce8] + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_45ce8.dir/link.txt --verbose=1] + ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_45ce8 ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/c++] + ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper] + ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa] + ignore line: [OFFLOAD_TARGET_DEFAULT=1] + ignore line: [Target: x86_64-linux-gnu] + ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2] + ignore line: [Thread model: posix] + ignore line: [Supported LTO compression algorithms: zlib zstd] + ignore line: [gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) ] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_45ce8' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_45ce8.'] + link line: [ /usr/lib/gcc/x86_64-linux-gnu/11/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/ccaTlDI6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_45ce8 /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o] + arg [/usr/lib/gcc/x86_64-linux-gnu/11/collect2] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so] ==> ignore + arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/ccaTlDI6.res] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [-plugin-opt=-pass-through=-lc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [--build-id] ==> ignore + arg [--eh-frame-hdr] ==> ignore + arg [-m] ==> ignore + arg [elf_x86_64] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [--as-needed] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore + arg [-pie] ==> ignore + arg [-znow] ==> ignore + arg [-zrelro] ==> ignore + arg [-o] ==> ignore + arg [cmTC_45ce8] ==> ignore + arg [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o] + arg [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o] + arg [/usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/11] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib] + arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu] + arg [-L/lib/../lib] ==> dir [/lib/../lib] + arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] + arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] + arg [-L/usr/lib/gcc/x86_64-linux-gnu/11/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../..] + arg [CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore + arg [-lstdc++] ==> lib [stdc++] + arg [-lm] ==> lib [m] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [-lc] ==> lib [c] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [/usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o] + arg [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o] + collapse obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o] + collapse obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o] + collapse obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11] ==> [/usr/lib/gcc/x86_64-linux-gnu/11] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib] ==> [/usr/lib] + collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu] + collapse library dir [/lib/../lib] ==> [/lib] + collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] + collapse library dir [/usr/lib/../lib] ==> [/usr/lib] + collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../..] ==> [/usr/lib] + implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc] + implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o] + implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/11;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib] + implicit fwks: [] + + diff --git a/dhruv/lab1/src/CMakeFiles/Makefile.cmake b/dhruv/lab1/src/CMakeFiles/Makefile.cmake new file mode 100644 index 0000000..94ac140 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/Makefile.cmake @@ -0,0 +1,43 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.22 + +# The generator used is: +set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") + +# The top level Makefile was generated from the following files: +set(CMAKE_MAKEFILE_DEPENDS + "CMakeCache.txt" + "../CMakeLists.txt" + "CMakeFiles/3.22.1/CMakeCXXCompiler.cmake" + "CMakeFiles/3.22.1/CMakeSystem.cmake" + "/usr/share/cmake-3.22/Modules/CMakeCXXInformation.cmake" + "/usr/share/cmake-3.22/Modules/CMakeCommonLanguageInclude.cmake" + "/usr/share/cmake-3.22/Modules/CMakeGenericSystem.cmake" + "/usr/share/cmake-3.22/Modules/CMakeInitializeConfigs.cmake" + "/usr/share/cmake-3.22/Modules/CMakeLanguageInformation.cmake" + "/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInformation.cmake" + "/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInitialize.cmake" + "/usr/share/cmake-3.22/Modules/Compiler/CMakeCommonCompilerMacros.cmake" + "/usr/share/cmake-3.22/Modules/Compiler/GNU-CXX.cmake" + "/usr/share/cmake-3.22/Modules/Compiler/GNU.cmake" + "/usr/share/cmake-3.22/Modules/Platform/Linux-GNU-CXX.cmake" + "/usr/share/cmake-3.22/Modules/Platform/Linux-GNU.cmake" + "/usr/share/cmake-3.22/Modules/Platform/Linux.cmake" + "/usr/share/cmake-3.22/Modules/Platform/UnixPaths.cmake" + ) + +# The corresponding makefile is: +set(CMAKE_MAKEFILE_OUTPUTS + "Makefile" + "CMakeFiles/cmake.check_cache" + ) + +# Byproducts of CMake generate step: +set(CMAKE_MAKEFILE_PRODUCTS + "CMakeFiles/CMakeDirectoryInformation.cmake" + ) + +# Dependency information for all targets: +set(CMAKE_DEPEND_INFO_FILES + "CMakeFiles/test.dir/DependInfo.cmake" + ) diff --git a/dhruv/lab1/src/CMakeFiles/Makefile2 b/dhruv/lab1/src/CMakeFiles/Makefile2 new file mode 100644 index 0000000..4d9ef9d --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/Makefile2 @@ -0,0 +1,112 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.22 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/dhruv/lab1 + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/dhruv/lab1/src + +#============================================================================= +# Directory level rules for the build root directory + +# The main recursive "all" target. +all: CMakeFiles/test.dir/all +.PHONY : all + +# The main recursive "preinstall" target. +preinstall: +.PHONY : preinstall + +# The main recursive "clean" target. +clean: CMakeFiles/test.dir/clean +.PHONY : clean + +#============================================================================= +# Target rules for target CMakeFiles/test.dir + +# All Build rule for target. +CMakeFiles/test.dir/all: + $(MAKE) $(MAKESILENT) -f CMakeFiles/test.dir/build.make CMakeFiles/test.dir/depend + $(MAKE) $(MAKESILENT) -f CMakeFiles/test.dir/build.make CMakeFiles/test.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/dhruv/lab1/src/CMakeFiles --progress-num=1,2 "Built target test" +.PHONY : CMakeFiles/test.dir/all + +# Build rule for subdir invocation for target. +CMakeFiles/test.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/dhruv/lab1/src/CMakeFiles 2 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/test.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/dhruv/lab1/src/CMakeFiles 0 +.PHONY : CMakeFiles/test.dir/rule + +# Convenience name for target. +test: CMakeFiles/test.dir/rule +.PHONY : test + +# clean rule for target. +CMakeFiles/test.dir/clean: + $(MAKE) $(MAKESILENT) -f CMakeFiles/test.dir/build.make CMakeFiles/test.dir/clean +.PHONY : CMakeFiles/test.dir/clean + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/dhruv/lab1/src/CMakeFiles/TargetDirectories.txt b/dhruv/lab1/src/CMakeFiles/TargetDirectories.txt new file mode 100644 index 0000000..1e77dd1 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/TargetDirectories.txt @@ -0,0 +1,3 @@ +/home/dhruv/lab1/src/CMakeFiles/test.dir +/home/dhruv/lab1/src/CMakeFiles/edit_cache.dir +/home/dhruv/lab1/src/CMakeFiles/rebuild_cache.dir diff --git a/dhruv/lab1/src/CMakeFiles/cmake.check_cache b/dhruv/lab1/src/CMakeFiles/cmake.check_cache new file mode 100644 index 0000000..3dccd73 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/DependInfo.cmake b/dhruv/lab1/src/CMakeFiles/part1.dir/DependInfo.cmake new file mode 100644 index 0000000..b36fe6c --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/part1.dir/DependInfo.cmake @@ -0,0 +1,19 @@ + +# Consider dependencies only in project. +set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF) + +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + ) + +# The set of dependency files which are needed: +set(CMAKE_DEPENDS_DEPENDENCY_FILES + "/home/dhruv/lab1/src/main.cpp" "CMakeFiles/part1.dir/main.cpp.o" "gcc" "CMakeFiles/part1.dir/main.cpp.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/build.make b/dhruv/lab1/src/CMakeFiles/part1.dir/build.make new file mode 100644 index 0000000..cd4d51f --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/part1.dir/build.make @@ -0,0 +1,110 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.22 + +# Delete rule output on recipe failure. +.DELETE_ON_ERROR: + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/dhruv/lab1 + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/dhruv/lab1/src + +# Include any dependencies generated for this target. +include CMakeFiles/part1.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include CMakeFiles/part1.dir/compiler_depend.make + +# Include the progress variables for this target. +include CMakeFiles/part1.dir/progress.make + +# Include the compile flags for this target's objects. +include CMakeFiles/part1.dir/flags.make + +CMakeFiles/part1.dir/main.cpp.o: CMakeFiles/part1.dir/flags.make +CMakeFiles/part1.dir/main.cpp.o: main.cpp +CMakeFiles/part1.dir/main.cpp.o: CMakeFiles/part1.dir/compiler_depend.ts + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/dhruv/lab1/src/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/part1.dir/main.cpp.o" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT CMakeFiles/part1.dir/main.cpp.o -MF CMakeFiles/part1.dir/main.cpp.o.d -o CMakeFiles/part1.dir/main.cpp.o -c /home/dhruv/lab1/src/main.cpp + +CMakeFiles/part1.dir/main.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/part1.dir/main.cpp.i" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/dhruv/lab1/src/main.cpp > CMakeFiles/part1.dir/main.cpp.i + +CMakeFiles/part1.dir/main.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/part1.dir/main.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/dhruv/lab1/src/main.cpp -o CMakeFiles/part1.dir/main.cpp.s + +# Object files for target part1 +part1_OBJECTS = \ +"CMakeFiles/part1.dir/main.cpp.o" + +# External object files for target part1 +part1_EXTERNAL_OBJECTS = + +part1: CMakeFiles/part1.dir/main.cpp.o +part1: CMakeFiles/part1.dir/build.make +part1: CMakeFiles/part1.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/dhruv/lab1/src/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable part1" + $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/part1.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +CMakeFiles/part1.dir/build: part1 +.PHONY : CMakeFiles/part1.dir/build + +CMakeFiles/part1.dir/clean: + $(CMAKE_COMMAND) -P CMakeFiles/part1.dir/cmake_clean.cmake +.PHONY : CMakeFiles/part1.dir/clean + +CMakeFiles/part1.dir/depend: + cd /home/dhruv/lab1/src && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/dhruv/lab1 /home/dhruv/lab1 /home/dhruv/lab1/src /home/dhruv/lab1/src /home/dhruv/lab1/src/CMakeFiles/part1.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : CMakeFiles/part1.dir/depend + diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/cmake_clean.cmake b/dhruv/lab1/src/CMakeFiles/part1.dir/cmake_clean.cmake new file mode 100644 index 0000000..63ed407 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/part1.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/part1.dir/main.cpp.o" + "CMakeFiles/part1.dir/main.cpp.o.d" + "part1" + "part1.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/part1.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.make b/dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.make new file mode 100644 index 0000000..c935df8 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for part1. +# This may be replaced when dependencies are built. diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.ts b/dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.ts new file mode 100644 index 0000000..fa40672 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for part1. diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/depend.make b/dhruv/lab1/src/CMakeFiles/part1.dir/depend.make new file mode 100644 index 0000000..a597a64 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/part1.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for part1. +# This may be replaced when dependencies are built. diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/flags.make b/dhruv/lab1/src/CMakeFiles/part1.dir/flags.make new file mode 100644 index 0000000..6d6ee91 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/part1.dir/flags.make @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.22 + +# compile CXX with /usr/bin/c++ +CXX_DEFINES = + +CXX_INCLUDES = + +CXX_FLAGS = + diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/link.txt b/dhruv/lab1/src/CMakeFiles/part1.dir/link.txt new file mode 100644 index 0000000..6f2cd7d --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/part1.dir/link.txt @@ -0,0 +1 @@ +/usr/bin/c++ CMakeFiles/part1.dir/main.cpp.o -o part1 diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/main.cpp.o b/dhruv/lab1/src/CMakeFiles/part1.dir/main.cpp.o new file mode 100644 index 0000000000000000000000000000000000000000..72c8ede71f559f2de2e5da41fbee1b54a84a9c82 GIT binary patch literal 2552 zcmbVN-ESL35MMi`<)dv30twWD%nJ&rJ>`Ot!iOri!HEr~t?C325H0KT(VVb-*47~8T1JdMXmS?K)fU6fd@WbA{5EY@4Vw~m&*$y?at0`<~KV#w_bnL zXfKybCBae>r^FqLQ6YBkxwEe4%ettDS@HMm6aTC=w|{GXkq0!lZ%tRXcMx|2)B4S6 z+_m2;+gp3v+3vNiy;An#CtJJYu@KpULz|jEOjoy>pPM}o=QWzaO8dz7Z$=-jnyE1eTShr5CDmYu#+9v#RfVHE;f;pXH{1bz#AquRU$xoN<8W z3JvVMa&}FWh4>!W3=PP`6D3MlE{M`*rF87@p?j}WA;$^FfXrcP9Ibp-UOIA6QUICo zy#$=(bxiCpzm^BU{|<1H$1t(~{DcpvNYH}=;!kSFe`Tid%i=6J(cOZcl`P!86Ek@? z?v6)|Wn$!KrFDKL(k+8uB@M~XLi$Y_4_WmvZ=G=T+m(w16yaa*gMR~@K9(y#0(U{O zf87WFYad(;R5bL0(MZU*I=a0mWfVulNRwIfrA)QbQ6Patsvlh;D;`QU?8#o3>Ld$t zdp?SUTxp*>bGl8GtSeg*Y4en|AkL7jqx)&AqkTWvP>Ixuigelv8jTBtJ=;|&?GjVQ zPz_qas%&(gljmOzhvPM?oyMwMJ$!4Z$W z7=PQ~h(B!Mp@rLdVuL?J`luEEfx(e~*1`>(-%RYm_qJ*rz%W?qX2Ce$<98jL^9V1! zJkY93S|<~|!K)zNK=y5tp zw=Q_!*cXSHH%j7Bm}rX4$>D~4FHr+-m8tOmsVdR%CLDC=bz^_!;P(3g*D)ICeVv9a zivUS}nJ96DG`M&(A&*X!c#1S|euoV#e&&Uv-ThCHA368qyYa5=6Bn3$7s#CMk2__H z%Rfa<+(&o+9Yf;tat^jxKTnRL{#Ec}B;h`xfA~hsWBe7uP}4jOTmCQx`eO^%&$>fS zUfXfUi@<`|fUrX}-2PP!ze+w^xPHbyqy<7_>GH4P8_!~4U0 x?qAW~pxiL~e{3|qF}N-tZ=?I|2@;D2bpOCjI)vo%Ak9Vmk*WVv6UWNs{|o!NL+t CMakeFiles/test.dir/main.cpp.i + +CMakeFiles/test.dir/main.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/test.dir/main.cpp.s" + /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/dhruv/lab1/src/main.cpp -o CMakeFiles/test.dir/main.cpp.s + +# Object files for target test +test_OBJECTS = \ +"CMakeFiles/test.dir/main.cpp.o" + +# External object files for target test +test_EXTERNAL_OBJECTS = + +test: CMakeFiles/test.dir/main.cpp.o +test: CMakeFiles/test.dir/build.make +test: CMakeFiles/test.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/dhruv/lab1/src/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable test" + $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/test.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +CMakeFiles/test.dir/build: test +.PHONY : CMakeFiles/test.dir/build + +CMakeFiles/test.dir/clean: + $(CMAKE_COMMAND) -P CMakeFiles/test.dir/cmake_clean.cmake +.PHONY : CMakeFiles/test.dir/clean + +CMakeFiles/test.dir/depend: + cd /home/dhruv/lab1/src && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/dhruv/lab1 /home/dhruv/lab1 /home/dhruv/lab1/src /home/dhruv/lab1/src /home/dhruv/lab1/src/CMakeFiles/test.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : CMakeFiles/test.dir/depend + diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/cmake_clean.cmake b/dhruv/lab1/src/CMakeFiles/test.dir/cmake_clean.cmake new file mode 100644 index 0000000..07f6d8e --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/test.dir/cmake_clean.cmake @@ -0,0 +1,11 @@ +file(REMOVE_RECURSE + "CMakeFiles/test.dir/main.cpp.o" + "CMakeFiles/test.dir/main.cpp.o.d" + "test" + "test.pdb" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/test.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.make b/dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.make new file mode 100644 index 0000000..d3a148e --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.make @@ -0,0 +1,2 @@ +# Empty compiler generated dependencies file for test. +# This may be replaced when dependencies are built. diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.ts b/dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.ts new file mode 100644 index 0000000..a4eb021 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for test. diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/depend.make b/dhruv/lab1/src/CMakeFiles/test.dir/depend.make new file mode 100644 index 0000000..3f2657b --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/test.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for test. +# This may be replaced when dependencies are built. diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/flags.make b/dhruv/lab1/src/CMakeFiles/test.dir/flags.make new file mode 100644 index 0000000..6d6ee91 --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/test.dir/flags.make @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.22 + +# compile CXX with /usr/bin/c++ +CXX_DEFINES = + +CXX_INCLUDES = + +CXX_FLAGS = + diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/link.txt b/dhruv/lab1/src/CMakeFiles/test.dir/link.txt new file mode 100644 index 0000000..d1110ae --- /dev/null +++ b/dhruv/lab1/src/CMakeFiles/test.dir/link.txt @@ -0,0 +1 @@ +/usr/bin/c++ CMakeFiles/test.dir/main.cpp.o -o test diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/main.cpp.o b/dhruv/lab1/src/CMakeFiles/test.dir/main.cpp.o new file mode 100644 index 0000000000000000000000000000000000000000..72c8ede71f559f2de2e5da41fbee1b54a84a9c82 GIT binary patch literal 2552 zcmbVN-ESL35MMi`<)dv30twWD%nJ&rJ>`Ot!iOri!HEr~t?C325H0KT(VVb-*47~8T1JdMXmS?K)fU6fd@WbA{5EY@4Vw~m&*$y?at0`<~KV#w_bnL zXfKybCBae>r^FqLQ6YBkxwEe4%ettDS@HMm6aTC=w|{GXkq0!lZ%tRXcMx|2)B4S6 z+_m2;+gp3v+3vNiy;An#CtJJYu@KpULz|jEOjoy>pPM}o=QWzaO8dz7Z$=-jnyE1eTShr5CDmYu#+9v#RfVHE;f;pXH{1bz#AquRU$xoN<8W z3JvVMa&}FWh4>!W3=PP`6D3MlE{M`*rF87@p?j}WA;$^FfXrcP9Ibp-UOIA6QUICo zy#$=(bxiCpzm^BU{|<1H$1t(~{DcpvNYH}=;!kSFe`Tid%i=6J(cOZcl`P!86Ek@? z?v6)|Wn$!KrFDKL(k+8uB@M~XLi$Y_4_WmvZ=G=T+m(w16yaa*gMR~@K9(y#0(U{O zf87WFYad(;R5bL0(MZU*I=a0mWfVulNRwIfrA)QbQ6Patsvlh;D;`QU?8#o3>Ld$t zdp?SUTxp*>bGl8GtSeg*Y4en|AkL7jqx)&AqkTWvP>Ixuigelv8jTBtJ=;|&?GjVQ zPz_qas%&(gljmOzhvPM?oyMwMJ$!4Z$W z7=PQ~h(B!Mp@rLdVuL?J`luEEfx(e~*1`>(-%RYm_qJ*rz%W?qX2Ce$<98jL^9V1! zJkY93S|<~|!K)zNK=y5tp zw=Q_!*cXSHH%j7Bm}rX4$>D~4FHr+-m8tOmsVdR%CLDC=bz^_!;P(3g*D)ICeVv9a zivUS}nJ96DG`M&(A&*X!c#1S|euoV#e&&Uv-ThCHA368qyYa5=6Bn3$7s#CMk2__H z%Rfa<+(&o+9Yf;tat^jxKTnRL{#Ec}B;h`xfA~hsWBe7uP}4jOTmCQx`eO^%&$>fS zUfXfUi@<`|fUrX}-2PP!ze+w^xPHbyqy<7_>GH4P8_!~4U0 x?qAW~pxiL~e{3|qF}N-tZ=?I|2@;D2bpOCjI)vo%Ak9Vmk*WVv6UWNs{|o!NL+t + +int main() +{ + std::cout << "Hello, World!\n"; +} \ No newline at end of file diff --git a/dhruv/lab1/src/part1 b/dhruv/lab1/src/part1 new file mode 100644 index 0000000000000000000000000000000000000000..1c778b2e6e0f220c297e25b5191fe566d0a6ce7e GIT binary patch literal 16376 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 + +class HelloWorldLib { + public: + HelloWorldLib() = default; + void hello(); +}; \ No newline at end of file diff --git a/dhruv/lab2p1/src/hello_world.cpp b/dhruv/lab2p1/src/hello_world.cpp new file mode 100644 index 0000000..7678cda --- /dev/null +++ b/dhruv/lab2p1/src/hello_world.cpp @@ -0,0 +1,6 @@ +#include +#include "hello_world.hpp" + +void HelloWorldLib::hello() { + std::cout << "hi"; +} \ No newline at end of file diff --git a/dhruv/lab2p1/src/main.cpp b/dhruv/lab2p1/src/main.cpp new file mode 100644 index 0000000..7690359 --- /dev/null +++ b/dhruv/lab2p1/src/main.cpp @@ -0,0 +1,9 @@ +#include +#include "hello_world.hpp" + +int main() { + HelloWorldLib obj; + obj.hello(); + + return 0; +} \ No newline at end of file From 6d1b0fd59ef556fb0545817851c2711bc87401e8 Mon Sep 17 00:00:00 2001 From: Dhruv Date: Sun, 8 Sep 2024 16:46:24 -0400 Subject: [PATCH 2/4] fix --- dhruv/lab2p1/{CMakeLists => CMakeLists.txt} | 0 dhruv/lab2p1/default.nix | 2 +- dhruv/lab2p1/flake.lock | 27 +++++++++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) rename dhruv/lab2p1/{CMakeLists => CMakeLists.txt} (100%) create mode 100644 dhruv/lab2p1/flake.lock diff --git a/dhruv/lab2p1/CMakeLists b/dhruv/lab2p1/CMakeLists.txt similarity index 100% rename from dhruv/lab2p1/CMakeLists rename to dhruv/lab2p1/CMakeLists.txt diff --git a/dhruv/lab2p1/default.nix b/dhruv/lab2p1/default.nix index 0573e8c..cdbb495 100644 --- a/dhruv/lab2p1/default.nix +++ b/dhruv/lab2p1/default.nix @@ -2,7 +2,7 @@ #instructions on how to build the nix package stdenv.mkDerivation rec { pname = "HelloLib"; - version = "1.0"; + version = "0.1.0"; src = ./.; nativeBuildInputs = [ cmake ]; } \ No newline at end of file diff --git a/dhruv/lab2p1/flake.lock b/dhruv/lab2p1/flake.lock new file mode 100644 index 0000000..66f72d1 --- /dev/null +++ b/dhruv/lab2p1/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1725634671, + "narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} From ae621b47af3131c26aac6f59fd15c07366326db6 Mon Sep 17 00:00:00 2001 From: Dhruv Date: Mon, 16 Sep 2024 02:12:02 -0400 Subject: [PATCH 3/4] lab 1 & 2 --- dhruv/lab1/src/CMakeCache.txt | 327 -------- .../CMakeFiles/3.22.1/CMakeCXXCompiler.cmake | 83 -- .../3.22.1/CMakeDetermineCompilerABI_CXX.bin | Bin 15992 -> 0 bytes .../src/CMakeFiles/3.22.1/CMakeSystem.cmake | 15 - .../CompilerIdCXX/CMakeCXXCompilerId.cpp | 791 ------------------ .../src/CMakeFiles/3.22.1/CompilerIdCXX/a.out | Bin 16096 -> 0 bytes .../CMakeDirectoryInformation.cmake | 16 - dhruv/lab1/src/CMakeFiles/CMakeOutput.log | 230 ----- dhruv/lab1/src/CMakeFiles/Makefile.cmake | 43 - dhruv/lab1/src/CMakeFiles/Makefile2 | 112 --- .../lab1/src/CMakeFiles/TargetDirectories.txt | 3 - dhruv/lab1/src/CMakeFiles/cmake.check_cache | 1 - .../src/CMakeFiles/part1.dir/DependInfo.cmake | 19 - .../lab1/src/CMakeFiles/part1.dir/build.make | 110 --- .../CMakeFiles/part1.dir/cmake_clean.cmake | 11 - .../CMakeFiles/part1.dir/compiler_depend.make | 2 - .../CMakeFiles/part1.dir/compiler_depend.ts | 2 - .../lab1/src/CMakeFiles/part1.dir/depend.make | 2 - .../lab1/src/CMakeFiles/part1.dir/flags.make | 10 - dhruv/lab1/src/CMakeFiles/part1.dir/link.txt | 1 - .../lab1/src/CMakeFiles/part1.dir/main.cpp.o | Bin 2552 -> 0 bytes .../src/CMakeFiles/part1.dir/main.cpp.o.d | 147 ---- .../src/CMakeFiles/part1.dir/progress.make | 3 - dhruv/lab1/src/CMakeFiles/progress.marks | 1 - .../src/CMakeFiles/test.dir/DependInfo.cmake | 19 - dhruv/lab1/src/CMakeFiles/test.dir/build.make | 110 --- .../src/CMakeFiles/test.dir/cmake_clean.cmake | 11 - .../CMakeFiles/test.dir/compiler_depend.make | 2 - .../CMakeFiles/test.dir/compiler_depend.ts | 2 - .../lab1/src/CMakeFiles/test.dir/depend.make | 2 - dhruv/lab1/src/CMakeFiles/test.dir/flags.make | 10 - dhruv/lab1/src/CMakeFiles/test.dir/link.txt | 1 - dhruv/lab1/src/CMakeFiles/test.dir/main.cpp.o | Bin 2552 -> 0 bytes .../lab1/src/CMakeFiles/test.dir/main.cpp.o.d | 147 ---- .../src/CMakeFiles/test.dir/progress.make | 3 - dhruv/lab1/src/Makefile | 181 ---- dhruv/lab1/src/cmake_install.cmake | 54 -- dhruv/lab1/src/part1 | Bin 16376 -> 0 bytes dhruv/lab1/src/test | Bin 16376 -> 0 bytes dhruv/lab1p2/CMakeLists.txt | 8 + dhruv/lab1p2/include/hello_world.hpp | 10 + dhruv/lab1p2/src/hello_world.cpp | 6 + dhruv/lab1p2/src/main.cpp | 8 + dhruv/lab2p1/result | 1 + dhruv/lab2p2/default.nix | 9 + dhruv/lab2p2/flake.lock | 27 + dhruv/lab2p2/flake.nix | 27 + dhruv/lab2p2/hellolib.nix | 8 + dhruv/lab2p2/hellolib/CMakeLists.txt | 45 + .../hellolib/cmake/HelloLibConfig.cmake.in | 11 + dhruv/lab2p2/hellolib/include/hellolib.hpp | 7 + dhruv/lab2p2/hellolib/src/hellolib.cpp | 6 + dhruv/lab2p2/hellolib_exe/CMakeLists.txt | 13 + dhruv/lab2p2/hellolib_exe/main.cpp | 8 + dhruv/lab2p2/result | 1 + dhruv/lab2p3/CMakeLists.txt | 13 + dhruv/lab2p3/default.nix | 9 + dhruv/lab2p3/flake.lock | 62 ++ dhruv/lab2p3/flake.nix | 27 + dhruv/lab2p3/result | 1 + dhruv/lab2p3/src/main.cpp | 8 + 61 files changed, 315 insertions(+), 2471 deletions(-) delete mode 100644 dhruv/lab1/src/CMakeCache.txt delete mode 100644 dhruv/lab1/src/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake delete mode 100644 dhruv/lab1/src/CMakeFiles/3.22.1/CMakeDetermineCompilerABI_CXX.bin delete mode 100644 dhruv/lab1/src/CMakeFiles/3.22.1/CMakeSystem.cmake delete mode 100644 dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp delete mode 100644 dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/a.out delete mode 100644 dhruv/lab1/src/CMakeFiles/CMakeDirectoryInformation.cmake delete mode 100644 dhruv/lab1/src/CMakeFiles/CMakeOutput.log delete mode 100644 dhruv/lab1/src/CMakeFiles/Makefile.cmake delete mode 100644 dhruv/lab1/src/CMakeFiles/Makefile2 delete mode 100644 dhruv/lab1/src/CMakeFiles/TargetDirectories.txt delete mode 100644 dhruv/lab1/src/CMakeFiles/cmake.check_cache delete mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/DependInfo.cmake delete mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/build.make delete mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/cmake_clean.cmake delete mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.make delete mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.ts delete mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/depend.make delete mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/flags.make delete mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/link.txt delete mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/main.cpp.o delete mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/main.cpp.o.d delete mode 100644 dhruv/lab1/src/CMakeFiles/part1.dir/progress.make delete mode 100644 dhruv/lab1/src/CMakeFiles/progress.marks delete mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/DependInfo.cmake delete mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/build.make delete mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/cmake_clean.cmake delete mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.make delete mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.ts delete mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/depend.make delete mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/flags.make delete mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/link.txt delete mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/main.cpp.o delete mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/main.cpp.o.d delete mode 100644 dhruv/lab1/src/CMakeFiles/test.dir/progress.make delete mode 100644 dhruv/lab1/src/Makefile delete mode 100644 dhruv/lab1/src/cmake_install.cmake delete mode 100644 dhruv/lab1/src/part1 delete mode 100644 dhruv/lab1/src/test create mode 100644 dhruv/lab1p2/CMakeLists.txt create mode 100644 dhruv/lab1p2/include/hello_world.hpp create mode 100644 dhruv/lab1p2/src/hello_world.cpp create mode 100644 dhruv/lab1p2/src/main.cpp create mode 120000 dhruv/lab2p1/result create mode 100644 dhruv/lab2p2/default.nix create mode 100644 dhruv/lab2p2/flake.lock create mode 100644 dhruv/lab2p2/flake.nix create mode 100644 dhruv/lab2p2/hellolib.nix create mode 100644 dhruv/lab2p2/hellolib/CMakeLists.txt create mode 100644 dhruv/lab2p2/hellolib/cmake/HelloLibConfig.cmake.in create mode 100644 dhruv/lab2p2/hellolib/include/hellolib.hpp create mode 100644 dhruv/lab2p2/hellolib/src/hellolib.cpp create mode 100644 dhruv/lab2p2/hellolib_exe/CMakeLists.txt create mode 100644 dhruv/lab2p2/hellolib_exe/main.cpp create mode 120000 dhruv/lab2p2/result create mode 100644 dhruv/lab2p3/CMakeLists.txt create mode 100644 dhruv/lab2p3/default.nix create mode 100644 dhruv/lab2p3/flake.lock create mode 100644 dhruv/lab2p3/flake.nix create mode 120000 dhruv/lab2p3/result create mode 100644 dhruv/lab2p3/src/main.cpp diff --git a/dhruv/lab1/src/CMakeCache.txt b/dhruv/lab1/src/CMakeCache.txt deleted file mode 100644 index bce0a45..0000000 --- a/dhruv/lab1/src/CMakeCache.txt +++ /dev/null @@ -1,327 +0,0 @@ -# This is the CMakeCache file. -# For build in directory: /home/dhruv/lab1/src -# It was generated by CMake: /usr/bin/cmake -# You can edit this file to change values found and used by cmake. -# If you do not want to change any of the values, simply exit the editor. -# If you do want to change a value, simply edit, save, and exit the editor. -# The syntax for the file is as follows: -# KEY:TYPE=VALUE -# KEY is the name of a variable in the cache. -# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. -# VALUE is the current value for the KEY. - -######################## -# EXTERNAL cache entries -######################## - -//Path to a program. -CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line - -//Path to a program. -CMAKE_AR:FILEPATH=/usr/bin/ar - -//Choose the type of build, options are: None Debug Release RelWithDebInfo -// MinSizeRel ... -CMAKE_BUILD_TYPE:STRING= - -//Enable/Disable color output during build. -CMAKE_COLOR_MAKEFILE:BOOL=ON - -//CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++ - -//A wrapper around 'ar' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-11 - -//A wrapper around 'ranlib' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-11 - -//Flags used by the CXX compiler during all build types. -CMAKE_CXX_FLAGS:STRING= - -//Flags used by the CXX compiler during DEBUG builds. -CMAKE_CXX_FLAGS_DEBUG:STRING=-g - -//Flags used by the CXX compiler during MINSIZEREL builds. -CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG - -//Flags used by the CXX compiler during RELEASE builds. -CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG - -//Flags used by the CXX compiler during RELWITHDEBINFO builds. -CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG - -//Path to a program. -CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND - -//Flags used by the linker during all build types. -CMAKE_EXE_LINKER_FLAGS:STRING= - -//Flags used by the linker during DEBUG builds. -CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= - -//Flags used by the linker during MINSIZEREL builds. -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during RELEASE builds. -CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= - -//Flags used by the linker during RELWITHDEBINFO builds. -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -//Enable/Disable output of compile commands during generation. -CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= - -//Install path prefix, prepended onto install directories. -CMAKE_INSTALL_PREFIX:PATH=/usr/local - -//Path to a program. -CMAKE_LINKER:FILEPATH=/usr/bin/ld - -//Path to a program. -CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake - -//Flags used by the linker during the creation of modules during -// all build types. -CMAKE_MODULE_LINKER_FLAGS:STRING= - -//Flags used by the linker during the creation of modules during -// DEBUG builds. -CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= - -//Flags used by the linker during the creation of modules during -// MINSIZEREL builds. -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during the creation of modules during -// RELEASE builds. -CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= - -//Flags used by the linker during the creation of modules during -// RELWITHDEBINFO builds. -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -//Path to a program. -CMAKE_NM:FILEPATH=/usr/bin/nm - -//Path to a program. -CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy - -//Path to a program. -CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump - -//Value Computed by CMake -CMAKE_PROJECT_DESCRIPTION:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_HOMEPAGE_URL:STATIC= - -//Value Computed by CMake -CMAKE_PROJECT_NAME:STATIC=part1 - -//Path to a program. -CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib - -//Path to a program. -CMAKE_READELF:FILEPATH=/usr/bin/readelf - -//Flags used by the linker during the creation of shared libraries -// during all build types. -CMAKE_SHARED_LINKER_FLAGS:STRING= - -//Flags used by the linker during the creation of shared libraries -// during DEBUG builds. -CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= - -//Flags used by the linker during the creation of shared libraries -// during MINSIZEREL builds. -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during the creation of shared libraries -// during RELEASE builds. -CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= - -//Flags used by the linker during the creation of shared libraries -// during RELWITHDEBINFO builds. -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -//If set, runtime paths are not added when installing shared libraries, -// but are added when building. -CMAKE_SKIP_INSTALL_RPATH:BOOL=NO - -//If set, runtime paths are not added when using shared libraries. -CMAKE_SKIP_RPATH:BOOL=NO - -//Flags used by the linker during the creation of static libraries -// during all build types. -CMAKE_STATIC_LINKER_FLAGS:STRING= - -//Flags used by the linker during the creation of static libraries -// during DEBUG builds. -CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= - -//Flags used by the linker during the creation of static libraries -// during MINSIZEREL builds. -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= - -//Flags used by the linker during the creation of static libraries -// during RELEASE builds. -CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= - -//Flags used by the linker during the creation of static libraries -// during RELWITHDEBINFO builds. -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= - -//Path to a program. -CMAKE_STRIP:FILEPATH=/usr/bin/strip - -//If this value is on, makefiles will be generated without the -// .SILENT directive, and all commands will be echoed to the console -// during the make. This is useful for debugging only. With Visual -// Studio IDE projects all commands are done without /nologo. -CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE - -//Value Computed by CMake -part1_BINARY_DIR:STATIC=/home/dhruv/lab1/src - -//Value Computed by CMake -part1_IS_TOP_LEVEL:STATIC=ON - -//Value Computed by CMake -part1_SOURCE_DIR:STATIC=/home/dhruv/lab1 - - -######################## -# INTERNAL cache entries -######################## - -//ADVANCED property for variable: CMAKE_ADDR2LINE -CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_AR -CMAKE_AR-ADVANCED:INTERNAL=1 -//This is the directory where this CMakeCache.txt was created -CMAKE_CACHEFILE_DIR:INTERNAL=/home/dhruv/lab1/src -//Major version of cmake used to create the current loaded cache -CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 -//Minor version of cmake used to create the current loaded cache -CMAKE_CACHE_MINOR_VERSION:INTERNAL=22 -//Patch version of cmake used to create the current loaded cache -CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 -//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE -CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 -//Path to CMake executable. -CMAKE_COMMAND:INTERNAL=/usr/bin/cmake -//Path to cpack program executable. -CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack -//Path to ctest program executable. -CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest -//ADVANCED property for variable: CMAKE_CXX_COMPILER -CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR -CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB -CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS -CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG -CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL -CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE -CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO -CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_DLLTOOL -CMAKE_DLLTOOL-ADVANCED:INTERNAL=1 -//Executable file format -CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS -CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG -CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL -CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE -CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS -CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 -//Name of external makefile project generator. -CMAKE_EXTRA_GENERATOR:INTERNAL= -//Name of generator. -CMAKE_GENERATOR:INTERNAL=Unix Makefiles -//Generator instance identifier. -CMAKE_GENERATOR_INSTANCE:INTERNAL= -//Name of generator platform. -CMAKE_GENERATOR_PLATFORM:INTERNAL= -//Name of generator toolset. -CMAKE_GENERATOR_TOOLSET:INTERNAL= -//Source directory with the top level CMakeLists.txt file for this -// project -CMAKE_HOME_DIRECTORY:INTERNAL=/home/dhruv/lab1 -//Install .so files without execute permission. -CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1 -//ADVANCED property for variable: CMAKE_LINKER -CMAKE_LINKER-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MAKE_PROGRAM -CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS -CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG -CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL -CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE -CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_NM -CMAKE_NM-ADVANCED:INTERNAL=1 -//number of local generators -CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 -//ADVANCED property for variable: CMAKE_OBJCOPY -CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_OBJDUMP -CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 -//Platform information initialized -CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_RANLIB -CMAKE_RANLIB-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_READELF -CMAKE_READELF-ADVANCED:INTERNAL=1 -//Path to CMake installation. -CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.22 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS -CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG -CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL -CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE -CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH -CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_SKIP_RPATH -CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS -CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG -CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL -CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE -CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO -CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 -//ADVANCED property for variable: CMAKE_STRIP -CMAKE_STRIP-ADVANCED:INTERNAL=1 -//uname command -CMAKE_UNAME:INTERNAL=/usr/bin/uname -//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE -CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 - diff --git a/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake b/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake deleted file mode 100644 index 345e930..0000000 --- a/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake +++ /dev/null @@ -1,83 +0,0 @@ -set(CMAKE_CXX_COMPILER "/usr/bin/c++") -set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "GNU") -set(CMAKE_CXX_COMPILER_VERSION "11.4.0") -set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") -set(CMAKE_CXX_COMPILER_WRAPPER "") -set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17") -set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON") -set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23") -set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") -set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") -set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") -set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") -set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20") -set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23") - -set(CMAKE_CXX_PLATFORM_ID "Linux") -set(CMAKE_CXX_SIMULATE_ID "") -set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "") -set(CMAKE_CXX_SIMULATE_VERSION "") - - - - -set(CMAKE_AR "/usr/bin/ar") -set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-11") -set(CMAKE_RANLIB "/usr/bin/ranlib") -set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-11") -set(CMAKE_LINKER "/usr/bin/ld") -set(CMAKE_MT "") -set(CMAKE_COMPILER_IS_GNUCXX 1) -set(CMAKE_CXX_COMPILER_LOADED 1) -set(CMAKE_CXX_COMPILER_WORKS TRUE) -set(CMAKE_CXX_ABI_COMPILED TRUE) - -set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") - -set(CMAKE_CXX_COMPILER_ID_RUN 1) -set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm) -set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) - -foreach (lang C OBJC OBJCXX) - if (CMAKE_${lang}_COMPILER_ID_RUN) - foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) - list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) - endforeach() - endif() -endforeach() - -set(CMAKE_CXX_LINKER_PREFERENCE 30) -set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) - -# Save compiler ABI information. -set(CMAKE_CXX_SIZEOF_DATA_PTR "8") -set(CMAKE_CXX_COMPILER_ABI "ELF") -set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN") -set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") - -if(CMAKE_CXX_SIZEOF_DATA_PTR) - set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") -endif() - -if(CMAKE_CXX_COMPILER_ABI) - set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") -endif() - -if(CMAKE_CXX_LIBRARY_ARCHITECTURE) - set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") -endif() - -set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") -if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) - set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") -endif() - - - - - -set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/11;/usr/include/x86_64-linux-gnu/c++/11;/usr/include/c++/11/backward;/usr/lib/gcc/x86_64-linux-gnu/11/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include") -set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc") -set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/11;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib") -set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeDetermineCompilerABI_CXX.bin b/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeDetermineCompilerABI_CXX.bin deleted file mode 100644 index 15e6e3f257c3b28cc05e33f293ce25b498a4f570..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15992 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 diff --git a/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeSystem.cmake b/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeSystem.cmake deleted file mode 100644 index 2ede6c3..0000000 --- a/dhruv/lab1/src/CMakeFiles/3.22.1/CMakeSystem.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMAKE_HOST_SYSTEM "Linux-5.15.133.1-microsoft-standard-WSL2") -set(CMAKE_HOST_SYSTEM_NAME "Linux") -set(CMAKE_HOST_SYSTEM_VERSION "5.15.133.1-microsoft-standard-WSL2") -set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") - - - -set(CMAKE_SYSTEM "Linux-5.15.133.1-microsoft-standard-WSL2") -set(CMAKE_SYSTEM_NAME "Linux") -set(CMAKE_SYSTEM_VERSION "5.15.133.1-microsoft-standard-WSL2") -set(CMAKE_SYSTEM_PROCESSOR "x86_64") - -set(CMAKE_CROSSCOMPILING "FALSE") - -set(CMAKE_SYSTEM_LOADED 1) diff --git a/dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp b/dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp deleted file mode 100644 index 25c62a8..0000000 --- a/dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.cpp +++ /dev/null @@ -1,791 +0,0 @@ -/* This source file must have a .cpp extension so that all C++ compilers - recognize the extension without flags. Borland does not know .cxx for - example. */ -#ifndef __cplusplus -# error "A C compiler has been selected for C++." -#endif - -#if !defined(__has_include) -/* If the compiler does not have __has_include, pretend the answer is - always no. */ -# define __has_include(x) 0 -#endif - - -/* Version number components: V=Version, R=Revision, P=Patch - Version date components: YYYY=Year, MM=Month, DD=Day */ - -#if defined(__COMO__) -# define COMPILER_ID "Comeau" - /* __COMO_VERSION__ = VRR */ -# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) -# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) - -#elif defined(__INTEL_COMPILER) || defined(__ICC) -# define COMPILER_ID "Intel" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# if defined(__GNUC__) -# define SIMULATE_ID "GNU" -# endif - /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later, - except that a few beta releases use the old format with V=2021. */ -# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) -# if defined(__INTEL_COMPILER_UPDATE) -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) -# else -# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) -# endif -# else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) -# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) - /* The third version component from --version is an update index, - but no macro is provided for it. */ -# define COMPILER_VERSION_PATCH DEC(0) -# endif -# if defined(__INTEL_COMPILER_BUILD_DATE) - /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ -# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) -# endif -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -# elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) -# define COMPILER_ID "IntelLLVM" -#if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -#endif -#if defined(__GNUC__) -# define SIMULATE_ID "GNU" -#endif -/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and - * later. Look for 6 digit vs. 8 digit version number to decide encoding. - * VVVV is no smaller than the current year when a version is released. - */ -#if __INTEL_LLVM_COMPILER < 1000000L -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) -#else -# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) -# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) -#endif -#if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -#endif -#if defined(__GNUC__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) -#elif defined(__GNUG__) -# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) -#endif -#if defined(__GNUC_MINOR__) -# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) -#endif -#if defined(__GNUC_PATCHLEVEL__) -# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -#endif - -#elif defined(__PATHCC__) -# define COMPILER_ID "PathScale" -# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) -# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) -# if defined(__PATHCC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) -# endif - -#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) -# define COMPILER_ID "Embarcadero" -# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) -# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) -# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) - -#elif defined(__BORLANDC__) -# define COMPILER_ID "Borland" - /* __BORLANDC__ = 0xVRR */ -# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) -# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) - -#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 -# define COMPILER_ID "Watcom" - /* __WATCOMC__ = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__WATCOMC__) -# define COMPILER_ID "OpenWatcom" - /* __WATCOMC__ = VVRP + 1100 */ -# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) -# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) -# if (__WATCOMC__ % 10) > 0 -# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) -# endif - -#elif defined(__SUNPRO_CC) -# define COMPILER_ID "SunPro" -# if __SUNPRO_CC >= 0x5100 - /* __SUNPRO_CC = 0xVRRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# else - /* __SUNPRO_CC = 0xVRP */ -# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) -# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) -# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) -# endif - -#elif defined(__HP_aCC) -# define COMPILER_ID "HP" - /* __HP_aCC = VVRRPP */ -# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) -# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) -# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) - -#elif defined(__DECCXX) -# define COMPILER_ID "Compaq" - /* __DECCXX_VER = VVRRTPPPP */ -# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) -# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) -# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) - -#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) -# define COMPILER_ID "zOS" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__ibmxl__) && defined(__clang__) -# define COMPILER_ID "XLClang" -# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) -# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) -# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) -# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) - - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 -# define COMPILER_ID "XL" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 -# define COMPILER_ID "VisualAge" - /* __IBMCPP__ = VRP */ -# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) -# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) -# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) - -#elif defined(__NVCOMPILER) -# define COMPILER_ID "NVHPC" -# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) -# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) -# if defined(__NVCOMPILER_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) -# endif - -#elif defined(__PGI) -# define COMPILER_ID "PGI" -# define COMPILER_VERSION_MAJOR DEC(__PGIC__) -# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) -# if defined(__PGIC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) -# endif - -#elif defined(_CRAYC) -# define COMPILER_ID "Cray" -# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) -# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) - -#elif defined(__TI_COMPILER_VERSION__) -# define COMPILER_ID "TI" - /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ -# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) -# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) -# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) - -#elif defined(__CLANG_FUJITSU) -# define COMPILER_ID "FujitsuClang" -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# define COMPILER_VERSION_INTERNAL_STR __clang_version__ - - -#elif defined(__FUJITSU) -# define COMPILER_ID "Fujitsu" -# if defined(__FCC_version__) -# define COMPILER_VERSION __FCC_version__ -# elif defined(__FCC_major__) -# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) -# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) -# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) -# endif -# if defined(__fcc_version) -# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) -# elif defined(__FCC_VERSION) -# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) -# endif - - -#elif defined(__ghs__) -# define COMPILER_ID "GHS" -/* __GHS_VERSION_NUMBER = VVVVRP */ -# ifdef __GHS_VERSION_NUMBER -# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) -# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) -# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) -# endif - -#elif defined(__SCO_VERSION__) -# define COMPILER_ID "SCO" - -#elif defined(__ARMCC_VERSION) && !defined(__clang__) -# define COMPILER_ID "ARMCC" -#if __ARMCC_VERSION >= 1000000 - /* __ARMCC_VERSION = VRRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#else - /* __ARMCC_VERSION = VRPPPP */ - # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) - # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) - # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) -#endif - - -#elif defined(__clang__) && defined(__apple_build_version__) -# define COMPILER_ID "AppleClang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif -# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) - -#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) -# define COMPILER_ID "ARMClang" - # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) - # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) - # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000) -# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) - -#elif defined(__clang__) -# define COMPILER_ID "Clang" -# if defined(_MSC_VER) -# define SIMULATE_ID "MSVC" -# endif -# define COMPILER_VERSION_MAJOR DEC(__clang_major__) -# define COMPILER_VERSION_MINOR DEC(__clang_minor__) -# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) -# if defined(_MSC_VER) - /* _MSC_VER = VVRR */ -# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) -# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) -# endif - -#elif defined(__GNUC__) || defined(__GNUG__) -# define COMPILER_ID "GNU" -# if defined(__GNUC__) -# define COMPILER_VERSION_MAJOR DEC(__GNUC__) -# else -# define COMPILER_VERSION_MAJOR DEC(__GNUG__) -# endif -# if defined(__GNUC_MINOR__) -# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) -# endif -# if defined(__GNUC_PATCHLEVEL__) -# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) -# endif - -#elif defined(_MSC_VER) -# define COMPILER_ID "MSVC" - /* _MSC_VER = VVRR */ -# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) -# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) -# if defined(_MSC_FULL_VER) -# if _MSC_VER >= 1400 - /* _MSC_FULL_VER = VVRRPPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) -# else - /* _MSC_FULL_VER = VVRRPPPP */ -# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) -# endif -# endif -# if defined(_MSC_BUILD) -# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) -# endif - -#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) -# define COMPILER_ID "ADSP" -#if defined(__VISUALDSPVERSION__) - /* __VISUALDSPVERSION__ = 0xVVRRPP00 */ -# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24) -# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF) -# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF) -#endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# define COMPILER_ID "IAR" -# if defined(__VER__) && defined(__ICCARM__) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) -# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) -# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) -# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) -# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) -# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) -# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) -# endif - - -/* These compilers are either not known or too old to define an - identification macro. Try to identify the platform and guess that - it is the native compiler. */ -#elif defined(__hpux) || defined(__hpua) -# define COMPILER_ID "HP" - -#else /* unknown compiler */ -# define COMPILER_ID "" -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; -#ifdef SIMULATE_ID -char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; -#endif - -#ifdef __QNXNTO__ -char const* qnxnto = "INFO" ":" "qnxnto[]"; -#endif - -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) -char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; -#endif - -#define STRINGIFY_HELPER(X) #X -#define STRINGIFY(X) STRINGIFY_HELPER(X) - -/* Identify known platforms by name. */ -#if defined(__linux) || defined(__linux__) || defined(linux) -# define PLATFORM_ID "Linux" - -#elif defined(__MSYS__) -# define PLATFORM_ID "MSYS" - -#elif defined(__CYGWIN__) -# define PLATFORM_ID "Cygwin" - -#elif defined(__MINGW32__) -# define PLATFORM_ID "MinGW" - -#elif defined(__APPLE__) -# define PLATFORM_ID "Darwin" - -#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) -# define PLATFORM_ID "Windows" - -#elif defined(__FreeBSD__) || defined(__FreeBSD) -# define PLATFORM_ID "FreeBSD" - -#elif defined(__NetBSD__) || defined(__NetBSD) -# define PLATFORM_ID "NetBSD" - -#elif defined(__OpenBSD__) || defined(__OPENBSD) -# define PLATFORM_ID "OpenBSD" - -#elif defined(__sun) || defined(sun) -# define PLATFORM_ID "SunOS" - -#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) -# define PLATFORM_ID "AIX" - -#elif defined(__hpux) || defined(__hpux__) -# define PLATFORM_ID "HP-UX" - -#elif defined(__HAIKU__) -# define PLATFORM_ID "Haiku" - -#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) -# define PLATFORM_ID "BeOS" - -#elif defined(__QNX__) || defined(__QNXNTO__) -# define PLATFORM_ID "QNX" - -#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) -# define PLATFORM_ID "Tru64" - -#elif defined(__riscos) || defined(__riscos__) -# define PLATFORM_ID "RISCos" - -#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) -# define PLATFORM_ID "SINIX" - -#elif defined(__UNIX_SV__) -# define PLATFORM_ID "UNIX_SV" - -#elif defined(__bsdos__) -# define PLATFORM_ID "BSDOS" - -#elif defined(_MPRAS) || defined(MPRAS) -# define PLATFORM_ID "MP-RAS" - -#elif defined(__osf) || defined(__osf__) -# define PLATFORM_ID "OSF1" - -#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) -# define PLATFORM_ID "SCO_SV" - -#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) -# define PLATFORM_ID "ULTRIX" - -#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) -# define PLATFORM_ID "Xenix" - -#elif defined(__WATCOMC__) -# if defined(__LINUX__) -# define PLATFORM_ID "Linux" - -# elif defined(__DOS__) -# define PLATFORM_ID "DOS" - -# elif defined(__OS2__) -# define PLATFORM_ID "OS2" - -# elif defined(__WINDOWS__) -# define PLATFORM_ID "Windows3x" - -# elif defined(__VXWORKS__) -# define PLATFORM_ID "VxWorks" - -# else /* unknown platform */ -# define PLATFORM_ID -# endif - -#elif defined(__INTEGRITY) -# if defined(INT_178B) -# define PLATFORM_ID "Integrity178" - -# else /* regular Integrity */ -# define PLATFORM_ID "Integrity" -# endif - -#else /* unknown platform */ -# define PLATFORM_ID - -#endif - -/* For windows compilers MSVC and Intel we can determine - the architecture of the compiler being used. This is because - the compilers do not have flags that can change the architecture, - but rather depend on which compiler is being used -*/ -#if defined(_WIN32) && defined(_MSC_VER) -# if defined(_M_IA64) -# define ARCHITECTURE_ID "IA64" - -# elif defined(_M_ARM64EC) -# define ARCHITECTURE_ID "ARM64EC" - -# elif defined(_M_X64) || defined(_M_AMD64) -# define ARCHITECTURE_ID "x64" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# elif defined(_M_ARM64) -# define ARCHITECTURE_ID "ARM64" - -# elif defined(_M_ARM) -# if _M_ARM == 4 -# define ARCHITECTURE_ID "ARMV4I" -# elif _M_ARM == 5 -# define ARCHITECTURE_ID "ARMV5I" -# else -# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) -# endif - -# elif defined(_M_MIPS) -# define ARCHITECTURE_ID "MIPS" - -# elif defined(_M_SH) -# define ARCHITECTURE_ID "SHx" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__WATCOMC__) -# if defined(_M_I86) -# define ARCHITECTURE_ID "I86" - -# elif defined(_M_IX86) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) -# if defined(__ICCARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__ICCRX__) -# define ARCHITECTURE_ID "RX" - -# elif defined(__ICCRH850__) -# define ARCHITECTURE_ID "RH850" - -# elif defined(__ICCRL78__) -# define ARCHITECTURE_ID "RL78" - -# elif defined(__ICCRISCV__) -# define ARCHITECTURE_ID "RISCV" - -# elif defined(__ICCAVR__) -# define ARCHITECTURE_ID "AVR" - -# elif defined(__ICC430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__ICCV850__) -# define ARCHITECTURE_ID "V850" - -# elif defined(__ICC8051__) -# define ARCHITECTURE_ID "8051" - -# elif defined(__ICCSTM8__) -# define ARCHITECTURE_ID "STM8" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__ghs__) -# if defined(__PPC64__) -# define ARCHITECTURE_ID "PPC64" - -# elif defined(__ppc__) -# define ARCHITECTURE_ID "PPC" - -# elif defined(__ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__x86_64__) -# define ARCHITECTURE_ID "x64" - -# elif defined(__i386__) -# define ARCHITECTURE_ID "X86" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#elif defined(__TI_COMPILER_VERSION__) -# if defined(__TI_ARM__) -# define ARCHITECTURE_ID "ARM" - -# elif defined(__MSP430__) -# define ARCHITECTURE_ID "MSP430" - -# elif defined(__TMS320C28XX__) -# define ARCHITECTURE_ID "TMS320C28x" - -# elif defined(__TMS320C6X__) || defined(_TMS320C6X) -# define ARCHITECTURE_ID "TMS320C6x" - -# else /* unknown architecture */ -# define ARCHITECTURE_ID "" -# endif - -#else -# define ARCHITECTURE_ID -#endif - -/* Convert integer to decimal digit literals. */ -#define DEC(n) \ - ('0' + (((n) / 10000000)%10)), \ - ('0' + (((n) / 1000000)%10)), \ - ('0' + (((n) / 100000)%10)), \ - ('0' + (((n) / 10000)%10)), \ - ('0' + (((n) / 1000)%10)), \ - ('0' + (((n) / 100)%10)), \ - ('0' + (((n) / 10)%10)), \ - ('0' + ((n) % 10)) - -/* Convert integer to hex digit literals. */ -#define HEX(n) \ - ('0' + ((n)>>28 & 0xF)), \ - ('0' + ((n)>>24 & 0xF)), \ - ('0' + ((n)>>20 & 0xF)), \ - ('0' + ((n)>>16 & 0xF)), \ - ('0' + ((n)>>12 & 0xF)), \ - ('0' + ((n)>>8 & 0xF)), \ - ('0' + ((n)>>4 & 0xF)), \ - ('0' + ((n) & 0xF)) - -/* Construct a string literal encoding the version number. */ -#ifdef COMPILER_VERSION -char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; - -/* Construct a string literal encoding the version number components. */ -#elif defined(COMPILER_VERSION_MAJOR) -char const info_version[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', - COMPILER_VERSION_MAJOR, -# ifdef COMPILER_VERSION_MINOR - '.', COMPILER_VERSION_MINOR, -# ifdef COMPILER_VERSION_PATCH - '.', COMPILER_VERSION_PATCH, -# ifdef COMPILER_VERSION_TWEAK - '.', COMPILER_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct a string literal encoding the internal version number. */ -#ifdef COMPILER_VERSION_INTERNAL -char const info_version_internal[] = { - 'I', 'N', 'F', 'O', ':', - 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', - 'i','n','t','e','r','n','a','l','[', - COMPILER_VERSION_INTERNAL,']','\0'}; -#elif defined(COMPILER_VERSION_INTERNAL_STR) -char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; -#endif - -/* Construct a string literal encoding the version number components. */ -#ifdef SIMULATE_VERSION_MAJOR -char const info_simulate_version[] = { - 'I', 'N', 'F', 'O', ':', - 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', - SIMULATE_VERSION_MAJOR, -# ifdef SIMULATE_VERSION_MINOR - '.', SIMULATE_VERSION_MINOR, -# ifdef SIMULATE_VERSION_PATCH - '.', SIMULATE_VERSION_PATCH, -# ifdef SIMULATE_VERSION_TWEAK - '.', SIMULATE_VERSION_TWEAK, -# endif -# endif -# endif - ']','\0'}; -#endif - -/* Construct the string literal in pieces to prevent the source from - getting matched. Store it in a pointer rather than an array - because some compilers will just produce instructions to fill the - array rather than assigning a pointer to a static array. */ -char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; -char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; - - - -#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L -# if defined(__INTEL_CXX11_MODE__) -# if defined(__cpp_aggregate_nsdmi) -# define CXX_STD 201402L -# else -# define CXX_STD 201103L -# endif -# else -# define CXX_STD 199711L -# endif -#elif defined(_MSC_VER) && defined(_MSVC_LANG) -# define CXX_STD _MSVC_LANG -#else -# define CXX_STD __cplusplus -#endif - -const char* info_language_standard_default = "INFO" ":" "standard_default[" -#if CXX_STD > 202002L - "23" -#elif CXX_STD > 201703L - "20" -#elif CXX_STD >= 201703L - "17" -#elif CXX_STD >= 201402L - "14" -#elif CXX_STD >= 201103L - "11" -#else - "98" -#endif -"]"; - -const char* info_language_extensions_default = "INFO" ":" "extensions_default[" -/* !defined(_MSC_VER) to exclude Clang's MSVC compatibility mode. */ -#if (defined(__clang__) || defined(__GNUC__) || \ - defined(__TI_COMPILER_VERSION__)) && \ - !defined(__STRICT_ANSI__) && !defined(_MSC_VER) - "ON" -#else - "OFF" -#endif -"]"; - -/*--------------------------------------------------------------------------*/ - -int main(int argc, char* argv[]) -{ - int require = 0; - require += info_compiler[argc]; - require += info_platform[argc]; -#ifdef COMPILER_VERSION_MAJOR - require += info_version[argc]; -#endif -#ifdef COMPILER_VERSION_INTERNAL - require += info_version_internal[argc]; -#endif -#ifdef SIMULATE_ID - require += info_simulate[argc]; -#endif -#ifdef SIMULATE_VERSION_MAJOR - require += info_simulate_version[argc]; -#endif -#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) - require += info_cray[argc]; -#endif - require += info_language_standard_default[argc]; - require += info_language_extensions_default[argc]; - (void)argv; - return require; -} diff --git a/dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/a.out b/dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/a.out deleted file mode 100644 index 9944be481759fba2110a3ba6af6d9c647c7ea1a9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16096 zcmeHOYit}>6~4Pk8izc*NgEQ9(k!K|5?W7e$4O0)$vXBrV`Rr^;*>yYMq}^VyJ8<^ zcb3`_v_XMllLR#a0Y8FNwGv1mBoL^m6)jE+MX3r(evwKDg-6vOrLB3J5@k8(-t(=; z({&KgAN-hOdCooGdE7ha-kH5KbMM2+zMg0#qCiX32Ng?+m_ZVvcWxzsPG~kpstHS4Y=HSiBDIEP@vn!MR4MzaMs zmpzsykrF)Ols&iPIe9l*P%LwPcd31Sy?eWyR;$(8Su5{oQ%>(-zmrOr(qq}Omo5$V zcjbzO^q@PO<8Wj7VnM<=#>XE37wOix8f=JsN|R5oQ-aMpSJG4_KqU!gQd>5gXz z*Dc;A8@r7Gyd-!$fPY@_tpWT?f;R{7?+AWrkJ7|r zhx-b2*@yEO16}dq7~8Cy_2E2jL32J_-*2G^d6Zh5VD z`r^mz>EGHXem{F)FxfKGa^61O@gfDNt}m12Uq-FQEuYo#2tP-NeR|o`%-%oet*5H* z=Q35jqI$V;%W*b*UO3sG(e^vPz--%fdwSMB_xc|D+}sj7@`8Qwx_1i&xKjc&R4>D*I%|O(a~|R;^aAr0DR14igz7-v$1Ec#xDF z=rH+BfBLFDUAg?Tq-uP2CX&2H_|x@pV|aS~PuEa3 zpIjQNS)Z+EO;JwO!%rr!4N>>h`mWYn+@z4g41^g7GZ1DV%s`ldFau!*!VH8N2s037 zAk4s9Gr-@!ZbZHNdj@uo6!YWRT)K3WzDf=)v|gZhKAA3+v&F*EW=$CyjF6!#1R$u+S@qFt+RicV3@41^SBAk09RfiMGM2Eq)483;2FW+2Q!n1Q!9 z16Z$!^@&&ms2^Uas#T~?)-SFW`A4$O@m(Tg9pq+_@d&d?WUPne=N=~L|9ZVzWcjmr-Q9p8F*xKi*caeC0FC;X*PZ)&T$Hc3#BlL8Sajii* ze2V_LUR+ner>GE7H!EBxz`sd_dhLH!+s9NQZY*03qX_lwFAyG~mE2SB5knuV7ysAV zp01X_czIR(t*x!YN0>LY{X1*d5%3r#WE}(_Zz4SIlTkdP@eN8PfEeCOcuZ}mD%@{?-!JyTI3qeftmb)%@U_tm3ga4@hZ(1uRoozQnW`^pe1i(EzdkE?a6R=i zgvV%{Boc^h_ydHmqw$cC@uuG)k?J{#6BB#f4=zX?j5kF4mBiU5_g($Yh?KwKICNe? z``0A?)-aJ}p!d@c1?JYnq6esyT117v0QQ3%{eKrSSmYiWkT^g#$4Jy4s z7QA;L>$s(oJL#kgUTIQ|mfU>WNmcUsNpkT?4q18&OuPEskEgqi9O;rbnY}4%WPDsX zAMI;t%@#(Bcymc{dJcB>C!OT}Zin^}bbn-jXMb-O!Sw3WN!p^dyALX7U*Evq&OT?L zr{_>|&>8I9+m|Gd;J$_gb~F6D9SrG|>$yswB}HMuY-b>0;ob%(RW3RidOgbf9(o7J zDwQobm2x_z^r_(8s*!STVXWegrJc9FH&v8J@xdEjs%*GimWuVZ49B637LpDfz7{a} ziuMM(E*5V7sHKEAc<8<|P38B$N?GN}yyp%R_ezFmP|6l)-^aMJ3Pmq%jTI`^c&Rv^ zE_staXt~N z!1(vr?~nNacpQepgZ>{T{BJY|L;ErB1V{atch>G}63->hb58hUUJCxG*l`;F8CDb{1nXpCrHV2O!#A736A+X+7CPMhsdAjtdKEp1#gzhgY8F~PE&z% z3V+O_!7-0U{lWA9D*5s`L0|h_k>3|QKah#0VE=ucP``g%{J=#N@A;oC;ExCVn?(T* zI|P6X{_TK&LKNV~0v!fF#QR>rAM+Y;JYT^+c>X^Wf8<}q#Zvfr5y1q8sD4Z(ZX*0& z5(DsiYL=!DtpDc(`~By{AN9sQv|#u27)> diff --git a/dhruv/lab1/src/CMakeFiles/CMakeDirectoryInformation.cmake b/dhruv/lab1/src/CMakeFiles/CMakeDirectoryInformation.cmake deleted file mode 100644 index 98ea161..0000000 --- a/dhruv/lab1/src/CMakeFiles/CMakeDirectoryInformation.cmake +++ /dev/null @@ -1,16 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.22 - -# Relative path conversion top directories. -set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/dhruv/lab1") -set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/dhruv/lab1/src") - -# Force unix paths in dependencies. -set(CMAKE_FORCE_UNIX_PATHS 1) - - -# The C and CXX include file regular expressions for this directory. -set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") -set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") -set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) -set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git a/dhruv/lab1/src/CMakeFiles/CMakeOutput.log b/dhruv/lab1/src/CMakeFiles/CMakeOutput.log deleted file mode 100644 index f5cd42f..0000000 --- a/dhruv/lab1/src/CMakeFiles/CMakeOutput.log +++ /dev/null @@ -1,230 +0,0 @@ -The system is: Linux - 5.15.133.1-microsoft-standard-WSL2 - x86_64 -Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. -Compiler: /usr/bin/c++ -Build flags: -Id flags: - -The output was: -0 - - -Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" - -The CXX compiler identification is GNU, found in "/home/dhruv/lab1/src/CMakeFiles/3.22.1/CompilerIdCXX/a.out" - -Detecting CXX compiler ABI info compiled with the following output: -Change Dir: /home/dhruv/lab1/src/CMakeFiles/CMakeTmp - -Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_45ce8/fast && /usr/bin/gmake -f CMakeFiles/cmTC_45ce8.dir/build.make CMakeFiles/cmTC_45ce8.dir/build -gmake[1]: Entering directory '/home/dhruv/lab1/src/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o -/usr/bin/c++ -v -o CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp -Using built-in specs. -COLLECT_GCC=/usr/bin/c++ -OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa -OFFLOAD_TARGET_DEFAULT=1 -Target: x86_64-linux-gnu -Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 -Thread model: posix -Supported LTO compression algorithms: zlib zstd -gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_45ce8.dir/' - /usr/lib/gcc/x86_64-linux-gnu/11/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_45ce8.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccim1Kgx.s -GNU C++17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu) - compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP - -GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 -ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/11" -ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu" -ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/include-fixed" -ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/include" -#include "..." search starts here: -#include <...> search starts here: - /usr/include/c++/11 - /usr/include/x86_64-linux-gnu/c++/11 - /usr/include/c++/11/backward - /usr/lib/gcc/x86_64-linux-gnu/11/include - /usr/local/include - /usr/include/x86_64-linux-gnu - /usr/include -End of search list. -GNU C++17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu) - compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP - -GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 -Compiler executable checksum: d591828bb4d392ae8b7b160e5bb0b95f -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_45ce8.dir/' - as -v --64 -o CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccim1Kgx.s -GNU assembler version 2.38 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.38 -COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/ -LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/ -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.' -Linking CXX executable cmTC_45ce8 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_45ce8.dir/link.txt --verbose=1 -/usr/bin/c++ -v CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_45ce8 -Using built-in specs. -COLLECT_GCC=/usr/bin/c++ -COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa -OFFLOAD_TARGET_DEFAULT=1 -Target: x86_64-linux-gnu -Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2 -Thread model: posix -Supported LTO compression algorithms: zlib zstd -gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) -COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/ -LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/ -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_45ce8' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_45ce8.' - /usr/lib/gcc/x86_64-linux-gnu/11/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/ccaTlDI6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_45ce8 /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_45ce8' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_45ce8.' -gmake[1]: Leaving directory '/home/dhruv/lab1/src/CMakeFiles/CMakeTmp' - - - -Parsed CXX implicit include dir info from above output: rv=done - found start of include info - found start of implicit include info - add: [/usr/include/c++/11] - add: [/usr/include/x86_64-linux-gnu/c++/11] - add: [/usr/include/c++/11/backward] - add: [/usr/lib/gcc/x86_64-linux-gnu/11/include] - add: [/usr/local/include] - add: [/usr/include/x86_64-linux-gnu] - add: [/usr/include] - end of search list found - collapse include dir [/usr/include/c++/11] ==> [/usr/include/c++/11] - collapse include dir [/usr/include/x86_64-linux-gnu/c++/11] ==> [/usr/include/x86_64-linux-gnu/c++/11] - collapse include dir [/usr/include/c++/11/backward] ==> [/usr/include/c++/11/backward] - collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/11/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/11/include] - collapse include dir [/usr/local/include] ==> [/usr/local/include] - collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu] - collapse include dir [/usr/include] ==> [/usr/include] - implicit include dirs: [/usr/include/c++/11;/usr/include/x86_64-linux-gnu/c++/11;/usr/include/c++/11/backward;/usr/lib/gcc/x86_64-linux-gnu/11/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include] - - -Parsed CXX implicit link information from above output: - link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] - ignore line: [Change Dir: /home/dhruv/lab1/src/CMakeFiles/CMakeTmp] - ignore line: [] - ignore line: [Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_45ce8/fast && /usr/bin/gmake -f CMakeFiles/cmTC_45ce8.dir/build.make CMakeFiles/cmTC_45ce8.dir/build] - ignore line: [gmake[1]: Entering directory '/home/dhruv/lab1/src/CMakeFiles/CMakeTmp'] - ignore line: [Building CXX object CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o] - ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp] - ignore line: [Using built-in specs.] - ignore line: [COLLECT_GCC=/usr/bin/c++] - ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa] - ignore line: [OFFLOAD_TARGET_DEFAULT=1] - ignore line: [Target: x86_64-linux-gnu] - ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2] - ignore line: [Thread model: posix] - ignore line: [Supported LTO compression algorithms: zlib zstd] - ignore line: [gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) ] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_45ce8.dir/'] - ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/11/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_45ce8.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccim1Kgx.s] - ignore line: [GNU C++17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)] - ignore line: [ compiled by GNU C version 11.4.0 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.1 isl version isl-0.24-GMP] - ignore line: [] - ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] - ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/11"] - ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"] - ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/include-fixed"] - ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/11/../../../../x86_64-linux-gnu/include"] - ignore line: [#include "..." search starts here:] - ignore line: [#include <...> search starts here:] - ignore line: [ /usr/include/c++/11] - ignore line: [ /usr/include/x86_64-linux-gnu/c++/11] - ignore line: [ /usr/include/c++/11/backward] - ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/11/include] - ignore line: [ /usr/local/include] - ignore line: [ /usr/include/x86_64-linux-gnu] - ignore line: [ /usr/include] - ignore line: [End of search list.] - ignore line: [GNU C++17 (Ubuntu 11.4.0-1ubuntu1~22.04) version 11.4.0 (x86_64-linux-gnu)] - ignore line: [ compiled by GNU C version 11.4.0 GMP version 6.2.1 MPFR version 4.1.0 MPC version 1.2.1 isl version isl-0.24-GMP] - ignore line: [] - ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] - ignore line: [Compiler executable checksum: d591828bb4d392ae8b7b160e5bb0b95f] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_45ce8.dir/'] - ignore line: [ as -v --64 -o CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccim1Kgx.s] - ignore line: [GNU assembler version 2.38 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.38] - ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/] - ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.'] - ignore line: [Linking CXX executable cmTC_45ce8] - ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_45ce8.dir/link.txt --verbose=1] - ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_45ce8 ] - ignore line: [Using built-in specs.] - ignore line: [COLLECT_GCC=/usr/bin/c++] - ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper] - ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa] - ignore line: [OFFLOAD_TARGET_DEFAULT=1] - ignore line: [Target: x86_64-linux-gnu] - ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2] - ignore line: [Thread model: posix] - ignore line: [Supported LTO compression algorithms: zlib zstd] - ignore line: [gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) ] - ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/] - ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/11/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/11/../../../:/lib/:/usr/lib/] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_45ce8' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_45ce8.'] - link line: [ /usr/lib/gcc/x86_64-linux-gnu/11/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/ccaTlDI6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_45ce8 /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o] - arg [/usr/lib/gcc/x86_64-linux-gnu/11/collect2] ==> ignore - arg [-plugin] ==> ignore - arg [/usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so] ==> ignore - arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper] ==> ignore - arg [-plugin-opt=-fresolution=/tmp/ccaTlDI6.res] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc] ==> ignore - arg [-plugin-opt=-pass-through=-lc] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore - arg [-plugin-opt=-pass-through=-lgcc] ==> ignore - arg [--build-id] ==> ignore - arg [--eh-frame-hdr] ==> ignore - arg [-m] ==> ignore - arg [elf_x86_64] ==> ignore - arg [--hash-style=gnu] ==> ignore - arg [--as-needed] ==> ignore - arg [-dynamic-linker] ==> ignore - arg [/lib64/ld-linux-x86-64.so.2] ==> ignore - arg [-pie] ==> ignore - arg [-znow] ==> ignore - arg [-zrelro] ==> ignore - arg [-o] ==> ignore - arg [cmTC_45ce8] ==> ignore - arg [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o] - arg [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o] - arg [/usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o] - arg [-L/usr/lib/gcc/x86_64-linux-gnu/11] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11] - arg [-L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu] - arg [-L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib] - arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu] - arg [-L/lib/../lib] ==> dir [/lib/../lib] - arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] - arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] - arg [-L/usr/lib/gcc/x86_64-linux-gnu/11/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../..] - arg [CMakeFiles/cmTC_45ce8.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore - arg [-lstdc++] ==> lib [stdc++] - arg [-lm] ==> lib [m] - arg [-lgcc_s] ==> lib [gcc_s] - arg [-lgcc] ==> lib [gcc] - arg [-lc] ==> lib [c] - arg [-lgcc_s] ==> lib [gcc_s] - arg [-lgcc] ==> lib [gcc] - arg [/usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o] - arg [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o] - collapse obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o] - collapse obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o] - collapse obj [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o] - collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11] ==> [/usr/lib/gcc/x86_64-linux-gnu/11] - collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] - collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib] ==> [/usr/lib] - collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu] - collapse library dir [/lib/../lib] ==> [/lib] - collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] - collapse library dir [/usr/lib/../lib] ==> [/usr/lib] - collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/11/../../..] ==> [/usr/lib] - implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc] - implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o] - implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/11;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib] - implicit fwks: [] - - diff --git a/dhruv/lab1/src/CMakeFiles/Makefile.cmake b/dhruv/lab1/src/CMakeFiles/Makefile.cmake deleted file mode 100644 index 94ac140..0000000 --- a/dhruv/lab1/src/CMakeFiles/Makefile.cmake +++ /dev/null @@ -1,43 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.22 - -# The generator used is: -set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") - -# The top level Makefile was generated from the following files: -set(CMAKE_MAKEFILE_DEPENDS - "CMakeCache.txt" - "../CMakeLists.txt" - "CMakeFiles/3.22.1/CMakeCXXCompiler.cmake" - "CMakeFiles/3.22.1/CMakeSystem.cmake" - "/usr/share/cmake-3.22/Modules/CMakeCXXInformation.cmake" - "/usr/share/cmake-3.22/Modules/CMakeCommonLanguageInclude.cmake" - "/usr/share/cmake-3.22/Modules/CMakeGenericSystem.cmake" - "/usr/share/cmake-3.22/Modules/CMakeInitializeConfigs.cmake" - "/usr/share/cmake-3.22/Modules/CMakeLanguageInformation.cmake" - "/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInformation.cmake" - "/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInitialize.cmake" - "/usr/share/cmake-3.22/Modules/Compiler/CMakeCommonCompilerMacros.cmake" - "/usr/share/cmake-3.22/Modules/Compiler/GNU-CXX.cmake" - "/usr/share/cmake-3.22/Modules/Compiler/GNU.cmake" - "/usr/share/cmake-3.22/Modules/Platform/Linux-GNU-CXX.cmake" - "/usr/share/cmake-3.22/Modules/Platform/Linux-GNU.cmake" - "/usr/share/cmake-3.22/Modules/Platform/Linux.cmake" - "/usr/share/cmake-3.22/Modules/Platform/UnixPaths.cmake" - ) - -# The corresponding makefile is: -set(CMAKE_MAKEFILE_OUTPUTS - "Makefile" - "CMakeFiles/cmake.check_cache" - ) - -# Byproducts of CMake generate step: -set(CMAKE_MAKEFILE_PRODUCTS - "CMakeFiles/CMakeDirectoryInformation.cmake" - ) - -# Dependency information for all targets: -set(CMAKE_DEPEND_INFO_FILES - "CMakeFiles/test.dir/DependInfo.cmake" - ) diff --git a/dhruv/lab1/src/CMakeFiles/Makefile2 b/dhruv/lab1/src/CMakeFiles/Makefile2 deleted file mode 100644 index 4d9ef9d..0000000 --- a/dhruv/lab1/src/CMakeFiles/Makefile2 +++ /dev/null @@ -1,112 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.22 - -# Default target executed when no arguments are given to make. -default_target: all -.PHONY : default_target - -#============================================================================= -# Special targets provided by cmake. - -# Disable implicit rules so canonical targets will work. -.SUFFIXES: - -# Disable VCS-based implicit rules. -% : %,v - -# Disable VCS-based implicit rules. -% : RCS/% - -# Disable VCS-based implicit rules. -% : RCS/%,v - -# Disable VCS-based implicit rules. -% : SCCS/s.% - -# Disable VCS-based implicit rules. -% : s.% - -.SUFFIXES: .hpux_make_needs_suffix_list - -# Command-line flag to silence nested $(MAKE). -$(VERBOSE)MAKESILENT = -s - -#Suppress display of executed commands. -$(VERBOSE).SILENT: - -# A target that is always out of date. -cmake_force: -.PHONY : cmake_force - -#============================================================================= -# Set environment variables for the build. - -# The shell in which to execute make rules. -SHELL = /bin/sh - -# The CMake executable. -CMAKE_COMMAND = /usr/bin/cmake - -# The command to remove a file. -RM = /usr/bin/cmake -E rm -f - -# Escaping for special characters. -EQUALS = = - -# The top-level source directory on which CMake was run. -CMAKE_SOURCE_DIR = /home/dhruv/lab1 - -# The top-level build directory on which CMake was run. -CMAKE_BINARY_DIR = /home/dhruv/lab1/src - -#============================================================================= -# Directory level rules for the build root directory - -# The main recursive "all" target. -all: CMakeFiles/test.dir/all -.PHONY : all - -# The main recursive "preinstall" target. -preinstall: -.PHONY : preinstall - -# The main recursive "clean" target. -clean: CMakeFiles/test.dir/clean -.PHONY : clean - -#============================================================================= -# Target rules for target CMakeFiles/test.dir - -# All Build rule for target. -CMakeFiles/test.dir/all: - $(MAKE) $(MAKESILENT) -f CMakeFiles/test.dir/build.make CMakeFiles/test.dir/depend - $(MAKE) $(MAKESILENT) -f CMakeFiles/test.dir/build.make CMakeFiles/test.dir/build - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/dhruv/lab1/src/CMakeFiles --progress-num=1,2 "Built target test" -.PHONY : CMakeFiles/test.dir/all - -# Build rule for subdir invocation for target. -CMakeFiles/test.dir/rule: cmake_check_build_system - $(CMAKE_COMMAND) -E cmake_progress_start /home/dhruv/lab1/src/CMakeFiles 2 - $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/test.dir/all - $(CMAKE_COMMAND) -E cmake_progress_start /home/dhruv/lab1/src/CMakeFiles 0 -.PHONY : CMakeFiles/test.dir/rule - -# Convenience name for target. -test: CMakeFiles/test.dir/rule -.PHONY : test - -# clean rule for target. -CMakeFiles/test.dir/clean: - $(MAKE) $(MAKESILENT) -f CMakeFiles/test.dir/build.make CMakeFiles/test.dir/clean -.PHONY : CMakeFiles/test.dir/clean - -#============================================================================= -# Special targets to cleanup operation of make. - -# Special rule to run CMake to check the build system integrity. -# No rule that depends on this can have commands that come from listfiles -# because they might be regenerated. -cmake_check_build_system: - $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 -.PHONY : cmake_check_build_system - diff --git a/dhruv/lab1/src/CMakeFiles/TargetDirectories.txt b/dhruv/lab1/src/CMakeFiles/TargetDirectories.txt deleted file mode 100644 index 1e77dd1..0000000 --- a/dhruv/lab1/src/CMakeFiles/TargetDirectories.txt +++ /dev/null @@ -1,3 +0,0 @@ -/home/dhruv/lab1/src/CMakeFiles/test.dir -/home/dhruv/lab1/src/CMakeFiles/edit_cache.dir -/home/dhruv/lab1/src/CMakeFiles/rebuild_cache.dir diff --git a/dhruv/lab1/src/CMakeFiles/cmake.check_cache b/dhruv/lab1/src/CMakeFiles/cmake.check_cache deleted file mode 100644 index 3dccd73..0000000 --- a/dhruv/lab1/src/CMakeFiles/cmake.check_cache +++ /dev/null @@ -1 +0,0 @@ -# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/DependInfo.cmake b/dhruv/lab1/src/CMakeFiles/part1.dir/DependInfo.cmake deleted file mode 100644 index b36fe6c..0000000 --- a/dhruv/lab1/src/CMakeFiles/part1.dir/DependInfo.cmake +++ /dev/null @@ -1,19 +0,0 @@ - -# Consider dependencies only in project. -set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF) - -# The set of languages for which implicit dependencies are needed: -set(CMAKE_DEPENDS_LANGUAGES - ) - -# The set of dependency files which are needed: -set(CMAKE_DEPENDS_DEPENDENCY_FILES - "/home/dhruv/lab1/src/main.cpp" "CMakeFiles/part1.dir/main.cpp.o" "gcc" "CMakeFiles/part1.dir/main.cpp.o.d" - ) - -# Targets to which this target links. -set(CMAKE_TARGET_LINKED_INFO_FILES - ) - -# Fortran module output directory. -set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/build.make b/dhruv/lab1/src/CMakeFiles/part1.dir/build.make deleted file mode 100644 index cd4d51f..0000000 --- a/dhruv/lab1/src/CMakeFiles/part1.dir/build.make +++ /dev/null @@ -1,110 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.22 - -# Delete rule output on recipe failure. -.DELETE_ON_ERROR: - -#============================================================================= -# Special targets provided by cmake. - -# Disable implicit rules so canonical targets will work. -.SUFFIXES: - -# Disable VCS-based implicit rules. -% : %,v - -# Disable VCS-based implicit rules. -% : RCS/% - -# Disable VCS-based implicit rules. -% : RCS/%,v - -# Disable VCS-based implicit rules. -% : SCCS/s.% - -# Disable VCS-based implicit rules. -% : s.% - -.SUFFIXES: .hpux_make_needs_suffix_list - -# Command-line flag to silence nested $(MAKE). -$(VERBOSE)MAKESILENT = -s - -#Suppress display of executed commands. -$(VERBOSE).SILENT: - -# A target that is always out of date. -cmake_force: -.PHONY : cmake_force - -#============================================================================= -# Set environment variables for the build. - -# The shell in which to execute make rules. -SHELL = /bin/sh - -# The CMake executable. -CMAKE_COMMAND = /usr/bin/cmake - -# The command to remove a file. -RM = /usr/bin/cmake -E rm -f - -# Escaping for special characters. -EQUALS = = - -# The top-level source directory on which CMake was run. -CMAKE_SOURCE_DIR = /home/dhruv/lab1 - -# The top-level build directory on which CMake was run. -CMAKE_BINARY_DIR = /home/dhruv/lab1/src - -# Include any dependencies generated for this target. -include CMakeFiles/part1.dir/depend.make -# Include any dependencies generated by the compiler for this target. -include CMakeFiles/part1.dir/compiler_depend.make - -# Include the progress variables for this target. -include CMakeFiles/part1.dir/progress.make - -# Include the compile flags for this target's objects. -include CMakeFiles/part1.dir/flags.make - -CMakeFiles/part1.dir/main.cpp.o: CMakeFiles/part1.dir/flags.make -CMakeFiles/part1.dir/main.cpp.o: main.cpp -CMakeFiles/part1.dir/main.cpp.o: CMakeFiles/part1.dir/compiler_depend.ts - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/dhruv/lab1/src/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/part1.dir/main.cpp.o" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -MD -MT CMakeFiles/part1.dir/main.cpp.o -MF CMakeFiles/part1.dir/main.cpp.o.d -o CMakeFiles/part1.dir/main.cpp.o -c /home/dhruv/lab1/src/main.cpp - -CMakeFiles/part1.dir/main.cpp.i: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/part1.dir/main.cpp.i" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/dhruv/lab1/src/main.cpp > CMakeFiles/part1.dir/main.cpp.i - -CMakeFiles/part1.dir/main.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/part1.dir/main.cpp.s" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/dhruv/lab1/src/main.cpp -o CMakeFiles/part1.dir/main.cpp.s - -# Object files for target part1 -part1_OBJECTS = \ -"CMakeFiles/part1.dir/main.cpp.o" - -# External object files for target part1 -part1_EXTERNAL_OBJECTS = - -part1: CMakeFiles/part1.dir/main.cpp.o -part1: CMakeFiles/part1.dir/build.make -part1: CMakeFiles/part1.dir/link.txt - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/dhruv/lab1/src/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable part1" - $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/part1.dir/link.txt --verbose=$(VERBOSE) - -# Rule to build all files generated by this target. -CMakeFiles/part1.dir/build: part1 -.PHONY : CMakeFiles/part1.dir/build - -CMakeFiles/part1.dir/clean: - $(CMAKE_COMMAND) -P CMakeFiles/part1.dir/cmake_clean.cmake -.PHONY : CMakeFiles/part1.dir/clean - -CMakeFiles/part1.dir/depend: - cd /home/dhruv/lab1/src && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/dhruv/lab1 /home/dhruv/lab1 /home/dhruv/lab1/src /home/dhruv/lab1/src /home/dhruv/lab1/src/CMakeFiles/part1.dir/DependInfo.cmake --color=$(COLOR) -.PHONY : CMakeFiles/part1.dir/depend - diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/cmake_clean.cmake b/dhruv/lab1/src/CMakeFiles/part1.dir/cmake_clean.cmake deleted file mode 100644 index 63ed407..0000000 --- a/dhruv/lab1/src/CMakeFiles/part1.dir/cmake_clean.cmake +++ /dev/null @@ -1,11 +0,0 @@ -file(REMOVE_RECURSE - "CMakeFiles/part1.dir/main.cpp.o" - "CMakeFiles/part1.dir/main.cpp.o.d" - "part1" - "part1.pdb" -) - -# Per-language clean rules from dependency scanning. -foreach(lang CXX) - include(CMakeFiles/part1.dir/cmake_clean_${lang}.cmake OPTIONAL) -endforeach() diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.make b/dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.make deleted file mode 100644 index c935df8..0000000 --- a/dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.make +++ /dev/null @@ -1,2 +0,0 @@ -# Empty compiler generated dependencies file for part1. -# This may be replaced when dependencies are built. diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.ts b/dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.ts deleted file mode 100644 index fa40672..0000000 --- a/dhruv/lab1/src/CMakeFiles/part1.dir/compiler_depend.ts +++ /dev/null @@ -1,2 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Timestamp file for compiler generated dependencies management for part1. diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/depend.make b/dhruv/lab1/src/CMakeFiles/part1.dir/depend.make deleted file mode 100644 index a597a64..0000000 --- a/dhruv/lab1/src/CMakeFiles/part1.dir/depend.make +++ /dev/null @@ -1,2 +0,0 @@ -# Empty dependencies file for part1. -# This may be replaced when dependencies are built. diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/flags.make b/dhruv/lab1/src/CMakeFiles/part1.dir/flags.make deleted file mode 100644 index 6d6ee91..0000000 --- a/dhruv/lab1/src/CMakeFiles/part1.dir/flags.make +++ /dev/null @@ -1,10 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.22 - -# compile CXX with /usr/bin/c++ -CXX_DEFINES = - -CXX_INCLUDES = - -CXX_FLAGS = - diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/link.txt b/dhruv/lab1/src/CMakeFiles/part1.dir/link.txt deleted file mode 100644 index 6f2cd7d..0000000 --- a/dhruv/lab1/src/CMakeFiles/part1.dir/link.txt +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/c++ CMakeFiles/part1.dir/main.cpp.o -o part1 diff --git a/dhruv/lab1/src/CMakeFiles/part1.dir/main.cpp.o b/dhruv/lab1/src/CMakeFiles/part1.dir/main.cpp.o deleted file mode 100644 index 72c8ede71f559f2de2e5da41fbee1b54a84a9c82..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2552 zcmbVN-ESL35MMi`<)dv30twWD%nJ&rJ>`Ot!iOri!HEr~t?C325H0KT(VVb-*47~8T1JdMXmS?K)fU6fd@WbA{5EY@4Vw~m&*$y?at0`<~KV#w_bnL zXfKybCBae>r^FqLQ6YBkxwEe4%ettDS@HMm6aTC=w|{GXkq0!lZ%tRXcMx|2)B4S6 z+_m2;+gp3v+3vNiy;An#CtJJYu@KpULz|jEOjoy>pPM}o=QWzaO8dz7Z$=-jnyE1eTShr5CDmYu#+9v#RfVHE;f;pXH{1bz#AquRU$xoN<8W z3JvVMa&}FWh4>!W3=PP`6D3MlE{M`*rF87@p?j}WA;$^FfXrcP9Ibp-UOIA6QUICo zy#$=(bxiCpzm^BU{|<1H$1t(~{DcpvNYH}=;!kSFe`Tid%i=6J(cOZcl`P!86Ek@? z?v6)|Wn$!KrFDKL(k+8uB@M~XLi$Y_4_WmvZ=G=T+m(w16yaa*gMR~@K9(y#0(U{O zf87WFYad(;R5bL0(MZU*I=a0mWfVulNRwIfrA)QbQ6Patsvlh;D;`QU?8#o3>Ld$t zdp?SUTxp*>bGl8GtSeg*Y4en|AkL7jqx)&AqkTWvP>Ixuigelv8jTBtJ=;|&?GjVQ zPz_qas%&(gljmOzhvPM?oyMwMJ$!4Z$W z7=PQ~h(B!Mp@rLdVuL?J`luEEfx(e~*1`>(-%RYm_qJ*rz%W?qX2Ce$<98jL^9V1! zJkY93S|<~|!K)zNK=y5tp zw=Q_!*cXSHH%j7Bm}rX4$>D~4FHr+-m8tOmsVdR%CLDC=bz^_!;P(3g*D)ICeVv9a zivUS}nJ96DG`M&(A&*X!c#1S|euoV#e&&Uv-ThCHA368qyYa5=6Bn3$7s#CMk2__H z%Rfa<+(&o+9Yf;tat^jxKTnRL{#Ec}B;h`xfA~hsWBe7uP}4jOTmCQx`eO^%&$>fS zUfXfUi@<`|fUrX}-2PP!ze+w^xPHbyqy<7_>GH4P8_!~4U0 x?qAW~pxiL~e{3|qF}N-tZ=?I|2@;D2bpOCjI)vo%Ak9Vmk*WVv6UWNs{|o!NL+t CMakeFiles/test.dir/main.cpp.i - -CMakeFiles/test.dir/main.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/test.dir/main.cpp.s" - /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/dhruv/lab1/src/main.cpp -o CMakeFiles/test.dir/main.cpp.s - -# Object files for target test -test_OBJECTS = \ -"CMakeFiles/test.dir/main.cpp.o" - -# External object files for target test -test_EXTERNAL_OBJECTS = - -test: CMakeFiles/test.dir/main.cpp.o -test: CMakeFiles/test.dir/build.make -test: CMakeFiles/test.dir/link.txt - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/dhruv/lab1/src/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable test" - $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/test.dir/link.txt --verbose=$(VERBOSE) - -# Rule to build all files generated by this target. -CMakeFiles/test.dir/build: test -.PHONY : CMakeFiles/test.dir/build - -CMakeFiles/test.dir/clean: - $(CMAKE_COMMAND) -P CMakeFiles/test.dir/cmake_clean.cmake -.PHONY : CMakeFiles/test.dir/clean - -CMakeFiles/test.dir/depend: - cd /home/dhruv/lab1/src && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/dhruv/lab1 /home/dhruv/lab1 /home/dhruv/lab1/src /home/dhruv/lab1/src /home/dhruv/lab1/src/CMakeFiles/test.dir/DependInfo.cmake --color=$(COLOR) -.PHONY : CMakeFiles/test.dir/depend - diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/cmake_clean.cmake b/dhruv/lab1/src/CMakeFiles/test.dir/cmake_clean.cmake deleted file mode 100644 index 07f6d8e..0000000 --- a/dhruv/lab1/src/CMakeFiles/test.dir/cmake_clean.cmake +++ /dev/null @@ -1,11 +0,0 @@ -file(REMOVE_RECURSE - "CMakeFiles/test.dir/main.cpp.o" - "CMakeFiles/test.dir/main.cpp.o.d" - "test" - "test.pdb" -) - -# Per-language clean rules from dependency scanning. -foreach(lang CXX) - include(CMakeFiles/test.dir/cmake_clean_${lang}.cmake OPTIONAL) -endforeach() diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.make b/dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.make deleted file mode 100644 index d3a148e..0000000 --- a/dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.make +++ /dev/null @@ -1,2 +0,0 @@ -# Empty compiler generated dependencies file for test. -# This may be replaced when dependencies are built. diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.ts b/dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.ts deleted file mode 100644 index a4eb021..0000000 --- a/dhruv/lab1/src/CMakeFiles/test.dir/compiler_depend.ts +++ /dev/null @@ -1,2 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Timestamp file for compiler generated dependencies management for test. diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/depend.make b/dhruv/lab1/src/CMakeFiles/test.dir/depend.make deleted file mode 100644 index 3f2657b..0000000 --- a/dhruv/lab1/src/CMakeFiles/test.dir/depend.make +++ /dev/null @@ -1,2 +0,0 @@ -# Empty dependencies file for test. -# This may be replaced when dependencies are built. diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/flags.make b/dhruv/lab1/src/CMakeFiles/test.dir/flags.make deleted file mode 100644 index 6d6ee91..0000000 --- a/dhruv/lab1/src/CMakeFiles/test.dir/flags.make +++ /dev/null @@ -1,10 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.22 - -# compile CXX with /usr/bin/c++ -CXX_DEFINES = - -CXX_INCLUDES = - -CXX_FLAGS = - diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/link.txt b/dhruv/lab1/src/CMakeFiles/test.dir/link.txt deleted file mode 100644 index d1110ae..0000000 --- a/dhruv/lab1/src/CMakeFiles/test.dir/link.txt +++ /dev/null @@ -1 +0,0 @@ -/usr/bin/c++ CMakeFiles/test.dir/main.cpp.o -o test diff --git a/dhruv/lab1/src/CMakeFiles/test.dir/main.cpp.o b/dhruv/lab1/src/CMakeFiles/test.dir/main.cpp.o deleted file mode 100644 index 72c8ede71f559f2de2e5da41fbee1b54a84a9c82..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2552 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 + +class HelloWorldLib +{ + public: + HelloWorldLib() = default; + void hello(); + +}; + diff --git a/dhruv/lab1p2/src/hello_world.cpp b/dhruv/lab1p2/src/hello_world.cpp new file mode 100644 index 0000000..46799cd --- /dev/null +++ b/dhruv/lab1p2/src/hello_world.cpp @@ -0,0 +1,6 @@ +#include +#include "hello_world.hpp" + +void HelloWorldLib::hello() { + std::cout << "Hello, World again\n"; +} \ No newline at end of file diff --git a/dhruv/lab1p2/src/main.cpp b/dhruv/lab1p2/src/main.cpp new file mode 100644 index 0000000..24e7ba5 --- /dev/null +++ b/dhruv/lab1p2/src/main.cpp @@ -0,0 +1,8 @@ +#include "hello_world.hpp" + +int main() { + HelloWorldLib obj; + obj.hello(); + + return 0; +} \ No newline at end of file diff --git a/dhruv/lab2p1/result b/dhruv/lab2p1/result new file mode 120000 index 0000000..20810fe --- /dev/null +++ b/dhruv/lab2p1/result @@ -0,0 +1 @@ +/nix/store/dinw5kxp8f9dcrfyr9igvpp96fd6mizf-HelloLib-0.1.0 \ No newline at end of file diff --git a/dhruv/lab2p2/default.nix b/dhruv/lab2p2/default.nix new file mode 100644 index 0000000..e33b23f --- /dev/null +++ b/dhruv/lab2p2/default.nix @@ -0,0 +1,9 @@ +{ stdenv, cmake, hellolib }: + +stdenv.mkDerivation rec { + pname = "hellolib_exe"; + version = "0.1.0"; + src = ./hellolib_exe; + nativeBuildInputs = [ cmake ]; + buildInputs = [ hellolib ]; +} \ No newline at end of file diff --git a/dhruv/lab2p2/flake.lock b/dhruv/lab2p2/flake.lock new file mode 100644 index 0000000..34dde40 --- /dev/null +++ b/dhruv/lab2p2/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1726243404, + "narHash": "sha256-sjiGsMh+1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "345c263f2f53a3710abe117f28a5cb86d0ba4059", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/dhruv/lab2p2/flake.nix b/dhruv/lab2p2/flake.nix new file mode 100644 index 0000000..c93146e --- /dev/null +++ b/dhruv/lab2p2/flake.nix @@ -0,0 +1,27 @@ +{ + description = "lab2p2 flake"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + }; + + outputs = { self, nixpkgs }: + let + pkgs = import nixpkgs { + system = "x86_64-linux"; + overlays = [ self.overlays.default ]; + }; + + hellolib_overlay = final: prev: { + hellolib = final.callPackage ./hellolib.nix { }; + hellolib_exe = final.callPackage ./default.nix { }; + }; + my_overlays = [ hellolib_overlay ]; + + + in + { + packages.x86_64-linux.default = pkgs.hellolib; + overlays.default = nixpkgs.lib.composeManyExtensions my_overlays; + }; +} \ No newline at end of file diff --git a/dhruv/lab2p2/hellolib.nix b/dhruv/lab2p2/hellolib.nix new file mode 100644 index 0000000..5c98fcb --- /dev/null +++ b/dhruv/lab2p2/hellolib.nix @@ -0,0 +1,8 @@ +{ stdenv, cmake, hellolib }: + +stdenv.mkDerivation rec { + pname = "hellolib"; + version = "0.1.0"; + src = ./hellolib; + nativeBuildInputs = [ cmake ]; +} \ No newline at end of file diff --git a/dhruv/lab2p2/hellolib/CMakeLists.txt b/dhruv/lab2p2/hellolib/CMakeLists.txt new file mode 100644 index 0000000..4e662e4 --- /dev/null +++ b/dhruv/lab2p2/hellolib/CMakeLists.txt @@ -0,0 +1,45 @@ +cmake_minimum_required(VERSION 3.15...3.30) + +project(HelloLib LANGUAGES CXX) + +add_library(HelloLib SHARED src/hellolib.cpp) +target_include_directories(HelloLib PUBLIC + $ + $ +) + +include(GNUInstallDirs) +install(TARGETS HelloLib + EXPORT HelloLibTargets + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + PUBLIC_HEADER DESTINATION include +) + +# NAMESPACE sets the namespace that your target will live within. +# you can have multiple targets under the same namespace +install(EXPORT HelloLibTargets + FILE HelloLibTargets.cmake + NAMESPACE HelloLib:: + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/HelloLib +) + +# this looks for your .cmake.in file that you created in step 1. +# if you set the directory differently you may need to handle this differently +include(CMakePackageConfigHelpers) +configure_package_config_file(${CMAKE_CURRENT_LIST_DIR}/cmake/HelloLibConfig.cmake.in + "${CMAKE_CURRENT_BINARY_DIR}/HelloLibConfig.cmake" + INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/HelloLib +) + +install(FILES + "${CMAKE_CURRENT_BINARY_DIR}/HelloLibConfig.cmake" + DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/HelloLib +) + +install( + DIRECTORY include/ + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} + FILES_MATCHING PATTERN "*.hpp" +) \ No newline at end of file diff --git a/dhruv/lab2p2/hellolib/cmake/HelloLibConfig.cmake.in b/dhruv/lab2p2/hellolib/cmake/HelloLibConfig.cmake.in new file mode 100644 index 0000000..edabb1c --- /dev/null +++ b/dhruv/lab2p2/hellolib/cmake/HelloLibConfig.cmake.in @@ -0,0 +1,11 @@ +@PACKAGE_INIT@ + +# if you have find_package calls, use find_dependency() here with the package +# that you need to find_package() for. this handles transitive dep finding so +# your downstream cmake doesnt have to `find_package()` it instead gets done +# upon package configuration + +find_dependency(Boost) +include("${CMAKE_CURRENT_LIST_DIR}/HelloLibTargets.cmake") + +check_required_components(HelloLib) \ No newline at end of file diff --git a/dhruv/lab2p2/hellolib/include/hellolib.hpp b/dhruv/lab2p2/hellolib/include/hellolib.hpp new file mode 100644 index 0000000..7c01537 --- /dev/null +++ b/dhruv/lab2p2/hellolib/include/hellolib.hpp @@ -0,0 +1,7 @@ +#include + +class HelloWorldLib { + public: + HelloWorldLib() = default; + void hello(); +}; \ No newline at end of file diff --git a/dhruv/lab2p2/hellolib/src/hellolib.cpp b/dhruv/lab2p2/hellolib/src/hellolib.cpp new file mode 100644 index 0000000..1d73e91 --- /dev/null +++ b/dhruv/lab2p2/hellolib/src/hellolib.cpp @@ -0,0 +1,6 @@ +#include +#include + +void HelloWorldLib::hello() { + std::cout << "Hello, world l2p2" << std::endl; +} \ No newline at end of file diff --git a/dhruv/lab2p2/hellolib_exe/CMakeLists.txt b/dhruv/lab2p2/hellolib_exe/CMakeLists.txt new file mode 100644 index 0000000..0038d17 --- /dev/null +++ b/dhruv/lab2p2/hellolib_exe/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required(VERSION 3.15...3.30) +project(lab2p2 LANGUAGES CXX) + +find_package(hellolib REQUIRED) + +add_executable(HelloWorld main.cpp) + +target_link_directories(HelloWorld PUBLIC HelloLib::HelloLib) + +install(TARGETS HelloWorld RUNTIME DESTINATION bin) + + + diff --git a/dhruv/lab2p2/hellolib_exe/main.cpp b/dhruv/lab2p2/hellolib_exe/main.cpp new file mode 100644 index 0000000..a291b78 --- /dev/null +++ b/dhruv/lab2p2/hellolib_exe/main.cpp @@ -0,0 +1,8 @@ +#include + +int main() { + HelloWorldLib test; + test.hello(); + + return 0; +} \ No newline at end of file diff --git a/dhruv/lab2p2/result b/dhruv/lab2p2/result new file mode 120000 index 0000000..e385a5e --- /dev/null +++ b/dhruv/lab2p2/result @@ -0,0 +1 @@ +/nix/store/9c45sablrf4cgqysi7d53r1b2f6h98j7-hellolib-0.1.0 \ No newline at end of file diff --git a/dhruv/lab2p3/CMakeLists.txt b/dhruv/lab2p3/CMakeLists.txt new file mode 100644 index 0000000..2baea72 --- /dev/null +++ b/dhruv/lab2p3/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required(VERSION 3.15...3.30) +project(lab2p2 LANGUAGES CXX) + +find_package(hellolib REQUIRED) + +add_executable(HelloWorld main.cpp) + +target_link_directories(HelloWorld PUBLIC HelloLib::HelloLib) + +install(TARGETS HelloWorld RUNTIME ${CMAKE_INSTALL_PREFIX}/bin) + + + diff --git a/dhruv/lab2p3/default.nix b/dhruv/lab2p3/default.nix new file mode 100644 index 0000000..0b17b93 --- /dev/null +++ b/dhruv/lab2p3/default.nix @@ -0,0 +1,9 @@ +{ stdenv, cmake, hellolib }: + +stdenv.mkDerivation rec { + pname = "hellolib_exe"; + version = "0.1.0"; + src = ./.; + nativeBuildInputs = [ cmake ]; + buildInputs = [ hellolib ]; +} \ No newline at end of file diff --git a/dhruv/lab2p3/flake.lock b/dhruv/lab2p3/flake.lock new file mode 100644 index 0000000..3e82479 --- /dev/null +++ b/dhruv/lab2p3/flake.lock @@ -0,0 +1,62 @@ +{ + "nodes": { + "hellolib": { + "inputs": { + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1726465823, + "narHash": "sha256-K2EuxuAVQEZc+j5niFhOgS2zbS6tKMtkzuLyuPLSQXY=", + "owner": "dhruvgowda987", + "repo": "hellolibgit", + "rev": "8f4b1709d506a1198bdc3da8f39615bc4d86254e", + "type": "github" + }, + "original": { + "owner": "dhruvgowda987", + "repo": "hellolibgit", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1726243404, + "narHash": "sha256-sjiGsMh+1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "345c263f2f53a3710abe117f28a5cb86d0ba4059", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1726243404, + "narHash": "sha256-sjiGsMh+1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "345c263f2f53a3710abe117f28a5cb86d0ba4059", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "hellolib": "hellolib", + "nixpkgs": "nixpkgs_2" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/dhruv/lab2p3/flake.nix b/dhruv/lab2p3/flake.nix new file mode 100644 index 0000000..fe34f4a --- /dev/null +++ b/dhruv/lab2p3/flake.nix @@ -0,0 +1,27 @@ +{ + description = "lab2p3 flake2"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + hellolib.url = "github:dhruvgowda987/hellolibgit"; + }; + + outputs = { self, nixpkgs, hellolib }: + let + pkgs = import nixpkgs { + system = "x86_64-linux"; + overlays = [ self.overlays.default hellolib.overlays.default ]; + }; + + hellolib_overlay = final: prev: { + hellolib_exe = final.callPackage ./default.nix { }; + }; + my_overlays = [ hellolib_overlay ]; + + + in + { + packages.x86_64-linux.default = pkgs.hellolib; + overlays.default = nixpkgs.lib.composeManyExtensions my_overlays; + }; +} \ No newline at end of file diff --git a/dhruv/lab2p3/result b/dhruv/lab2p3/result new file mode 120000 index 0000000..f28e47c --- /dev/null +++ b/dhruv/lab2p3/result @@ -0,0 +1 @@ +/nix/store/dmgn0lgsshmchn2h3jga656ciprr6xq5-hellolib-0.1.0 \ No newline at end of file diff --git a/dhruv/lab2p3/src/main.cpp b/dhruv/lab2p3/src/main.cpp new file mode 100644 index 0000000..a291b78 --- /dev/null +++ b/dhruv/lab2p3/src/main.cpp @@ -0,0 +1,8 @@ +#include + +int main() { + HelloWorldLib test; + test.hello(); + + return 0; +} \ No newline at end of file From b8d6750ab1d9292326bcb5697028d147fb7dd4ca Mon Sep 17 00:00:00 2001 From: Dhruv Date: Mon, 16 Sep 2024 20:08:00 -0400 Subject: [PATCH 4/4] fixes --- dhruv/lab1p2/include/hello_world.hpp | 4 ++++ dhruv/lab1p2/src/hello_world.cpp | 2 +- dhruv/lab1p2/src/main.cpp | 2 +- dhruv/lab2p1/.gitignore | 1 + dhruv/lab2p1/include/hello_world.hpp | 6 +++++- dhruv/lab2p1/src/hello_world.cpp | 2 +- dhruv/lab2p1/src/main.cpp | 2 +- dhruv/lab2p2/.gitignore | 1 + dhruv/lab2p2/hellolib/include/hellolib.hpp | 6 +++++- dhruv/lab2p3/.gitignore | 1 + 10 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 dhruv/lab2p1/.gitignore create mode 100644 dhruv/lab2p2/.gitignore create mode 100644 dhruv/lab2p3/.gitignore diff --git a/dhruv/lab1p2/include/hello_world.hpp b/dhruv/lab1p2/include/hello_world.hpp index 0d93367..a6201c0 100644 --- a/dhruv/lab1p2/include/hello_world.hpp +++ b/dhruv/lab1p2/include/hello_world.hpp @@ -1,3 +1,5 @@ +#ifndef HelloWorld +#define HelloWorld #include class HelloWorldLib @@ -8,3 +10,5 @@ class HelloWorldLib }; +#endif + diff --git a/dhruv/lab1p2/src/hello_world.cpp b/dhruv/lab1p2/src/hello_world.cpp index 46799cd..82fed0c 100644 --- a/dhruv/lab1p2/src/hello_world.cpp +++ b/dhruv/lab1p2/src/hello_world.cpp @@ -1,5 +1,5 @@ #include -#include "hello_world.hpp" +#include void HelloWorldLib::hello() { std::cout << "Hello, World again\n"; diff --git a/dhruv/lab1p2/src/main.cpp b/dhruv/lab1p2/src/main.cpp index 24e7ba5..11a2c1c 100644 --- a/dhruv/lab1p2/src/main.cpp +++ b/dhruv/lab1p2/src/main.cpp @@ -1,4 +1,4 @@ -#include "hello_world.hpp" +#include int main() { HelloWorldLib obj; diff --git a/dhruv/lab2p1/.gitignore b/dhruv/lab2p1/.gitignore new file mode 100644 index 0000000..9b4c10b --- /dev/null +++ b/dhruv/lab2p1/.gitignore @@ -0,0 +1 @@ +/result/ \ No newline at end of file diff --git a/dhruv/lab2p1/include/hello_world.hpp b/dhruv/lab2p1/include/hello_world.hpp index 5013280..62ab384 100644 --- a/dhruv/lab2p1/include/hello_world.hpp +++ b/dhruv/lab2p1/include/hello_world.hpp @@ -1,7 +1,11 @@ +#ifndef HelloWorld +#define HelloWorld #include class HelloWorldLib { public: HelloWorldLib() = default; void hello(); -}; \ No newline at end of file +}; + +#endif \ No newline at end of file diff --git a/dhruv/lab2p1/src/hello_world.cpp b/dhruv/lab2p1/src/hello_world.cpp index 7678cda..19b8342 100644 --- a/dhruv/lab2p1/src/hello_world.cpp +++ b/dhruv/lab2p1/src/hello_world.cpp @@ -1,5 +1,5 @@ #include -#include "hello_world.hpp" +#include void HelloWorldLib::hello() { std::cout << "hi"; diff --git a/dhruv/lab2p1/src/main.cpp b/dhruv/lab2p1/src/main.cpp index 7690359..8bc1e7b 100644 --- a/dhruv/lab2p1/src/main.cpp +++ b/dhruv/lab2p1/src/main.cpp @@ -1,5 +1,5 @@ #include -#include "hello_world.hpp" +#include int main() { HelloWorldLib obj; diff --git a/dhruv/lab2p2/.gitignore b/dhruv/lab2p2/.gitignore new file mode 100644 index 0000000..9b4c10b --- /dev/null +++ b/dhruv/lab2p2/.gitignore @@ -0,0 +1 @@ +/result/ \ No newline at end of file diff --git a/dhruv/lab2p2/hellolib/include/hellolib.hpp b/dhruv/lab2p2/hellolib/include/hellolib.hpp index 7c01537..061d811 100644 --- a/dhruv/lab2p2/hellolib/include/hellolib.hpp +++ b/dhruv/lab2p2/hellolib/include/hellolib.hpp @@ -1,7 +1,11 @@ +#ifndef HelloWorld +#define HelloWorld #include class HelloWorldLib { public: HelloWorldLib() = default; void hello(); -}; \ No newline at end of file +}; + +#endif \ No newline at end of file diff --git a/dhruv/lab2p3/.gitignore b/dhruv/lab2p3/.gitignore new file mode 100644 index 0000000..98793f7 --- /dev/null +++ b/dhruv/lab2p3/.gitignore @@ -0,0 +1 @@ +/result/