Printable version
Simplified HTML, no CSS
Home

vctool

    Status : stable
Download : vctool (7 KB)

This is a simple tool which dumps the basic skeleton of either '.dsp' or '.vcproj' project files used by MS Visual Studio. The dump format is identical for both project files format, making quick comparisons possible. Here is a dump from a simple example :

$ vctool gears.dsp
Configurations :

  gears - Win32 Release
    Win32 (x86) Application

   gears - Win32 Debug
     Win32 (x86) Application

Files :

  [Source Files]
    GearApp.cpp
    Gears.cpp
    GearWin.cpp
  [Header Files]
    GearApp.h
    Gears.h
    GearWin.h

It will dump the available configuration profiles first, then the file tree. It will notice files which are listed but excluded from build and display them as such. We can then ask for a comparison, mainly useful between a .dsp and a .vcproj related to the same software :

$ vctool net.dsp net.vcproj
Built in net.dsp, not in net.vcproj :

  ../include/nel/net/admin.h
  ../include/nel/net/email.h
  ../include/nel/net/varpath.h
  net/admin.cpp

Built in net.vcproj, not in net.dsp :

  ../include/nel/net/alarms.h
  ../include/nel/net/net_manager.h
  net/alarms.cpp
  net/net_manager.cpp

It is also possible to have a visual diff, it will also shows structural differences (different file tree setup for instance) :

$ vctool --diff net.dsp net.vcproj
--- net.dsp
+++ net.vcproj
@@ -1,15 +1,15 @@
 Configurations :
 
-  net - Win32 Release
+  DebugFast|Win32
     Win32 (x86) Static Library
 
-  net - Win32 Debug
+  Debug|Win32
     Win32 (x86) Static Library
 
-  net - Win32 ReleaseDebug
+  Release|Win32
     Win32 (x86) Static Library
 
-  net - Win32 DebugFast
+  ReleaseDebug|Win32
     Win32 (x86) Static Library
 
 Files :
@@ -47,13 +47,15 @@
     ../include/nel/net/callback_server.h
     net/message_recorder.cpp
     ../include/nel/net/message_recorder.h
+  [Layer4]
+    net/net_manager.cpp
+    ../include/nel/net/net_manager.h
   [Layer5]
     net/unified_network.cpp
     ../include/nel/net/unified_network.h
-  net/admin.cpp
-  ../include/nel/net/admin.h
+  net/alarms.cpp
+  ../include/nel/net/alarms.h
   net/email.cpp
-  ../include/nel/net/email.h
   net/login_client.cpp
   ../include/nel/net/login_client.h
   net/login_cookie.cpp
@@ -79,4 +81,3 @@
   net/unitime.cpp
   ../include/nel/net/unitime.h
   net/varpath.cpp
-  ../include/nel/net/varpath.h
Contact : Vincent Caron <v.caron@zerodeux.net> Last modified on Sunday 26 Jun 2005 17:11