Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic how to change the build folder (Read 3946 times)
visionalex
Newbies
*
Offline


Posts: 9
Joined: Jul 20th, 2017
how to change the build folder
Jul 20th, 2017 at 9:34pm
Print Post  
Hy Tim,
how to change the build folder in VisualStudio 2015 professional.
Normaly the path is: file:///C:/Users/alex/AppData/Local/Temp/VMBuilds
But this path should be 
./firmware 
this is an relative path.
I don't found the path in
Options->Visual Micro->Compiler->Build Folder
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: how to change the build folder
Reply #1 - Jul 20th, 2017 at 10:05pm
Print Post  
Hi,

Thanks for posting the question

There is a two step build process.

1) Build in temp folder which can be changed in tools>options as you describe.

2) After build the output is copied to the final build folder which can be specified per project in the standard Visual Studio project property pages. We make use of the intelligence of Visual Studio for the final build folder which can use relative paths and macros.

You can see below the standard Visual Studio C++ project properties with the Output Directory selected. Note that by default visual studio uses the macro "$(SolutionDir)$(Configuration)\" for the output directory. This means your firmware will be in a sub folder below where the Solution (.sln) called "\Release" or "\Debug" etc.

If you click into the Output Directory property the pick list button shows a list of all Visual Studio macros. Notice there is one called $(ProjectDir). 

Therefore an Output Directory of "$(ProjectDir)firmware" should produce the result that you are looking for. 

I hope that helps.
  

Please Register or Login to the Forum to see File Attachments
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint