mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
note that LINK_FORCE_STATIC_RELEASE_C_RUNTIME has been broken for a very long time
This commit is contained in:
parent
0aedd3fdd8
commit
7adea0291f
@ -6,7 +6,7 @@
|
|||||||
#define COMMONFLAGS /Gi-
|
#define COMMONFLAGS /Gi-
|
||||||
|
|
||||||
// use "unsafe" QIfist flt->int rounding only if FAST_FLT_TO_INT is defined
|
// use "unsafe" QIfist flt->int rounding only if FAST_FLT_TO_INT is defined
|
||||||
#define OPTFLAGS /O2 /Ob1 /G6 $[if $[ne $[FAST_FLT_TO_INT],], /QIfist,]
|
#define OPTFLAGS /O2 /Ob1 /G7 $[if $[ne $[FAST_FLT_TO_INT],], /QIfist,]
|
||||||
#define OPT1FLAGS /GZ
|
#define OPT1FLAGS /GZ
|
||||||
|
|
||||||
// Note: Zi cannot be used on multiproc builds with precomp hdrs, Z7 must be used instead
|
// Note: Zi cannot be used on multiproc builds with precomp hdrs, Z7 must be used instead
|
||||||
@ -95,10 +95,14 @@
|
|||||||
// Note: Zi cannot be used on multiproc builds with precomp hdrs, Z7 must be used instead
|
// Note: Zi cannot be used on multiproc builds with precomp hdrs, Z7 must be used instead
|
||||||
#defer DEBUGPDBFLAGS /Zi /Fd"$[osfilename $[patsubst %.obj,%.pdb, $[target]]]"
|
#defer DEBUGPDBFLAGS /Zi /Fd"$[osfilename $[patsubst %.obj,%.pdb, $[target]]]"
|
||||||
|
|
||||||
|
// 2007/05 THIS IS ACTUALLY BROKEN and for a very long time!!! if you try setting it in Sources/Config.pp
|
||||||
|
//
|
||||||
// if LINK_FORCE_STATIC_C_RUNTIME is defined, it always links with static c runtime (release version
|
// if LINK_FORCE_STATIC_C_RUNTIME is defined, it always links with static c runtime (release version
|
||||||
// for both Opt1 and Opt4!) instead of the msvcrt dlls
|
// for both Opt1 and Opt4!) instead of the msvcrt dlls
|
||||||
|
//
|
||||||
|
// 2007/05 THIS IS ACTUALLY BROKEN and for a very long time!!! if you try setting it in Sources/Config.pp
|
||||||
|
|
||||||
#defer DEBUGFLAGS $[if $[ne $[LINK_FORCE_STATIC_RELEASE_C_RUNTIME],],/MT, /MDd] $[BROWSEINFO_FLAG] $[DEBUGINFOFLAGS] $[DEBUGPDBFLAGS]
|
#defer DEBUGFLAGS $[if $[ne $[LINK_FORCE_STATIC_RELEASE_C_RUNTIME],],/MTd, /MDd] $[BROWSEINFO_FLAG] $[DEBUGINFOFLAGS] $[DEBUGPDBFLAGS]
|
||||||
#defer RELEASEFLAGS $[if $[ne $[LINK_FORCE_STATIC_RELEASE_C_RUNTIME],],/MT, /MD]
|
#defer RELEASEFLAGS $[if $[ne $[LINK_FORCE_STATIC_RELEASE_C_RUNTIME],],/MT, /MD]
|
||||||
|
|
||||||
#define MAPINFOFLAGS /MAPINFO:EXPORTS /MAPINFO:LINES
|
#define MAPINFOFLAGS /MAPINFO:EXPORTS /MAPINFO:LINES
|
||||||
@ -117,7 +121,7 @@
|
|||||||
#define LINKER_FLAGS /DEBUG $[PROFILE_FLAG] /MAP $[MAPINFOFLAGS] /fixed:no /incremental:no /stack:4194304
|
#define LINKER_FLAGS /DEBUG $[PROFILE_FLAG] /MAP $[MAPINFOFLAGS] /fixed:no /incremental:no /stack:4194304
|
||||||
|
|
||||||
// Added to avoid old iostream reference problems
|
// Added to avoid old iostream reference problems
|
||||||
#define LINKER_FLAGS $[LINKER_FLAGS] /NODEFAULTLIB:LIBCI.LIB
|
#define LINKER_FLAGS $[LINKER_FLAGS] /NODEFAULTLIB:LIBCI.LIB
|
||||||
// Added to make pandatool function in VS 8
|
// Added to make pandatool function in VS 8
|
||||||
#if $[eq $[USE_COMPILER],MSVC8]
|
#if $[eq $[USE_COMPILER],MSVC8]
|
||||||
#define LINKER_FLAGS $[LINKER_FLAGS] /NOD:MFC80.LIB /NOD:libcmtd /NOD:libc
|
#define LINKER_FLAGS $[LINKER_FLAGS] /NOD:MFC80.LIB /NOD:libcmtd /NOD:libc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user