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 1701.3 - Major new release. Version 17 - Massive speed improvements and shared C++ projects (Read 1597 times)
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
1701.3 - Major new release. Version 17 - Massive speed improvements and shared C++ projects
Jan 3rd, 2017 at 2:23am
Print Post  
Read more from Microsoft about C++ shared projects. Visual Micro applies the same rules to Arduino as is definedĀ  here for Cross-Platform and Android.

  • More intelligent compiler cache managment
  • Pro/paid users please try the new vMcro>Compiler>Parallel Build feature. Build all the files in each folder at the same time.
  • Fix crash when clicking "Create New Local Arduino Library"
  • Fix possible program freeze during build > library search. An example would be if a header or code file #included itself. In this case the gcc tool chain might never return from an infinite loop causing visual micro to freeze. A 3 second timeout is now imposed on library discovery commands and 90 seconds for compiler commands. Under normal use the timeouts should never be hit.
  • Limit compiler error messages to 250. Huge errors would cause extreme sluggish ide performance.
  • Support C++ shared projects as References. The code from shared projects is compiled as if it were part of the main project therefore all source file names must be unique within the build. (tip: If using sub folders in shared projects it is recommended that only one first level sub folder called \src is used. This will make it easier to recombine sources into a single arduino ide compatible project. The arduino ide only recognize the src\ sub folder branch.)
  • When editing code in a shared project, intellisense will be provided based on the the Visual Studio "Startup Project". The build and upload controls will also assume the current Solution Startup Project.
  • When the F4 project properties of a shared c++ project are viewed a "Micro" option allows the folder path of the shared project to be added as a -I compiler included. The setting is not required to successfully build projects based on shared projects. The setting is for advanced users that understand clearly what adding compiler -I includes does.
  • Intellisense: C++ includes are now relative to the project folder and the $(ProjDir) macro is used to specify the root.
  • Fix bug introduced in 1612.20 - Library search was cached too heavily. The latest release has a high degree if intelligence for all build cache phases. Tp: The cache defaults to "preserved between ide sessions". "Build>Rebuild" always clears the cache and performs a clean build.
  • Opening a project does not cause automatic check out. 
  • Many improvement for shared development teams. (More to follow)
  • Build progress messages and progress.
  • Free users: Try buy nag screen opens one time, on the first build after each start of visual studio. Clicking Cancel allows the build to proceed.
  • Tip for Arduino AVR users only: The Arduino IDE moved to a new avr tool chain that runs slower than the older versions. If compile speed is slow then point visual micro to a slightly older version of the Arduino Ide.
  • Support {build.properties} in the various "project settings > extra flags". {project_folder} is a useful one.
  • Open (and create if it doesn't exist) board.txt when "Create board.txt" is clicked
  • More intelligent auto detect when a rebuild is required as a result of board options value change.
[/quote]

« Last Edit: Jan 3rd, 2017 at 9:40pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint