thetna
thetna

Reputation: 7143

Linking different C source file in Visual Studio 2010

I am using visual Studio 2010 for compiling a bunch of source File. I am new to it and I wonder how the object files are linked during compilation. Like in Linux we have make file and rules. Does this suppport makefile? If not how can I compile and set flag during compilation.

Upvotes: 1

Views: 1347

Answers (1)

Steve Townsend
Steve Townsend

Reputation: 54148

You can use makefiles and other command-line tools to build using Visual C++ but more typically you handle this by using the GUI to set properties at the Project and File level - start here for info on this.

The Project/File properties adjust the command-line options passed to the compiler and linker for each compilation unit. You can view the actual command line that's used in the GUI too.

Upvotes: 2

Related Questions