commit from VS Code, hopefully this doesnt break anything

This commit is contained in:
Christopher Sanden
2025-11-04 14:16:14 +01:00
parent a8006be05f
commit bc54aaa4c4
65 changed files with 7389 additions and 1 deletions

342
Exam/part1/build/Makefile Normal file
View File

@@ -0,0 +1,342 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "MinGW Makefiles" Generator, CMake Version 3.31
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# 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.
SHELL = cmd.exe
# The CMake executable.
CMAKE_COMMAND = "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe"
# The command to remove a file.
RM = "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = C:\Users\csand\IKT203\Exam\part1
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = C:\Users\csand\IKT203\Exam\part1\build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "No interactive CMake dialog available..."
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E echo "No interactive CMake dialog available."
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start C:\Users\csand\IKT203\Exam\part1\build\CMakeFiles C:\Users\csand\IKT203\Exam\part1\build\\CMakeFiles\progress.marks
$(MAKE) $(MAKESILENT) -f CMakeFiles\Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start C:\Users\csand\IKT203\Exam\part1\build\CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) $(MAKESILENT) -f CMakeFiles\Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named Assignment-01
# Build rule for target.
Assignment-01: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles\Makefile2 Assignment-01
.PHONY : Assignment-01
# fast build rule for target.
Assignment-01/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/build
.PHONY : Assignment-01/fast
TDoublyLinkedList.obj: TDoublyLinkedList.cpp.obj
.PHONY : TDoublyLinkedList.obj
# target to build an object file
TDoublyLinkedList.cpp.obj:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/TDoublyLinkedList.cpp.obj
.PHONY : TDoublyLinkedList.cpp.obj
TDoublyLinkedList.i: TDoublyLinkedList.cpp.i
.PHONY : TDoublyLinkedList.i
# target to preprocess a source file
TDoublyLinkedList.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/TDoublyLinkedList.cpp.i
.PHONY : TDoublyLinkedList.cpp.i
TDoublyLinkedList.s: TDoublyLinkedList.cpp.s
.PHONY : TDoublyLinkedList.s
# target to generate assembly for a file
TDoublyLinkedList.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/TDoublyLinkedList.cpp.s
.PHONY : TDoublyLinkedList.cpp.s
TQueue.obj: TQueue.cpp.obj
.PHONY : TQueue.obj
# target to build an object file
TQueue.cpp.obj:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/TQueue.cpp.obj
.PHONY : TQueue.cpp.obj
TQueue.i: TQueue.cpp.i
.PHONY : TQueue.i
# target to preprocess a source file
TQueue.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/TQueue.cpp.i
.PHONY : TQueue.cpp.i
TQueue.s: TQueue.cpp.s
.PHONY : TQueue.s
# target to generate assembly for a file
TQueue.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/TQueue.cpp.s
.PHONY : TQueue.cpp.s
TStack.obj: TStack.cpp.obj
.PHONY : TStack.obj
# target to build an object file
TStack.cpp.obj:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/TStack.cpp.obj
.PHONY : TStack.cpp.obj
TStack.i: TStack.cpp.i
.PHONY : TStack.i
# target to preprocess a source file
TStack.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/TStack.cpp.i
.PHONY : TStack.cpp.i
TStack.s: TStack.cpp.s
.PHONY : TStack.s
# target to generate assembly for a file
TStack.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/TStack.cpp.s
.PHONY : TStack.cpp.s
Utils.obj: Utils.cpp.obj
.PHONY : Utils.obj
# target to build an object file
Utils.cpp.obj:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/Utils.cpp.obj
.PHONY : Utils.cpp.obj
Utils.i: Utils.cpp.i
.PHONY : Utils.i
# target to preprocess a source file
Utils.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/Utils.cpp.i
.PHONY : Utils.cpp.i
Utils.s: Utils.cpp.s
.PHONY : Utils.s
# target to generate assembly for a file
Utils.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/Utils.cpp.s
.PHONY : Utils.cpp.s
main.obj: main.cpp.obj
.PHONY : main.obj
# target to build an object file
main.cpp.obj:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/main.cpp.obj
.PHONY : main.cpp.obj
main.i: main.cpp.i
.PHONY : main.i
# target to preprocess a source file
main.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/main.cpp.i
.PHONY : main.cpp.i
main.s: main.cpp.s
.PHONY : main.s
# target to generate assembly for a file
main.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/main.cpp.s
.PHONY : main.cpp.s
option1.obj: option1.cpp.obj
.PHONY : option1.obj
# target to build an object file
option1.cpp.obj:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/option1.cpp.obj
.PHONY : option1.cpp.obj
option1.i: option1.cpp.i
.PHONY : option1.i
# target to preprocess a source file
option1.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/option1.cpp.i
.PHONY : option1.cpp.i
option1.s: option1.cpp.s
.PHONY : option1.s
# target to generate assembly for a file
option1.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/option1.cpp.s
.PHONY : option1.cpp.s
option2.obj: option2.cpp.obj
.PHONY : option2.obj
# target to build an object file
option2.cpp.obj:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/option2.cpp.obj
.PHONY : option2.cpp.obj
option2.i: option2.cpp.i
.PHONY : option2.i
# target to preprocess a source file
option2.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/option2.cpp.i
.PHONY : option2.cpp.i
option2.s: option2.cpp.s
.PHONY : option2.s
# target to generate assembly for a file
option2.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Assignment-01.dir\build.make CMakeFiles/Assignment-01.dir/option2.cpp.s
.PHONY : option2.cpp.s
# Help Target
help:
@echo The following are some of the valid targets for this Makefile:
@echo ... all (the default if no target is provided)
@echo ... clean
@echo ... depend
@echo ... edit_cache
@echo ... rebuild_cache
@echo ... Assignment-01
@echo ... TDoublyLinkedList.obj
@echo ... TDoublyLinkedList.i
@echo ... TDoublyLinkedList.s
@echo ... TQueue.obj
@echo ... TQueue.i
@echo ... TQueue.s
@echo ... TStack.obj
@echo ... TStack.i
@echo ... TStack.s
@echo ... Utils.obj
@echo ... Utils.i
@echo ... Utils.s
@echo ... main.obj
@echo ... main.i
@echo ... main.s
@echo ... option1.obj
@echo ... option1.i
@echo ... option1.s
@echo ... option2.obj
@echo ... option2.i
@echo ... option2.s
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 0
.PHONY : cmake_check_build_system