开发者

Linking different C source file in Visual Studio 2010

开发者 https://www.devze.com 2023-03-13 21:38 出处:网络
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 compi开发者_JAVA技巧lation. Like in Linux we have make file and r

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 compi开发者_JAVA技巧lation. Like in Linux we have make file and rules. Does this suppport makefile? If not how can I compile and set flag during compilation.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消