copy pdbs to install dir

This commit is contained in:
cxgeorge 2002-10-01 19:47:43 +00:00
parent 456e33dca4
commit 94273e7f88
3 changed files with 11 additions and 18 deletions

View File

@ -99,14 +99,6 @@
#defer LDFLAGS_OPT3 $[LINKER_FLAGS] $[LDFLAGS_OPT3] #defer LDFLAGS_OPT3 $[LINKER_FLAGS] $[LDFLAGS_OPT3]
#defer LDFLAGS_OPT4 $[LINKER_FLAGS] $[LDFLAGS_OPT4] #defer LDFLAGS_OPT4 $[LINKER_FLAGS] $[LDFLAGS_OPT4]
// $[build_pdbs] will be nonempty (true) if we should expect to
// generate a .pdb file when we build a DLL or EXE.
#if $[eq $[USE_COMPILER], MSVC]
#define build_pdbs yes
#else
#define build_pdbs
#endif
// $[dllext] will be "_d" for debug builds, and empty for non-debug // $[dllext] will be "_d" for debug builds, and empty for non-debug
// builds. This is the extra bit of stuff we tack on to the end of a // builds. This is the extra bit of stuff we tack on to the end of a
// dll name. We name the debug dll's file_d.dll, partly to be // dll name. We name the debug dll's file_d.dll, partly to be

View File

@ -101,15 +101,6 @@
#defer LDFLAGS_OPT3 $[LINKER_FLAGS] $[LDFLAGS_OPT3] #defer LDFLAGS_OPT3 $[LINKER_FLAGS] $[LDFLAGS_OPT3]
#defer LDFLAGS_OPT4 $[LINKER_FLAGS] $[LDFLAGS_OPT4] #defer LDFLAGS_OPT4 $[LINKER_FLAGS] $[LDFLAGS_OPT4]
// $[build_pdbs] will be nonempty (true) if we should expect to
// generate a .pdb file when we build a DLL or EXE.
// we now build pdb for all Opt values
#if $[eq $[USE_COMPILER], MSVC]
#define build_pdbs yes
#else
#define build_pdbs
#endif
// $[dllext] will be "_d" for debug builds, and empty for non-debug // $[dllext] will be "_d" for debug builds, and empty for non-debug
// builds. This is the extra bit of stuff we tack on to the end of a // builds. This is the extra bit of stuff we tack on to the end of a
// dll name. We name the debug dll's file_d.dll, partly to be // dll name. We name the debug dll's file_d.dll, partly to be

View File

@ -41,6 +41,9 @@
#define EXTRA_CDEFS FORCE_INLINING $[EXTRA_CDEFS] #define EXTRA_CDEFS FORCE_INLINING $[EXTRA_CDEFS]
#endif #endif
// ensure pdbs are copied to install dir
#define build_pdbs yes
#elif $[eq $[USE_COMPILER], MSVC7] #elif $[eq $[USE_COMPILER], MSVC7]
#define COMPILER cl #define COMPILER cl
@ -105,6 +108,9 @@
// #define EXTRA_LIBPATH /ia32/lib // #define EXTRA_LIBPATH /ia32/lib
// #define EXTRA_INCPATH /ia32/include // #define EXTRA_INCPATH /ia32/include
// ensure pdbs are copied to install dir
#define build_pdbs yes
#elif $[eq $[USE_COMPILER], INTEL] #elif $[eq $[USE_COMPILER], INTEL]
#define COMPILER icl #define COMPILER icl
#define LINKER xilink #define LINKER xilink
@ -147,6 +153,9 @@
// Note: all Opts will link w/debug info now // Note: all Opts will link w/debug info now
#define LINKER_FLAGS /DEBUG /DEBUGTYPE:CV $[PROFILE_FLAG] /MAP $[MAPINFOFLAGS] /fixed:no /incremental:no #define LINKER_FLAGS /DEBUG /DEBUGTYPE:CV $[PROFILE_FLAG] /MAP $[MAPINFOFLAGS] /fixed:no /incremental:no
// ensure pdbs are copied to install dir
#define build_pdbs yes
#elif $[eq $[USE_COMPILER], BOUNDS] // NuMega BoundsChecker #elif $[eq $[USE_COMPILER], BOUNDS] // NuMega BoundsChecker
#define COMPILER nmcl #define COMPILER nmcl
#define LINKER nmlink #define LINKER nmlink
@ -195,3 +204,4 @@
#if $[PREPROCESSOR_OUTPUT] #if $[PREPROCESSOR_OUTPUT]
#define END_CFLAGS $[END_CFLAGS] /E #define END_CFLAGS $[END_CFLAGS] /E
#endif #endif