Jump to content
  • Advertisement
Sign in to follow this  
Ben091986

How to see sourcecode after makros

This topic is 3747 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi folks, sry i dont know the keywords to search for. My question is, how can i see the sourcecode (visual studio 2005) c++ of my project after makros have been executed, but still not compiled. Easier: How can i see the source after makros & optimizing have been finished. I want to check if things like inline really happen and so on. Thank you

Share this post


Link to post
Share on other sites
Advertisement
Go to "Project Properties"->"C/C++"->Preprocessor and change "Generate Preprocessed File" to either /P or /EP /P.

Share this post


Link to post
Share on other sites
Optimization happens during compilation, though. You'd have to view the disassembly to verify inlining.

Since you mention keywords, it can't hurt to point out that the english spelling is maCros.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!