I'm not sure whether this is a bug. Or it could somewhere I went wrong but I couldn't find where I was wrong.
After I created a project of type Static Library, I can successfully produce a library out.
In Project Settings->Common Settings->General,
However, when I change the project type from Static Library to Executable, and re-configure the settings:Output File: $(IntermediateDirectory)/lib$(ProjectName).a
Intermediate Folder: ./Debug
Program: empty because this is a static library
Working Folder: $(IntermediateDirectory)
I'm expecting an executable file can be produced and run, but it seems only an .obj file is finally produced in Debug folder.Output File: $(IntermediateDirectory)/$(ProjectName)
Intermediate Folder: ./Debug
Program: ./$(ProjectName)
Working Folder: $(IntermediateDirectory)
What else should I do to make the project built into an executable?
Best Regards
Pei