I got these console output while compilation via GCC.
Building CXX object xxxxxxx.cpp.obj
What are the .cpp.obj
files? Are they the object file? Do the same as the .o
file?
I got these console output while compilation via GCC.
Building CXX object xxxxxxx.cpp.obj
What are the .cpp.obj
files? Are they the object file? Do the same as the .o
file?
What is .c.obj / .cpp.obj file?
Object files created from compiling .c
and .cpp
files respectively.
What are the .cpp.obj files?
See above.
Are they the object file?
Yes.
Do the same as the .o file?
Yes.
Note that "extension" is just part of a filename and is customizable. You can name your file anything you want you want, it will not affect the content. In cmake see CMAKE_C_OUTPUT_EXTENSION.