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

Merges from the trunk:

r20490: 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.

r20491: When we are running a debug build (not linking against the debug

runtime on Windows), prepend the "debug" subdirectory to the
plug-in search path by default.

r20492: Get the non-Windows build and installation in sync with the Windows

build with regard to debug-enabled plug-ins. Instead of using an
"_d" name variant, we are now separating the plug-ins using
directories. The debug-enabled plug-ins go in the "debug"
subdirectory of the directory containing the optimized plug-ins. In
cases where the plug-in search path is configurable, users can load
the debug plug-ins into optimized or debug-enabled code by changing
the search path in the configuration. Now, the "debug" subdirectory
is searched before the optimized directory for debug builds. This
retains backwards compatibility with previous versions and keeps
things simple when developers are only making debug builds.

JCCL, Gadgeteer, Sonix, and VR Juggler load plug-ins using vpr::LibraryLoader?.
While there has been no API change to that class that these modules depend on,
they do need to get the proper run-time behavior when searching for plug-ins.
As such, they now all need VPR 1.1.49 (i.e., this revision) or newer.

All of this is noted in the respective ChangeLog? files, and the version
number of each Juggler module to mark this significant change.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/branches/2.2/modules/gadgeteer/samples/tutorials/device.drivers/buttondevice.vcproj

    r20431 r20500  
    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=""$(VJ_BASE_DIR)\lib";"$(VJ_DEPS_DIR)\lib"" 
    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