开发者

creating *.o files from *.cpp files in C++ project with out linking in Visual studio

开发者 https://www.devze.com 2023-04-02 02:53 出处:网络
how is it 开发者_运维百科possible to make objects (*.o) files in visual studio 2010 wiht out linking from *.cpp files in visual C++ projectI\'m not sure what you\'re trying to achieve, but you can sim

how is it 开发者_运维百科possible to make objects (*.o) files in visual studio 2010 wiht out linking from *.cpp files in visual C++ project


I'm not sure what you're trying to achieve, but you can simply compile the cpp file (as opposed to building the project) to get the obj file. Ctrl-F7 when editing the file will do the trick. The file does have to compile successfully, of course, in order to get the obj file.

0

精彩评论

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