mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
include platform sdk dirs in all win32 builds
This commit is contained in:
parent
860758dc67
commit
846980feaa
@ -254,10 +254,13 @@
|
||||
// Should we try to build the SGI-specific glxdisplay?
|
||||
#define HAVE_SGIGL $[eq $[PLATFORM],Irix]
|
||||
|
||||
#define WIN32_PLATFORMSDK_INCPATH /mspsdk/Include
|
||||
#define WIN32_PLATFORMSDK_LIBPATH /mspsdk/Lib
|
||||
|
||||
// Should we try to build the DirectX interface? What additional
|
||||
// libraries do we need?
|
||||
#define DX_IPATH /mspsdk/Include
|
||||
#define DX_LPATH /mspsdk/Lib
|
||||
#define DX_IPATH $[WIN32_PLATFORMSDK_INCPATH]
|
||||
#define DX_LPATH $[WIN32_PLATFORMSDK_LIBPATH]
|
||||
#define DX_LIBS \
|
||||
dxguid.lib winmm.lib kernel32.lib gdi32.lib comdlg32.lib winspool.lib \
|
||||
user32.lib advapi32.lib ddraw.lib d3dim.lib
|
||||
|
@ -437,6 +437,10 @@
|
||||
#defun get_ipath
|
||||
#define alt_ipath $[stl_ipath] $[nspr_ipath] $[python_ipath]
|
||||
|
||||
#if $[eq $[PLATFORM],Win32]
|
||||
// all win32 files need path to latest windows.h and libs, which are in plat-sdk dirs, not the deflt vc ones
|
||||
#set alt_ipath $[WIN32_PLATFORMSDK_INCPATH] $[alt_ipath]
|
||||
#endif
|
||||
#if $[ne $[USE_CRYPTO] $[components $[USE_CRYPTO],$[active_component_libs]],]
|
||||
#set alt_ipath $[alt_ipath] $[crypto_ipath]
|
||||
#endif
|
||||
@ -502,6 +506,9 @@
|
||||
#defun get_lpath
|
||||
#define alt_lpath $[stl_lpath] $[nspr_lpath] $[python_lpath]
|
||||
|
||||
#if $[eq $[PLATFORM],Win32]
|
||||
#set alt_lpath $[WIN32_PLATFORMSDK_LIBPATH] $[alt_lpath]
|
||||
#endif
|
||||
#if $[ne $[USE_CRYPTO] $[components $[USE_CRYPTO],$[active_component_libs] $[transitive_link]],]
|
||||
#set alt_lpath $[alt_lpath] $[crypto_lpath]
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user