c++ - Qt - Visual Studio - Work with projects on multiple computers -


i work same visual studio projects on multiple computers (work/home) using dropbox sync between two. because vs creates large files, used remove following before uploading dropbox:

  • files = .pdb, sdf, .ilk .exe .tmp
  • folders = ipch/, release/, debug/, generatedfiles/

everything worked fine in past, however, problems have risen. receive following errors:

moc'ing codeinterface.h... 1>  system cannot find path specified. 1>  moc'ing threadworker.h... 1>  system cannot find path specified. 1>  rcc'ing streamanalyser.qrc... 1>  system cannot find path specified. 1>c:\program files\msbuild\microsoft.cpp\v4.0\microsoft.cppcommon.targets(151,5): error msb6006: "cmd.exe" exited code 3.  

so, think may have create new visual studio project , import classes manually. question are:

  • best practices working projects on different computers?
  • what files can deleted (for uploading dropbox)?
  • does visual studio have sort of 'global settings' (or similar 'workspace' used eclipse)? how set these settings prevent trouble when working on different computers?

thanks!

i not familiar dropbox can't speak currently

what use distributed versioning system (i use git) after source code only. use .gitignore file not version object code , visual studio project files , like. can clone these projects (with versioning) across computer - including test branches might idly play when coming home on train on laptop.

in experience visual studio project files pain because different versions not play nicely eachother (1 computer has vs2005 , has vs2008). overcome problem use cmake build system (i include these in git repository too). cmake 'meta-build system', in generates visual studio, or eclipse, or autotools make files you, , native build in vs or eclipse or make.

using these 2 packages means can copy versioned controlled source code between computer (including linux, mac , windows) , build source code natively on computer, using whatever ide have installed on computer.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -