Changeset 20490
- Timestamp:
- 07/08/07 16:01:55 (1 year ago)
- Files:
-
- juggler/trunk/build_windows.py (modified) (2 diffs)
- juggler/trunk/modules/gadgeteer/gadget/AutoLink.h (modified) (1 diff)
- juggler/trunk/modules/gadgeteer/gadget/gadgetmain.cpp (modified) (1 diff)
- juggler/trunk/modules/gadgeteer/samples/tutorials/device.drivers/buttondevice.vcproj (modified) (1 diff)
- juggler/trunk/modules/jackal/common/jccl/AutoLink.h (modified) (1 diff)
- juggler/trunk/modules/jackal/common/jccl/jcclmain.cpp (modified) (1 diff)
- juggler/trunk/modules/sonix/snx/AutoLink.h (modified) (1 diff)
- juggler/trunk/modules/sonix/snx/snxmain.cpp (modified) (1 diff)
- juggler/trunk/modules/tweek/tweek/AutoLink.h (modified) (1 diff)
- juggler/trunk/modules/tweek/tweek/tweekmain.cpp (modified) (1 diff)
- juggler/trunk/modules/vapor/vpr/AutoLink.h (modified) (1 diff)
- juggler/trunk/modules/vapor/vpr/DynLoad/LibraryLoader.cpp (modified) (1 diff)
- juggler/trunk/modules/vapor/vpr/DynLoad/LibraryLoader.h (modified) (1 diff)
- juggler/trunk/modules/vapor/vpr/vprmain.cpp (modified) (1 diff)
- juggler/trunk/modules/vrjuggler/vrj/AutoLink.h (modified) (1 diff)
- juggler/trunk/modules/vrjuggler/vrj/vrjmain.cpp (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/ApplicationDataManager/ApplicationDataManager.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/DTrack/DTrack.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/DataGlove/DataGlove.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/DirectXJoystick/DirectXJoystick.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/Ether24/Ether24.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/Fastrak/Fastrak.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/Flock/Flock.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/Gadgeteer.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/IBox/IBox.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/IS900/IS900.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/IntersenseAPI/IntersenseAPI.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/MSFTSpeechRecognition/MicrosoftSpeechRecognition.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/MotionStar/MotionStar.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/PinchGlove/PinchGlove.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/RemoteInputManager/RemoteInputManager.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/SerialEncoder/SerialEncoder.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/SpaceBall/SpaceBall.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/TrackdAPI/TrackdAPI.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/VRPN/VRPN.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/Wanda/Wanda.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Gadgeteer/X-IST/X-IST.vcproj (modified) (1 diff)
- juggler/trunk/vc7/JCCL/JCCL.vcproj (modified) (1 diff)
- juggler/trunk/vc7/JCCL/RTRC_Plugin_CXX/RTRC_Plugin_CXX.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Sonix/Sonix.vcproj (modified) (1 diff)
- juggler/trunk/vc7/Tweek_CXX/Tweek_CXX.vcproj (modified) (2 diffs)
- juggler/trunk/vc7/VPR/VPR.vcproj (modified) (2 diffs)
- juggler/trunk/vc7/VRJuggler/Direct3D_Draw_Manager/Direct3D_Draw_Manager.vcproj (modified) (1 diff)
- juggler/trunk/vc7/VRJuggler/OpenGL_Draw_Manager/OpenGL_Draw_Manager.vcproj (modified) (1 diff)
- juggler/trunk/vc7/VRJuggler/Performer_Draw_Manager/Performer_Draw_Manager.vcproj (modified) (1 diff)
- juggler/trunk/vc7/VRJuggler/VRJuggler.vcproj (modified) (1 diff)
- juggler/trunk/vc7/VRJugglerPlugins/Perf_Plugin_CXX/Perf_Plugin_CXX.vcproj (modified) (1 diff)
- juggler/trunk/vc8/Gadgeteer/ApplicationDataManager/ApplicationDataManager.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/DTrack/DTrack.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/DataGlove/DataGlove.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/DirectXJoystick/DirectXJoystick.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/Ether24/Ether24.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/Fastrak/Fastrak.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/Flock/Flock.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/Gadgeteer.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/IBox/IBox.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/IS900/IS900.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/IntersenseAPI/IntersenseAPI.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/MSFTSpeechRecognition/MicrosoftSpeechRecognition.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/MotionStar/MotionStar.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/PinchGlove/PinchGlove.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/RemoteInputManager/RemoteInputManager.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/SerialEncoder/SerialEncoder.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/SpaceBall/SpaceBall.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/TrackdAPI/TrackdAPI.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/VRPN/VRPN.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/Wanda/Wanda.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Gadgeteer/X-IST/X-IST.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/JCCL/JCCL.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/JCCL/RTRC_Plugin_CXX/RTRC_Plugin_CXX.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Sonix/Sonix.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/Tweek_CXX/Tweek_CXX.vcproj (modified) (4 diffs)
- juggler/trunk/vc8/VPR/VPR.vcproj (modified) (4 diffs)
- juggler/trunk/vc8/VRJuggler/Direct3D_Draw_Manager/Direct3D_Draw_Manager.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/VRJuggler/OpenGL_Draw_Manager/OpenGL_Draw_Manager.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/VRJuggler/Performer_Draw_Manager/Performer_Draw_Manager.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/VRJuggler/VRJuggler.vcproj (modified) (2 diffs)
- juggler/trunk/vc8/VRJugglerPlugins/Perf_Plugin_CXX/Perf_Plugin_CXX.vcproj (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/build_windows.py
r20436 r20490 1059 1059 def installLibs(srcRoot, destdir, 1060 1060 buildPlatforms = ['Win32', 'x64'], 1061 buildTypes = [ 'ReleaseDLL', 'DebugDLL', 'DebugRtDLL',1062 'Release', 'Debug'],1061 buildTypes = [('ReleaseDLL',), ('DebugDLL', 'debug'), 1062 ('DebugRtDLL',)], 1063 1063 extensions = ['.dll', '.lib']): 1064 1064 for p in buildPlatforms: 1065 1065 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) 1067 1073 if os.path.exists(srcdir): 1068 installDir(srcdir, destdir, extensions)1074 installDir(srcdir, cur_destdir, extensions) 1069 1075 1070 1076 def installExternal(prefix, buildDir): … … 1370 1376 printStatus("Installing Sonix plug-ins ...") 1371 1377 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']) 1391 1385 1392 1386 def installGadgeteer(prefix, buildDir): juggler/trunk/modules/gadgeteer/gadget/AutoLink.h
r20345 r20490 31 31 # include <gadget/gadgetParam.h> 32 32 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" 39 35 # else 40 36 # define GADGET_LIB_RT_OPT "" juggler/trunk/modules/gadgeteer/gadget/gadgetmain.cpp
r19789 r20490 69 69 { 70 70 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(); 73 79 #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()); 75 81 #else 76 82 std::ostringstream env_stream; 77 env_stream << "GADGET_BASE_DIR=" << base_dir ;83 env_stream << "GADGET_BASE_DIR=" << base_dir_str; 78 84 putenv(env_stream.str().c_str()); 79 85 #endif juggler/trunk/modules/gadgeteer/samples/tutorials/device.drivers/buttondevice.vcproj
r20430 r20490 36 36 Name="VCLinkerTool" 37 37 AdditionalDependencies="libnspr4.lib libplc4.lib ws2_32.lib $(NOINHERIT)" 38 OutputFile="$(OutDir)/button_drv _g.dll"38 OutputFile="$(OutDir)/button_drv.dll" 39 39 LinkIncremental="1" 40 40 AdditionalLibraryDirectories=""$(VJ_BASE_DIR)\lib";"$(VJ_DEPS_DIR)\lib"" 41 41 GenerateDebugInformation="FALSE" 42 ProgramDatabaseFile="$(OutDir)/button_drv _g.pdb"42 ProgramDatabaseFile="$(OutDir)/button_drv.pdb" 43 43 SubSystem="1" 44 ImportLibrary="$(OutDir)/button_drv _g.lib"44 ImportLibrary="$(OutDir)/button_drv.lib" 45 45 TargetMachine="1"/> 46 46 <Tool juggler/trunk/modules/jackal/common/jccl/AutoLink.h
r20345 r20490 31 31 # include <jccl/jcclParam.h> 32 32 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" 39 35 # else 40 36 # define JCCL_LIB_RT_OPT "" juggler/trunk/modules/jackal/common/jccl/jcclmain.cpp
r19787 r20490 69 69 { 70 70 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(); 73 79 #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()); 75 81 #else 76 82 std::ostringstream env_stream; 77 env_stream << "JCCL_BASE_DIR=" << base_dir ;83 env_stream << "JCCL_BASE_DIR=" << base_dir_str; 78 84 putenv(env_stream.str().c_str()); 79 85 #endif juggler/trunk/modules/sonix/snx/AutoLink.h
r20345 r20490 40 40 # include <snx/snxParam.h> 41 41 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" 48 44 # else 49 45 # define SNX_LIB_RT_OPT "" juggler/trunk/modules/sonix/snx/snxmain.cpp
r19788 r20490 78 78 { 79 79 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(); 82 88 #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()); 84 90 #else 85 91 std::ostringstream env_stream; 86 env_stream << "SNX_BASE_DIR=" << base_dir ;92 env_stream << "SNX_BASE_DIR=" << base_dir_str; 87 93 putenv(env_stream.str().c_str()); 88 94 #endif juggler/trunk/modules/tweek/tweek/AutoLink.h
r20345 r20490 31 31 # include <tweek/tweekParam.h> 32 32 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" 39 35 # else 40 36 # define TWEEK_LIB_RT_OPT "" juggler/trunk/modules/tweek/tweek/tweekmain.cpp
r19786 r20490 69 69 { 70 70 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(); 73 79 #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()); 75 81 #else 76 82 std::ostringstream env_stream; 77 env_stream << "TWEEK_BASE_DIR=" << base_dir ;83 env_stream << "TWEEK_BASE_DIR=" << base_dir_str; 78 84 putenv(env_stream.str().c_str()); 79 85 #endif juggler/trunk/modules/vapor/vpr/AutoLink.h
r20345 r20490 40 40 # include <vpr/vprParam.h> 41 41 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" 48 44 # else 49 45 # define VPR_LIB_RT_OPT "" juggler/trunk/modules/vapor/vpr/DynLoad/LibraryLoader.cpp
r20376 r20490 57 57 { 58 58 59 #if defined(VPR_DEBUG) 60 # if defined(_DEBUG) || ! defined(VPR_OS_Windows) 59 #if defined(VPR_DEBUG) && defined(_DEBUG) && defined(VPR_OS_Windows) 61 60 std::string LibraryLoader::sDsoNameExt("_d"); 62 # else63 std::string LibraryLoader::sDsoNameExt("_g");64 # endif65 61 #else 66 62 std::string LibraryLoader::sDsoNameExt(""); juggler/trunk/modules/vapor/vpr/DynLoad/LibraryLoader.h
r20376 r20490 219 219 * platform-specific extension (.so, .dll, etc) will be appended, and for 220 220 * 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. 229 228 * 230 229 * @param dsoBaseName The base name of the DSO to be loaded. juggler/trunk/modules/vapor/vpr/vprmain.cpp
r19785 r20490 78 78 { 79 79 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(); 82 88 #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()); 84 90 #else 85 91 std::ostringstream env_stream; 86 env_stream << "VPR_BASE_DIR=" << base_dir ;92 env_stream << "VPR_BASE_DIR=" << base_dir_str; 87 93 putenv(env_stream.str().c_str()); 88 94 #endif juggler/trunk/modules/vrjuggler/vrj/AutoLink.h
r20345 r20490 36 36 # endif 37 37 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" 44 40 # else 45 41 # define VJ_LIB_RT_OPT "" juggler/trunk/modules/vrjuggler/vrj/vrjmain.cpp
r19790 r20490 69 69 { 70 70 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(); 73 79 #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()); 75 81 #else 76 82 std::ostringstream env_stream; 77 env_stream << "VJ_BASE_DIR=" << base_dir ;83 env_stream << "VJ_BASE_DIR=" << base_dir_str; 78 84 putenv(env_stream.str().c_str()); 79 85 #endif juggler/trunk/vc7/Gadgeteer/ApplicationDataManager/ApplicationDataManager.vcproj
r20357 r20490 36 36 Name="VCLinkerTool" 37 37 AdditionalDependencies="libnspr4.lib libplc4.lib $(NOINHERIT)" 38 OutputFile="$(OutDir)/ApplicationDataManager _g.dll"38 OutputFile="$(OutDir)/ApplicationDataManager.dll" 39 39 Version="$(GADGET_VERSION_DOT)" 40 40 LinkIncremental="1" 41 41 AdditionalLibraryDirectories=""$(NSPR_ROOT)\lib";"$(BOOST_ROOT)\lib";"..\$(OutDir)";"..\..\JCCL\$(OutDir)";"..\..\VPR\$(OutDir)"" 42 42 GenerateDebugInformation="FALSE" 43 ProgramDatabaseFile="$(OutDir)/ApplicationDataManager _g.pdb"43 ProgramDatabaseFile="$(OutDir)/ApplicationDataManager.pdb" 44 44 SubSystem="1" 45 ImportLibrary="$(OutDir)/ApplicationDataManager _g.lib"45 ImportLibrary="$(OutDir)/ApplicationDataManager.lib" 46 46 TargetMachine="1"/> 47 47 <Tool juggler/trunk/vc7/Gadgeteer/DTrack/DTrack.vcproj
r20357 r20490 36 36 Name="VCLinkerTool" 37 37 AdditionalDependencies="libnspr4.lib libplc4.lib $(NOINHERIT)" 38 OutputFile="$(OutDir)/DTrack_drv _g.dll"38 OutputFile="$(OutDir)/DTrack_drv.dll" 39 39 Version="$(GADGET_VERSION_DOT)" 40 40 LinkIncremental="1" 41 41 AdditionalLibraryDirectories=""$(NSPR_ROOT)\lib";"$(BOOST_ROOT)\lib";"..\$(OutDir)";"..\..\JCCL\$(OutDir)";"..\..\VPR\$(OutDir)"" 42 42 GenerateDebugInformation="FALSE" 43 ProgramDatabaseFile="$(OutDir)/DTrack_drv _g.pdb"43 ProgramDatabaseFile="$(OutDir)/DTrack_drv.pdb" 44 44 SubSystem="1" 45 ImportLibrary="$(OutDir)/DTrack_drv _g.lib"45 ImportLibrary="$(OutDir)/DTrack_drv.lib" 46 46 TargetMachine="1"/> 47 47 <Tool juggler/trunk/vc7/Gadgeteer/DataGlove/DataGlove.vcproj
r20357 r20490 36 36 Name="VCLinkerTool" 37 37 AdditionalDependencies="libnspr4.lib libplc4.lib $(NOINHERIT)" 38 OutputFile="$(OutDir)/DataGlove_drv _g.dll"38 OutputFile="$(OutDir)/DataGlove_drv.dll" 39 39 Version="$(GADGET_VERSION_DOT)" 40 40 LinkIncremental="1" 41 41 AdditionalLibraryDirectories=""$(NSPR_ROOT)\lib";"$(BOOST_ROOT)\lib";"..\$(OutDir)";"..\..\JCCL\$(OutDir)";"..\..\VPR\$(OutDir)"" 42 42 GenerateDebugInformation="FALSE" 43 ProgramDatabaseFile="$(OutDir)/DataGlove_drv _g.pdb"43 ProgramDatabaseFile="$(OutDir)/DataGlove_drv.pdb" 44 44 SubSystem="1" 45 ImportLibrary="$(OutDir)/DataGlove_drv _g.lib"45 ImportLibrary="$(OutDir)/DataGlove_drv.lib" 46 46 TargetMachine="1"/> 47 47 <Tool juggler/trunk/vc7/Gadgeteer/DirectXJoystick/DirectXJoystick.vcproj
r20357 r20490 36 36 Name="VCLinkerTool" 37 37 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" 39 39 Version="$(GADGET_VERSION_DOT)" 40 40 LinkIncremental="1" 41 41 AdditionalLibraryDirectories=""$(NSPR_ROOT)\lib";"$(BOOST_ROOT)\lib";"..\$(OutDir)";"..\..\JCCL\$(OutDir)";"..\..\VPR\$(OutDir)"" 42 42 GenerateDebugInformation="FALSE" 43 ProgramDatabaseFile="$(OutDir)/DirectXJoystick_drv _g.pdb"43 ProgramDatabaseFile="$(OutDir)/DirectXJoystick_drv.pdb" 44 44 SubSystem="1" 45 ImportLibrary="$(OutDir)/DirectXJoystick_drv _g.lib"45 ImportLibrary="$(OutDir)/DirectXJoystick_drv.lib" 46 46 TargetMachine="1"/> 47 47 <Tool juggler/trunk/vc7/Gadgeteer/Ether24/Ether24.vcproj
r20357 r20490 37 37 Name="VCLinkerTool" 38 38 AdditionalDependencies="libnspr4.lib libplc4.lib ws2_32.lib $(NOINHERIT)" 39 OutputFile="$(OutDir)/ElexolEther24_drv _g.dll"39 OutputFile="$(OutDir)/ElexolEther24_drv.dll" 40 40 Version="$(GADGET_VERSION_DOT)" 41 41 LinkIncremental="1" 42 42 AdditionalLibraryDirectories=""$(NSPR_ROOT)\lib";"$(BOOST_ROOT)\lib";"..\$(OutDir)";"..\..\JCCL\$(OutDir)";"..\..\VPR\$(OutDir)"" 43 43 GenerateDebugInformation="FALSE" 44 ProgramDatabaseFile="$(OutDir)/ElexolEther24_drv _g.pdb"44 ProgramDatabaseFile="$(OutDir)/ElexolEther24_drv.pdb" 45 45 SubSystem="1" 46 ImportLibrary="$(OutDir)/ElexolEther24_drv _g.lib"46 ImportLibrary="$(OutDir)/ElexolEther24_drv.lib" 47 47 TargetMachine="1"/> 48 48 <Tool juggler/trunk/vc7/Gadgeteer/Fastrak/Fastrak.vcproj
r20357 r20490 36 36 Name="VCLinkerTool" 37 37 AdditionalDependencies="libnspr4.lib libplc4.lib $(NOINHERIT)" 38 OutputFile="$(OutDir)/Fastrak_drv _g.dll"38 OutputFile="$(OutDir)/Fastrak_drv.dll" 39 39 Version="$(GADGET_VERSION_DOT)" 40 40 LinkIncremental="1" 41 41 AdditionalLibraryDirectories=""$(NSPR_ROOT)\lib";"$(BOOST_ROOT)\lib";"..\$(OutDir)";"..\..\JCCL\$(OutDir)";"..\..\VPR\$(OutDir)"" 42 42 GenerateDebugInformation="FALSE" 43 ProgramDatabaseFile="$(OutDir)/Fastrak_drv _g.pdb"43 ProgramDatabaseFile="$(OutDir)/Fastrak_drv.pdb" 44 44 SubSystem="1" 45 ImportLibrary="$(OutDir)/Fastrak_drv _g.lib"45 ImportLibrary="$(OutDir)/Fastrak_drv.lib" 46 46 TargetMachine="1"/> 47 47 <Tool juggler/trunk/vc7/Gadgeteer/Flock/Flock.vcproj
r20357 r20490 36 36 Name="VCLinkerTool" 37 37 AdditionalDependencies="libnspr4.lib libplc4.lib $(NOINHERIT)" 38 OutputFile="$(OutDir)/Flock_drv _g.dll"38 OutputFile="$(OutDir)/Flock_drv.dll" 39 39 Version="$(GADGET_VERSION_DOT)" 40 40 LinkIncremental="1" 41 41 AdditionalLibraryDirectories=""$(NSPR_ROOT)\lib";"$(BOOST_ROOT)\lib";"..\$(OutDir)";"..\..\JCCL\$(OutDir)";"..\..\VPR\$(OutDir)"" 42 42 GenerateDebugInformation="FALSE" 43 ProgramDatabaseFile="$(OutDir)/Flock_drv _g.pdb"43 ProgramDatabaseFile="$(OutDir)/Flock_drv.pdb" 44 44 SubSystem="1" 45 ImportLibrary="$(OutDir)/Flock_drv _g.lib"45 ImportLibrary="$(OutDir)/Flock_drv.lib" 46 46 TargetMachine="1"/> 47 47 <Tool juggler/trunk/vc7/Gadgeteer/Gadgeteer.vcproj
r20383 r20490 37 37 Name="VCLinkerTool" 38 38 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" 40 40 Version="$(GADGET_VERSION_DOT)" 41 41 LinkIncremental="0" 42 42 AdditionalLibraryDirectories=""$(NSPR_ROOT)\lib";"$(BOOST_ROOT)\lib";"$(CPPDOM_ROOT)\lib";"..\JCCL\$(OutDir)";"..\VPR\$(OutDir)"" 43 43 GenerateDebugInformation="FALSE" 44 ProgramDatabaseFile="$(OutDir)/gadget _g-$(GADGET_VERSION).pdb"44 ProgramDatabaseFile="$(OutDir)/gadget-$(GADGET_VERSION).pdb" 45 45 SubSystem="1" 46 ImportLibrary="$(OutDir)/gadget _g-$(GADGET_VERSION).lib"46 ImportLibrary="$(OutDir)/gadget-$(GADGET_VERSION).lib" 47 47 TargetMachine="1"/> 48 48 &
