Jump to content
  • Advertisement
Sign in to follow this  

RelWithDebInfo output directory

This topic is 2060 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 all,

I use CMake to generate the project, all works fine but when I compile using RelWithDebInfo I don't have the good output dir.

Here is the script I use to set the output directories :




As you can see, what I want is to output the lib into "lib/".
This issue only happen on RelWithDebInfo, on Debug and Release no problem.
Thanks for the help

Share this post

Link to post
Share on other sites

Have you tried something like CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO? I don't have CMake available right now so I can't test it, but I found a couple of projects on github that use it.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!