Changeset 20490

Show
Ignore:
Timestamp:
07/08/07 16:01:55 (1 year ago)
Author:
patrick
Message:

Instead of using a different name to distinguish between debug-enabled and
optimized DLLS linked against the release runtime on Windows, use directories
in much the same way that we always have on non-Windows platforms. This
allows users to switch between optimized and debug-enabled code at run time
simply by changing the PATH environment variable. No relinking or recompiling
is required. This is something that we have always been able to do on
non-Windows platofrms, and we can finally do it on Windows, too.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/build_windows.py

    r20436 r20490  
    10591059def installLibs(srcRoot, destdir, 
    10601060                buildPlatforms = ['Win32', 'x64'], 
    1061                 buildTypes = ['ReleaseDLL', 'DebugDLL', 'DebugRtDLL'
    1062                               'Release', 'Debug'], 
     1061                buildTypes = [('ReleaseDLL',), ('DebugDLL', 'debug')
     1062                              ('DebugRtDLL',)], 
    10631063                extensions = ['.dll', '.lib']): 
    10641064   for p in buildPlatforms: 
    10651065      for t in buildTypes: 
    1066          srcdir = os.path.join(srcRoot, p, t) 
     1066         build_dir = t[0] 
     1067         if len(t) == 2: 
     1068            cur_destdir = os.path.join(destdir, t[1]) 
     1069         else: 
     1070            cur_destdir = destdir 
     1071 
     1072         srcdir = os.path.join(srcRoot, p, build_dir) 
    10671073         if os.path.exists(srcdir): 
    1068             installDir(srcdir, destdir, extensions) 
     1074            installDir(srcdir, cur_destdir, extensions) 
    10691075 
    10701076def installExternal(prefix, buildDir): 
     
    13701376   printStatus("Installing Sonix plug-ins ...") 
    13711377 
    1372    destdir_dbg   = os.path.join(prefix, 'lib', 'snx', 'plugins', 'dbg') 
    1373    destdir_dbgrt = os.path.join(prefix, 'lib', 'snx', 'plugins', 'dbgrt') 
    1374    destdir_opt   = os.path.join(prefix, 'lib', 'snx', 'plugins', 'opt') 
    1375  
    1376    srcroot = os.path.join(buildDir, 'Sonix', 'OpenAL') 
    1377    installLibs(srcroot, destdir_dbg, buildTypes = ['DebugDLL'], 
    1378                extensions = ['.dll']) 
    1379    installLibs(srcroot, destdir_dbgrt, buildTypes = ['DebugRtDLL'], 
    1380                extensions = ['.dll']) 
    1381    installLibs(srcroot, destdir_opt, buildTypes = ['ReleaseDLL'], 
    1382                extensions = ['.dll']) 
    1383  
    1384    srcroot = os.path.join(buildDir, 'Sonix', 'Audiere') 
    1385    installLibs(srcroot, destdir_dbg, buildTypes = ['DebugDLL'], 
    1386                extensions = ['.dll']) 
    1387    installLibs(srcroot, destdir_dbgrt, buildTypes = ['DebugRtDLL'], 
    1388                extensions = ['.dll']) 
    1389    installLibs(srcroot, destdir_opt, buildTypes = ['ReleaseDLL'], 
    1390                extensions = ['.dll']) 
     1378   destdir = os.path.join(prefix, 'lib', 'snx', 'plugins') 
     1379   plugins = ['OpenAL', 'Audiere'] 
     1380   for p in plugins: 
     1381      installLibs(os.path.join(buildDir, 'Sonix', p), destdir, 
     1382                  buildTypes = [('ReleaseDLL', 'opt'), ('DebugDLL', 'dbg'), 
     1383                                ('DebugRtDll', 'dbgrt')], 
     1384                  extensions = ['.dll']) 
    13911385 
    13921386def installGadgeteer(prefix, buildDir): 
  • juggler/trunk/modules/gadgeteer/gadget/AutoLink.h

    r20345 r20490  
    3131#  include <gadget/gadgetParam.h> 
    3232 
    33 #  if defined(GADGET_DEBUG) 
    34 #     if defined(_DEBUG) 
    35 #        define GADGET_LIB_RT_OPT "_d" 
    36 #     else 
    37 #        define GADGET_LIB_RT_OPT "_g" 
    38 #     endif 
     33#  if defined(GADGET_DEBUG) && defined(_DEBUG) 
     34#     define GADGET_LIB_RT_OPT "_d" 
    3935#  else 
    4036#     define GADGET_LIB_RT_OPT "" 
  • juggler/trunk/modules/gadgeteer/gadget/gadgetmain.cpp

    r19789 r20490  
    6969               { 
    7070                  fs::path dll_path(tmppath, fs::native); 
    71                   const std::string base_dir = 
    72                      dll_path.branch_path().branch_path().native_directory_string(); 
     71                  fs::path base_dir = dll_path.branch_path().branch_path(); 
     72#if (defined(JUGGLER_DEBUG) || defined(GADGET_DEBUG)) && ! defined(_DEBUG) 
     73                  // The debug DLL linked against the release runtime is in 
     74                  // <base_dir>\lib\debug. 
     75                  base_dir = base_dir.branch_path(); 
     76#endif 
     77                  const std::string base_dir_str = 
     78                     base_dir.native_directory_string(); 
    7379#if defined(_MSC_VER) && _MSC_VER >= 1400 
    74                   _putenv_s("GADGET_BASE_DIR", base_dir.c_str()); 
     80                  _putenv_s("GADGET_BASE_DIR", base_dir_str.c_str()); 
    7581#else 
    7682                  std::ostringstream env_stream; 
    77                   env_stream << "GADGET_BASE_DIR=" << base_dir
     83                  env_stream << "GADGET_BASE_DIR=" << base_dir_str
    7884                  putenv(env_stream.str().c_str()); 
    7985#endif 
  • juggler/trunk/modules/gadgeteer/samples/tutorials/device.drivers/buttondevice.vcproj

    r20430 r20490  
    3636                                Name="VCLinkerTool" 
    3737                                AdditionalDependencies="libnspr4.lib libplc4.lib ws2_32.lib $(NOINHERIT)" 
    38                                 OutputFile="$(OutDir)/button_drv_g.dll" 
     38                                OutputFile="$(OutDir)/button_drv.dll" 
    3939                                LinkIncremental="1" 
    4040                                AdditionalLibraryDirectories="&quot;$(VJ_BASE_DIR)\lib&quot;;&quot;$(VJ_DEPS_DIR)\lib&quot;" 
    4141                                GenerateDebugInformation="FALSE" 
    42                                 ProgramDatabaseFile="$(OutDir)/button_drv_g.pdb" 
     42                                ProgramDatabaseFile="$(OutDir)/button_drv.pdb" 
    4343                                SubSystem="1" 
    44                                 ImportLibrary="$(OutDir)/button_drv_g.lib" 
     44                                ImportLibrary="$(OutDir)/button_drv.lib" 
    4545                                TargetMachine="1"/> 
    4646                        <Tool 
  • juggler/trunk/modules/jackal/common/jccl/AutoLink.h

    r20345 r20490  
    3131#  include <jccl/jcclParam.h> 
    3232 
    33 #  if defined(JCCL_DEBUG) 
    34 #     if defined(_DEBUG) 
    35 #        define JCCL_LIB_RT_OPT "_d" 
    36 #     else 
    37 #        define JCCL_LIB_RT_OPT "_g" 
    38 #     endif 
     33#  if defined(JCCL_DEBUG) && defined(_DEBUG) 
     34#     define JCCL_LIB_RT_OPT "_d" 
    3935#  else 
    4036#     define JCCL_LIB_RT_OPT "" 
  • juggler/trunk/modules/jackal/common/jccl/jcclmain.cpp

    r19787 r20490  
    6969               { 
    7070                  fs::path dll_path(tmppath, fs::native); 
    71                   const std::string base_dir = 
    72                      dll_path.branch_path().branch_path().native_directory_string(); 
     71                  fs::path base_dir = dll_path.branch_path().branch_path(); 
     72#if (defined(JUGGLER_DEBUG) || defined(JCCL_DEBUG)) && ! defined(_DEBUG) 
     73                  // The debug DLL linked against the release runtime is in 
     74                  // <base_dir>\lib\debug. 
     75                  base_dir = base_dir.branch_path(); 
     76#endif 
     77                  const std::string base_dir_str = 
     78                     base_dir.native_directory_string(); 
    7379#if defined(_MSC_VER) && _MSC_VER >= 1400 
    74                   _putenv_s("JCCL_BASE_DIR", base_dir.c_str()); 
     80                  _putenv_s("JCCL_BASE_DIR", base_dir_str.c_str()); 
    7581#else 
    7682                  std::ostringstream env_stream; 
    77                   env_stream << "JCCL_BASE_DIR=" << base_dir
     83                  env_stream << "JCCL_BASE_DIR=" << base_dir_str
    7884                  putenv(env_stream.str().c_str()); 
    7985#endif 
  • juggler/trunk/modules/sonix/snx/AutoLink.h

    r20345 r20490  
    4040#  include <snx/snxParam.h> 
    4141 
    42 #  if defined(SNX_DEBUG) 
    43 #     if defined(_DEBUG) 
    44 #        define SNX_LIB_RT_OPT "_d" 
    45 #     else 
    46 #        define SNX_LIB_RT_OPT "_g" 
    47 #     endif 
     42#  if defined(SNX_DEBUG) && defined(_DEBUG) 
     43#     define SNX_LIB_RT_OPT "_d" 
    4844#  else 
    4945#     define SNX_LIB_RT_OPT "" 
  • juggler/trunk/modules/sonix/snx/snxmain.cpp

    r19788 r20490  
    7878               { 
    7979                  fs::path dll_path(tmppath, fs::native); 
    80                   const std::string base_dir = 
    81                      dll_path.branch_path().branch_path().native_directory_string(); 
     80                  fs::path base_dir = dll_path.branch_path().branch_path(); 
     81#if (defined(JUGGLER_DEBUG) || defined(SNX_DEBUG)) && ! defined(_DEBUG) 
     82                  // The debug DLL linked against the release runtime is in 
     83                  // <base_dir>\lib\debug. 
     84                  base_dir = base_dir.branch_path(); 
     85#endif 
     86                  const std::string base_dir_str = 
     87                     base_dir.native_directory_string(); 
    8288#if defined(_MSC_VER) && _MSC_VER >= 1400 
    83                   _putenv_s("SNX_BASE_DIR", base_dir.c_str()); 
     89                  _putenv_s("SNX_BASE_DIR", base_dir_str.c_str()); 
    8490#else 
    8591                  std::ostringstream env_stream; 
    86                   env_stream << "SNX_BASE_DIR=" << base_dir
     92                  env_stream << "SNX_BASE_DIR=" << base_dir_str
    8793                  putenv(env_stream.str().c_str()); 
    8894#endif 
  • juggler/trunk/modules/tweek/tweek/AutoLink.h

    r20345 r20490  
    3131#  include <tweek/tweekParam.h> 
    3232 
    33 #  if defined(TWEEK_DEBUG) 
    34 #     if defined(_DEBUG) 
    35 #        define TWEEK_LIB_RT_OPT "_d" 
    36 #     else 
    37 #        define TWEEK_LIB_RT_OPT "_g" 
    38 #     endif 
     33#  if defined(TWEEK_DEBUG) && defined(_DEBUG) 
     34#     define TWEEK_LIB_RT_OPT "_d" 
    3935#  else 
    4036#     define TWEEK_LIB_RT_OPT "" 
  • juggler/trunk/modules/tweek/tweek/tweekmain.cpp

    r19786 r20490  
    6969               { 
    7070                  fs::path dll_path(tmppath, fs::native); 
    71                   const std::string base_dir = 
    72                      dll_path.branch_path().branch_path().native_directory_string(); 
     71                  fs::path base_dir = dll_path.branch_path().branch_path(); 
     72#if (defined(JUGGLER_DEBUG) || defined(TWEEK_DEBUG)) && ! defined(_DEBUG) 
     73                  // The debug DLL linked against the release runtime is in 
     74                  // <base_dir>\lib\debug. 
     75                  base_dir = base_dir.branch_path(); 
     76#endif 
     77                  const std::string base_dir_str = 
     78                     base_dir.native_directory_string(); 
    7379#if defined(_MSC_VER) && _MSC_VER >= 1400 
    74                   _putenv_s("TWEEK_BASE_DIR", base_dir.c_str()); 
     80                  _putenv_s("TWEEK_BASE_DIR", base_dir_str.c_str()); 
    7581#else 
    7682                  std::ostringstream env_stream; 
    77                   env_stream << "TWEEK_BASE_DIR=" << base_dir
     83                  env_stream << "TWEEK_BASE_DIR=" << base_dir_str
    7884                  putenv(env_stream.str().c_str()); 
    7985#endif 
  • juggler/trunk/modules/vapor/vpr/AutoLink.h

    r20345 r20490  
    4040#  include <vpr/vprParam.h> 
    4141 
    42 #  if defined(VPR_DEBUG) 
    43 #     if defined(_DEBUG) 
    44 #        define VPR_LIB_RT_OPT "_d" 
    45 #     else 
    46 #        define VPR_LIB_RT_OPT "_g" 
    47 #     endif 
     42#  if defined(VPR_DEBUG) && defined(_DEBUG) 
     43#     define VPR_LIB_RT_OPT "_d" 
    4844#  else 
    4945#     define VPR_LIB_RT_OPT "" 
  • juggler/trunk/modules/vapor/vpr/DynLoad/LibraryLoader.cpp

    r20376 r20490  
    5757{ 
    5858 
    59 #if defined(VPR_DEBUG) 
    60 #  if defined(_DEBUG) || ! defined(VPR_OS_Windows) 
     59#if defined(VPR_DEBUG) && defined(_DEBUG) && defined(VPR_OS_Windows) 
    6160std::string LibraryLoader::sDsoNameExt("_d"); 
    62 #  else 
    63 std::string LibraryLoader::sDsoNameExt("_g"); 
    64 #  endif 
    6561#else 
    6662std::string LibraryLoader::sDsoNameExt(""); 
  • juggler/trunk/modules/vapor/vpr/DynLoad/LibraryLoader.h

    r20376 r20490  
    219219    * platform-specific extension (.so, .dll, etc) will be appended, and for 
    220220    * an instantiation of this class in debug-enabled code, the suffix "_d" 
    221     * or "_g" will be appended to the DSO's base name.  For example, given the 
    222     * base name mydso, a build using the Visual C++ debug runtime on Windows 
    223     * would search for the file mydso_d.dll.  For an optimized build made 
    224     * against the release runtime, it would search for mysdso.dll.  For a 
    225     * debug-enabled build made against the release runtime, it would search 
    226     * for mydso_g.dll.  The determination of which name extension to use is 
    227     * made at compile time, but it can be customized using setDSONameExt(). 
    228     * On non-Windows platforms, the debug version is the "_d" variant. 
     221    * will be appended to the DSO's base name.  For example, given the base 
     222    * name mydso, a debug build on Windows would search for the file 
     223    * mydso_d.dll.  For a release (optimized) build, it would search for 
     224    * mysdso.dll.  The determination of which name extension to use is made 
     225    * at compile time, but it can be customized using setDSONameExt().  On 
     226    * non-Windows platforms, the debug version has no special naming 
     227    * convention by default. 
    229228    * 
    230229    * @param dsoBaseName The base name of the DSO to be loaded. 
  • juggler/trunk/modules/vapor/vpr/vprmain.cpp

    r19785 r20490  
    7878               { 
    7979                  fs::path dll_path(tmppath, fs::native); 
    80                   const std::string base_dir = 
    81                      dll_path.branch_path().branch_path().native_directory_string(); 
     80                  fs::path base_dir = dll_path.branch_path().branch_path(); 
     81#if (defined(JUGGLER_DEBUG) || defined(VPR_DEBUG)) && ! defined(_DEBUG) 
     82                  // The debug DLL linked against the release runtime is in 
     83                  // <base_dir>\lib\debug. 
     84                  base_dir = base_dir.branch_path(); 
     85#endif 
     86                  const std::string base_dir_str = 
     87                     base_dir.native_directory_string(); 
    8288#if defined(_MSC_VER) && _MSC_VER >= 1400 
    83                   _putenv_s("VPR_BASE_DIR", base_dir.c_str()); 
     89                  _putenv_s("VPR_BASE_DIR", base_dir_str.c_str()); 
    8490#else 
    8591                  std::ostringstream env_stream; 
    86                   env_stream << "VPR_BASE_DIR=" << base_dir
     92                  env_stream << "VPR_BASE_DIR=" << base_dir_str
    8793                  putenv(env_stream.str().c_str()); 
    8894#endif 
  • juggler/trunk/modules/vrjuggler/vrj/AutoLink.h

    r20345 r20490  
    3636#  endif 
    3737 
    38 #  if defined(VJ_DEBUG) 
    39 #     if defined(_DEBUG) 
    40 #        define VJ_LIB_RT_OPT "_d" 
    41 #     else 
    42 #        define VJ_LIB_RT_OPT "_g" 
    43 #     endif 
     38#  if defined(VJ_DEBUG) && defined(_DEBUG) 
     39#     define VJ_LIB_RT_OPT "_d" 
    4440#  else 
    4541#     define VJ_LIB_RT_OPT "" 
  • juggler/trunk/modules/vrjuggler/vrj/vrjmain.cpp

    r19790 r20490  
    6969               { 
    7070                  fs::path dll_path(tmppath, fs::native); 
    71                   const std::string base_dir = 
    72                      dll_path.branch_path().branch_path().native_directory_string(); 
     71                  fs::path base_dir = dll_path.branch_path().branch_path(); 
     72#if (defined(JUGGLER_DEBUG) || defined(VJ_DEBUG)) && ! defined(_DEBUG) 
     73                  // The debug DLL linked against the release runtime is in 
     74                  // <base_dir>\lib\debug. 
     75                  base_dir = base_dir.branch_path(); 
     76#endif 
     77                  const std::string base_dir_str = 
     78                     base_dir.native_directory_string(); 
    7379#if defined(_MSC_VER) && _MSC_VER >= 1400 
    74                   _putenv_s("VJ_BASE_DIR", base_dir.c_str()); 
     80                  _putenv_s("VJ_BASE_DIR", base_dir_str.c_str()); 
    7581#else 
    7682                  std::ostringstream env_stream; 
    77                   env_stream << "VJ_BASE_DIR=" << base_dir
     83                  env_stream << "VJ_BASE_DIR=" << base_dir_str
    7884                  putenv(env_stream.str().c_str()); 
    7985#endif 
  • juggler/trunk/vc7/Gadgeteer/ApplicationDataManager/ApplicationDataManager.vcproj

    r20357 r20490  
    3636                                Name="VCLinkerTool" 
    3737                                AdditionalDependencies="libnspr4.lib libplc4.lib $(NOINHERIT)" 
    38                                 OutputFile="$(OutDir)/ApplicationDataManager_g.dll" 
     38                                OutputFile="$(OutDir)/ApplicationDataManager.dll" 
    3939                                Version="$(GADGET_VERSION_DOT)" 
    4040                                LinkIncremental="1" 
    4141                                AdditionalLibraryDirectories="&quot;$(NSPR_ROOT)\lib&quot;;&quot;$(BOOST_ROOT)\lib&quot;;&quot;..\$(OutDir)&quot;;&quot;..\..\JCCL\$(OutDir)&quot;;&quot;..\..\VPR\$(OutDir)&quot;" 
    4242                                GenerateDebugInformation="FALSE" 
    43                                 ProgramDatabaseFile="$(OutDir)/ApplicationDataManager_g.pdb" 
     43                                ProgramDatabaseFile="$(OutDir)/ApplicationDataManager.pdb" 
    4444                                SubSystem="1" 
    45                                 ImportLibrary="$(OutDir)/ApplicationDataManager_g.lib" 
     45                                ImportLibrary="$(OutDir)/ApplicationDataManager.lib" 
    4646                                TargetMachine="1"/> 
    4747                        <Tool 
  • juggler/trunk/vc7/Gadgeteer/DTrack/DTrack.vcproj

    r20357 r20490  
    3636                                Name="VCLinkerTool" 
    3737                                AdditionalDependencies="libnspr4.lib libplc4.lib $(NOINHERIT)" 
    38                                 OutputFile="$(OutDir)/DTrack_drv_g.dll" 
     38                                OutputFile="$(OutDir)/DTrack_drv.dll" 
    3939                                Version="$(GADGET_VERSION_DOT)" 
    4040                                LinkIncremental="1" 
    4141                                AdditionalLibraryDirectories="&quot;$(NSPR_ROOT)\lib&quot;;&quot;$(BOOST_ROOT)\lib&quot;;&quot;..\$(OutDir)&quot;;&quot;..\..\JCCL\$(OutDir)&quot;;&quot;..\..\VPR\$(OutDir)&quot;" 
    4242                                GenerateDebugInformation="FALSE" 
    43                                 ProgramDatabaseFile="$(OutDir)/DTrack_drv_g.pdb" 
     43                                ProgramDatabaseFile="$(OutDir)/DTrack_drv.pdb" 
    4444                                SubSystem="1" 
    45                                 ImportLibrary="$(OutDir)/DTrack_drv_g.lib" 
     45                                ImportLibrary="$(OutDir)/DTrack_drv.lib" 
    4646                                TargetMachine="1"/> 
    4747                        <Tool 
  • juggler/trunk/vc7/Gadgeteer/DataGlove/DataGlove.vcproj

    r20357 r20490  
    3636                                Name="VCLinkerTool" 
    3737                                AdditionalDependencies="libnspr4.lib libplc4.lib $(NOINHERIT)" 
    38                                 OutputFile="$(OutDir)/DataGlove_drv_g.dll" 
     38                                OutputFile="$(OutDir)/DataGlove_drv.dll" 
    3939                                Version="$(GADGET_VERSION_DOT)" 
    4040                                LinkIncremental="1" 
    4141                                AdditionalLibraryDirectories="&quot;$(NSPR_ROOT)\lib&quot;;&quot;$(BOOST_ROOT)\lib&quot;;&quot;..\$(OutDir)&quot;;&quot;..\..\JCCL\$(OutDir)&quot;;&quot;..\..\VPR\$(OutDir)&quot;" 
    4242                                GenerateDebugInformation="FALSE" 
    43                                 ProgramDatabaseFile="$(OutDir)/DataGlove_drv_g.pdb" 
     43                                ProgramDatabaseFile="$(OutDir)/DataGlove_drv.pdb" 
    4444                                SubSystem="1" 
    45                                 ImportLibrary="$(OutDir)/DataGlove_drv_g.lib" 
     45                                ImportLibrary="$(OutDir)/DataGlove_drv.lib" 
    4646                                TargetMachine="1"/> 
    4747                        <Tool 
  • juggler/trunk/vc7/Gadgeteer/DirectXJoystick/DirectXJoystick.vcproj

    r20357 r20490  
    3636                                Name="VCLinkerTool" 
    3737                                AdditionalDependencies="libnspr4.lib libplc4.lib dxguid.lib dinput8.lib dxerr8.lib $(NOINHERIT)" 
    38                                 OutputFile="$(OutDir)/DirectXJoystick_drv_g.dll" 
     38                                OutputFile="$(OutDir)/DirectXJoystick_drv.dll" 
    3939                                Version="$(GADGET_VERSION_DOT)" 
    4040                                LinkIncremental="1" 
    4141                                AdditionalLibraryDirectories="&quot;$(NSPR_ROOT)\lib&quot;;&quot;$(BOOST_ROOT)\lib&quot;;&quot;..\$(OutDir)&quot;;&quot;..\..\JCCL\$(OutDir)&quot;;&quot;..\..\VPR\$(OutDir)&quot;" 
    4242                                GenerateDebugInformation="FALSE" 
    43                                 ProgramDatabaseFile="$(OutDir)/DirectXJoystick_drv_g.pdb" 
     43                                ProgramDatabaseFile="$(OutDir)/DirectXJoystick_drv.pdb" 
    4444                                SubSystem="1" 
    45                                 ImportLibrary="$(OutDir)/DirectXJoystick_drv_g.lib" 
     45                                ImportLibrary="$(OutDir)/DirectXJoystick_drv.lib" 
    4646                                TargetMachine="1"/> 
    4747                        <Tool 
  • juggler/trunk/vc7/Gadgeteer/Ether24/Ether24.vcproj

    r20357 r20490  
    3737                                Name="VCLinkerTool" 
    3838                                AdditionalDependencies="libnspr4.lib libplc4.lib ws2_32.lib $(NOINHERIT)" 
    39                                 OutputFile="$(OutDir)/ElexolEther24_drv_g.dll" 
     39                                OutputFile="$(OutDir)/ElexolEther24_drv.dll" 
    4040                                Version="$(GADGET_VERSION_DOT)" 
    4141                                LinkIncremental="1" 
    4242                                AdditionalLibraryDirectories="&quot;$(NSPR_ROOT)\lib&quot;;&quot;$(BOOST_ROOT)\lib&quot;;&quot;..\$(OutDir)&quot;;&quot;..\..\JCCL\$(OutDir)&quot;;&quot;..\..\VPR\$(OutDir)&quot;" 
    4343                                GenerateDebugInformation="FALSE" 
    44                                 ProgramDatabaseFile="$(OutDir)/ElexolEther24_drv_g.pdb" 
     44                                ProgramDatabaseFile="$(OutDir)/ElexolEther24_drv.pdb" 
    4545                                SubSystem="1" 
    46                                 ImportLibrary="$(OutDir)/ElexolEther24_drv_g.lib" 
     46                                ImportLibrary="$(OutDir)/ElexolEther24_drv.lib" 
    4747                                TargetMachine="1"/> 
    4848                        <Tool 
  • juggler/trunk/vc7/Gadgeteer/Fastrak/Fastrak.vcproj

    r20357 r20490  
    3636                                Name="VCLinkerTool" 
    3737                                AdditionalDependencies="libnspr4.lib libplc4.lib $(NOINHERIT)" 
    38                                 OutputFile="$(OutDir)/Fastrak_drv_g.dll" 
     38                                OutputFile="$(OutDir)/Fastrak_drv.dll" 
    3939                                Version="$(GADGET_VERSION_DOT)" 
    4040                                LinkIncremental="1" 
    4141                                AdditionalLibraryDirectories="&quot;$(NSPR_ROOT)\lib&quot;;&quot;$(BOOST_ROOT)\lib&quot;;&quot;..\$(OutDir)&quot;;&quot;..\..\JCCL\$(OutDir)&quot;;&quot;..\..\VPR\$(OutDir)&quot;" 
    4242                                GenerateDebugInformation="FALSE" 
    43                                 ProgramDatabaseFile="$(OutDir)/Fastrak_drv_g.pdb" 
     43                                ProgramDatabaseFile="$(OutDir)/Fastrak_drv.pdb" 
    4444                                SubSystem="1" 
    45                                 ImportLibrary="$(OutDir)/Fastrak_drv_g.lib" 
     45                                ImportLibrary="$(OutDir)/Fastrak_drv.lib" 
    4646                                TargetMachine="1"/> 
    4747                        <Tool 
  • juggler/trunk/vc7/Gadgeteer/Flock/Flock.vcproj

    r20357 r20490  
    3636                                Name="VCLinkerTool" 
    3737                                AdditionalDependencies="libnspr4.lib libplc4.lib $(NOINHERIT)" 
    38                                 OutputFile="$(OutDir)/Flock_drv_g.dll" 
     38                                OutputFile="$(OutDir)/Flock_drv.dll" 
    3939                                Version="$(GADGET_VERSION_DOT)" 
    4040                                LinkIncremental="1" 
    4141                                AdditionalLibraryDirectories="&quot;$(NSPR_ROOT)\lib&quot;;&quot;$(BOOST_ROOT)\lib&quot;;&quot;..\$(OutDir)&quot;;&quot;..\..\JCCL\$(OutDir)&quot;;&quot;..\..\VPR\$(OutDir)&quot;" 
    4242                                GenerateDebugInformation="FALSE" 
    43                                 ProgramDatabaseFile="$(OutDir)/Flock_drv_g.pdb" 
     43                                ProgramDatabaseFile="$(OutDir)/Flock_drv.pdb" 
    4444                                SubSystem="1" 
    45                                 ImportLibrary="$(OutDir)/Flock_drv_g.lib" 
     45                                ImportLibrary="$(OutDir)/Flock_drv.lib" 
    4646                                TargetMachine="1"/> 
    4747                        <Tool 
  • juggler/trunk/vc7/Gadgeteer/Gadgeteer.vcproj

    r20383 r20490  
    3737                                Name="VCLinkerTool" 
    3838                                AdditionalDependencies="libnspr4.lib libplc4.lib ws2_32.lib comctl32.lib gdi32.lib user32.lib $(NOINHERIT)" 
    39                                 OutputFile="$(OutDir)/gadget_g-$(GADGET_VERSION).dll" 
     39                                OutputFile="$(OutDir)/gadget-$(GADGET_VERSION).dll" 
    4040                                Version="$(GADGET_VERSION_DOT)" 
    4141                                LinkIncremental="0" 
    4242                                AdditionalLibraryDirectories="&quot;$(NSPR_ROOT)\lib&quot;;&quot;$(BOOST_ROOT)\lib&quot;;&quot;$(CPPDOM_ROOT)\lib&quot;;&quot;..\JCCL\$(OutDir)&quot;;&quot;..\VPR\$(OutDir)&quot;" 
    4343                                GenerateDebugInformation="FALSE" 
    44                                 ProgramDatabaseFile="$(OutDir)/gadget_g-$(GADGET_VERSION).pdb" 
     44                                ProgramDatabaseFile="$(OutDir)/gadget-$(GADGET_VERSION).pdb" 
    4545                                SubSystem="1" 
    46                                 ImportLibrary="$(OutDir)/gadget_g-$(GADGET_VERSION).lib" 
     46                                ImportLibrary="$(OutDir)/gadget-$(GADGET_VERSION).lib" 
    4747                                TargetMachine="1"/> 
    4848                  &