Test.cpp erstellt und Cmake angepasst

This commit is contained in:
marcelbls
2025-11-03 14:57:34 +01:00
parent 1f6cb722f8
commit 99f3b60261
26 changed files with 202 additions and 407 deletions
+27
View File
@@ -176,6 +176,30 @@ main.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Prog3B.dir\build.make CMakeFiles/Prog3B.dir/main.cpp.s
.PHONY : main.cpp.s
tests.obj: tests.cpp.obj
.PHONY : tests.obj
# target to build an object file
tests.cpp.obj:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Prog3B.dir\build.make CMakeFiles/Prog3B.dir/tests.cpp.obj
.PHONY : tests.cpp.obj
tests.i: tests.cpp.i
.PHONY : tests.i
# target to preprocess a source file
tests.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Prog3B.dir\build.make CMakeFiles/Prog3B.dir/tests.cpp.i
.PHONY : tests.cpp.i
tests.s: tests.cpp.s
.PHONY : tests.s
# target to generate assembly for a file
tests.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Prog3B.dir\build.make CMakeFiles/Prog3B.dir/tests.cpp.s
.PHONY : tests.cpp.s
# Help Target
help:
@echo The following are some of the valid targets for this Makefile:
@@ -191,6 +215,9 @@ help:
@echo ... main.obj
@echo ... main.i
@echo ... main.s
@echo ... tests.obj
@echo ... tests.i
@echo ... tests.s
.PHONY : help