Jump to content
  • Advertisement
Sign in to follow this  
Zipster

MSVC:: Custom build macros

This topic is 4863 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

MSVC provides us with a bunch of build macros (listed here) that we can use in property pages to easily reference a handful of common directories. Well I have a project I'm working on where I need to copy a lot of files around as custom build steps, and I'd like to create my own macros to make it easier to create the build steps. However I've been searching all over I can't seem to find anything that tells me how, or whether it's even possible. If not I'll type the directory paths in full each and every time, but this would be more convenient if possible because a lot of my paths are quite long.

Share this post


Link to post
Share on other sites
Advertisement
You can just use envirorment variables, so if you have registered ENGINE_HOME you could use $(ENGINE_HOME)\Lib

Share this post


Link to post
Share on other sites
Ah so I can use environment variables in the same way, thanks! That will do what I need [grin]

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!