mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
build with ppremake
This commit is contained in:
parent
a5a779cf33
commit
4264a8d325
@ -34,12 +34,13 @@
|
|||||||
#include "PPDownloadRequest.h"
|
#include "PPDownloadRequest.h"
|
||||||
|
|
||||||
#include "p3d_plugin_config.h"
|
#include "p3d_plugin_config.h"
|
||||||
#include "tinyxml.h"
|
#include "get_tinyxml.h"
|
||||||
|
|
||||||
#define P3D_CONTENTS_FILENAME "contents.xml"
|
#define P3D_CONTENTS_FILENAME "contents.xml"
|
||||||
|
|
||||||
#define P3D_FILE_BASE_URL "http://www.ddrose.com/~drose/plugin/"
|
//#define P3D_FILE_BASE_URL "http://www.ddrose.com/~drose/plugin/"
|
||||||
//#define P3D_FILE_BASE_URL "file:///C:/temp/"
|
//#define P3D_FILE_BASE_URL "file:///C:/temp/"
|
||||||
|
#define P3D_FILE_BASE_URL "file:///C:/cygwin/home/drose/"
|
||||||
|
|
||||||
#define P3D_DEFAULT_PLUGIN_FILENAME "p3d_plugin.dll"
|
#define P3D_DEFAULT_PLUGIN_FILENAME "p3d_plugin.dll"
|
||||||
|
|
||||||
|
38
direct/src/plugin_activex/Sources.pp
Executable file
38
direct/src/plugin_activex/Sources.pp
Executable file
@ -0,0 +1,38 @@
|
|||||||
|
// This directory is still experimental. Define HAVE_P3D_PLUGIN in
|
||||||
|
// your Config.pp to build it.
|
||||||
|
#define BUILD_DIRECTORY $[and $[HAVE_P3D_PLUGIN],$[WINDOWS_PLATFORM]]
|
||||||
|
|
||||||
|
#define USE_PACKAGES tinyxml
|
||||||
|
|
||||||
|
#begin lib_target
|
||||||
|
#define TARGET p3dactivex
|
||||||
|
#define LIB_PREFIX
|
||||||
|
#define DYNAMIC_LIB_EXT .ocx
|
||||||
|
|
||||||
|
#define LOCAL_LIBS plugin_common
|
||||||
|
|
||||||
|
// #define COMBINED_SOURCES \
|
||||||
|
// $[TARGET]_composite1.cxx
|
||||||
|
|
||||||
|
#define SOURCES \
|
||||||
|
P3DActiveX.h P3DActiveXCtrl.h P3DActiveXPropPage.h P3DActiveXidl.h \
|
||||||
|
PPBrowserObject.h PPDownloadCallback.h PPDownloadRequest.h \
|
||||||
|
PPInstance.h PPInterface.h PPLogger.h PPPandaObject.h \
|
||||||
|
resource.h stdafx.h
|
||||||
|
|
||||||
|
#define SOURCES $[SOURCES] \
|
||||||
|
P3DActiveX.idl
|
||||||
|
|
||||||
|
#define SOURCES $[SOURCES] \
|
||||||
|
P3DActiveX.cpp P3DActiveXCtrl.cpp P3DActiveXPropPage.cpp \
|
||||||
|
PPBrowserObject.cpp PPDownloadCallback.cpp PPDownloadRequest.cpp \
|
||||||
|
PPInstance.cpp PPInterface.cpp PPLogger.cpp PPPandaObject.cpp \
|
||||||
|
stdafx.cpp
|
||||||
|
|
||||||
|
#define EXTRA_CDEFS _USRDLL _WINDLL _AFXDLL _MBCS
|
||||||
|
#define WIN_RESOURCE_FILE P3DActiveX.rc
|
||||||
|
#define LINKER_DEF_FILE P3DActiveX.def
|
||||||
|
|
||||||
|
#define INSTALL_HEADERS
|
||||||
|
|
||||||
|
#end lib_target
|
Loading…
x
Reference in New Issue
Block a user