mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 11:28:17 -04:00
*** empty log message ***
This commit is contained in:
parent
362b10c695
commit
b59a76bea5
@ -84,11 +84,7 @@
|
|||||||
// control your attachment to the trees; in this case, the install
|
// control your attachment to the trees; in this case, the install
|
||||||
// directory for each tree will by default be the root of the tree
|
// directory for each tree will by default be the root of the tree
|
||||||
// itself (although this may be overridden).
|
// itself (although this may be overridden).
|
||||||
#if $[eq $[PLATFORM],Win32]
|
#define INSTALL_DIR /usr/local/panda
|
||||||
#define INSTALL_DIR /pandadir
|
|
||||||
#else
|
|
||||||
#define INSTALL_DIR /usr/local/panda
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
// What level of compiler optimization/debug symbols should we build?
|
// What level of compiler optimization/debug symbols should we build?
|
||||||
@ -106,7 +102,6 @@
|
|||||||
#define OPTIMIZE 2
|
#define OPTIMIZE 2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// The remaining variables are considered only if BUILD_TYPE is not
|
// The remaining variables are considered only if BUILD_TYPE is not
|
||||||
// "autoconf". (Autoconf can determine these directly.)
|
// "autoconf". (Autoconf can determine these directly.)
|
||||||
|
@ -143,9 +143,13 @@
|
|||||||
#defer STATIC_LIB_C $[LIBBER] /nologo $[sources] /OUT:"$[osfilename $[target]]"
|
#defer STATIC_LIB_C $[LIBBER] /nologo $[sources] /OUT:"$[osfilename $[target]]"
|
||||||
#defer STATIC_LIB_C++ $[STATIC_LIB_C]
|
#defer STATIC_LIB_C++ $[STATIC_LIB_C]
|
||||||
|
|
||||||
#defer ver_resource $[directory]\ver.res
|
#if $[GENERATE_BUILDDATE]
|
||||||
|
#defer ver_resource "$[directory]\ver.res"
|
||||||
|
#else
|
||||||
|
#define ver_resource
|
||||||
|
#endif
|
||||||
|
|
||||||
#defer SHARED_LIB_C $[LINKER] /nologo /dll $[LDFLAGS_OPT$[OPTIMIZE]] $[sources] "$[ver_resource]" $[decygwin %,/LIBPATH:"%",$[lpath] $[EXTRA_LIBPATH]] $[patsubst %.lib,%.lib,%,lib%.lib,$[libs]] /OUT:"$[osfilename $[target]]"
|
#defer SHARED_LIB_C $[LINKER] /nologo /dll $[LDFLAGS_OPT$[OPTIMIZE]] $[sources] $[ver_resource] $[decygwin %,/LIBPATH:"%",$[lpath] $[EXTRA_LIBPATH]] $[patsubst %.lib,%.lib,%,lib%.lib,$[libs]] /OUT:"$[osfilename $[target]]"
|
||||||
#defer SHARED_LIB_C++ $[SHARED_LIB_C]
|
#defer SHARED_LIB_C++ $[SHARED_LIB_C]
|
||||||
|
|
||||||
#defer LINK_BIN_C $[LINKER] /nologo $[LDFLAGS_OPT$[OPTIMIZE]] $[sources] $[decygwin %,/LIBPATH:"%",$[lpath] $[EXTRA_LIBPATH]] $[patsubst %.lib,%.lib,%,lib%.lib,$[libs]] /OUT:"$[osfilename $[target]]"
|
#defer LINK_BIN_C $[LINKER] /nologo $[LDFLAGS_OPT$[OPTIMIZE]] $[sources] $[decygwin %,/LIBPATH:"%",$[lpath] $[EXTRA_LIBPATH]] $[patsubst %.lib,%.lib,%,lib%.lib,$[libs]] /OUT:"$[osfilename $[target]]"
|
||||||
|
@ -339,6 +339,7 @@ $[varname] = $[sources]
|
|||||||
#define tmpdirname_win $[directory]\$[mybasename]
|
#define tmpdirname_win $[directory]\$[mybasename]
|
||||||
|
|
||||||
// not parallel (requires gmake 3.79) because of link.exe conflicts in TMP dir (see audiotraits dir)
|
// not parallel (requires gmake 3.79) because of link.exe conflicts in TMP dir (see audiotraits dir)
|
||||||
|
#if $[GENERATE_BUILDDATE]
|
||||||
.NOTPARALLEL $[target] : $[sources] $[so_dir]/stamp $[dtool_ver_dir_cyg]/version.rc
|
.NOTPARALLEL $[target] : $[sources] $[so_dir]/stamp $[dtool_ver_dir_cyg]/version.rc
|
||||||
// first generate builddate for rc compiler
|
// first generate builddate for rc compiler
|
||||||
mkdir -p $[tmpdirname_cyg] // this dir-creation-stuff is leftover from trying to resolve parallel link difficulties
|
mkdir -p $[tmpdirname_cyg] // this dir-creation-stuff is leftover from trying to resolve parallel link difficulties
|
||||||
@ -350,6 +351,14 @@ $[varname] = $[sources]
|
|||||||
#else
|
#else
|
||||||
$[SHARED_LIB_C] $[VER_RESOURCE]
|
$[SHARED_LIB_C] $[VER_RESOURCE]
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
.NOTPARALLEL $[target] : $[sources] $[so_dir]/stamp
|
||||||
|
#if $[filter %.cxx %.yxx %.lxx,$[get_sources]]
|
||||||
|
$[SHARED_LIB_C++]
|
||||||
|
#else
|
||||||
|
$[SHARED_LIB_C]
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if $[build_dlls]
|
#if $[build_dlls]
|
||||||
|
@ -319,12 +319,16 @@ $[osfilename $[directory]] :
|
|||||||
$[varname] = $[osfilename $[sources]]
|
$[varname] = $[osfilename $[sources]]
|
||||||
#define target $[so_dir]\lib$[TARGET]$[dllext].$[dlllib]
|
#define target $[so_dir]\lib$[TARGET]$[dllext].$[dlllib]
|
||||||
#define sources $($[varname])
|
#define sources $($[varname])
|
||||||
#define flags $[get_cflags] $[C++FLAGS] $[CFLAGS_OPT$[OPTIMIZE]] $[CFLAGS_SHARED] $[building_var:%=/D%]
|
#define flags $[get_cflags] $[C++FLAGS] $[CFLAGS_OPT$[OPTIMIZE]] $[CFLAGS_SHARED] $[building_var:%=/D%]
|
||||||
|
#if $[GENERATE_BUILDDATE]
|
||||||
$[target] : $[sources] "$[dtool_ver_dir]\version.rc"
|
$[target] : $[sources] "$[dtool_ver_dir]\version.rc"
|
||||||
// first generate builddate for rc compiler
|
// first generate builddate for rc compiler
|
||||||
cl /nologo /EP "$[dtool_ver_dir]\verdate.cpp" > "$[TEMP]\verdate.h"
|
cl /nologo /EP "$[dtool_ver_dir]\verdate.cpp" > "$[TEMP]\verdate.h"
|
||||||
rc /n /I$[TEMP] /fo"$[ver_resource]" $[filter /D%, $[flags]] "$[dtool_ver_dir]\version.rc"
|
rc /n /I$[TEMP] /fo$[ver_resource] $[filter /D%, $[flags]] "$[dtool_ver_dir]\version.rc"
|
||||||
rm -f "$[dtool_ver_dir]\verdate.h"
|
rm -f "$[dtool_ver_dir]\verdate.h"
|
||||||
|
#else
|
||||||
|
$[target] : $[sources]
|
||||||
|
#endif
|
||||||
#if $[filter %.cxx %.yxx %.lxx,$[get_sources]]
|
#if $[filter %.cxx %.yxx %.lxx,$[get_sources]]
|
||||||
$[SHARED_LIB_C++]
|
$[SHARED_LIB_C++]
|
||||||
#else
|
#else
|
||||||
|
47
panda/src/doc/INSTALL.txt
Normal file
47
panda/src/doc/INSTALL.txt
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
#
|
||||||
|
# Make a directory for installing Panda, e.g. c:\pandadir
|
||||||
|
|
||||||
|
md c:\pandadir
|
||||||
|
md c:\pandadir\bin
|
||||||
|
copy ppremake.exe c:\pandadir\bin
|
||||||
|
copy cygwin1.dll c:\pandadir\bin
|
||||||
|
|
||||||
|
#
|
||||||
|
# Put c:\pandadir\bin and c:\pandadir\lib on your path
|
||||||
|
path c:\pandadir\bin;c:\pandadir\lib;%PATH%
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Make a directory for building Panda, e.g. c:\pandadir\build
|
||||||
|
md c:\pandadir\build
|
||||||
|
|
||||||
|
#
|
||||||
|
# Create a Config.pp file in the build directory:
|
||||||
|
edit c:\pandadir\build\Config.pp
|
||||||
|
# Some local build configuration parameters may be defined in
|
||||||
|
# this file (see Config.pp in the dtool directory).
|
||||||
|
|
||||||
|
# For now, add the following lines:
|
||||||
|
#define INSTALL_DIR c:\pandadir
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Set up some environment variables for building and/or running:
|
||||||
|
set PANDA_ROOT=c:\
|
||||||
|
set PPREMAKE_CONFIG=c:\pandadir\build\Config.pp
|
||||||
|
|
||||||
|
#
|
||||||
|
# Unpack the sources
|
||||||
|
c:
|
||||||
|
cd \pandadir\build
|
||||||
|
unzip dtool.zip
|
||||||
|
unzip panda.zip
|
||||||
|
|
||||||
|
#
|
||||||
|
# Build
|
||||||
|
cd dtool
|
||||||
|
ppremake
|
||||||
|
nmake install
|
||||||
|
cd ..\panda
|
||||||
|
ppremake
|
||||||
|
nmake install
|
Loading…
x
Reference in New Issue
Block a user