build with ppremake

This commit is contained in:
David Rose 2009-09-15 20:49:02 +00:00
parent a5a779cf33
commit 4264a8d325
2 changed files with 41 additions and 2 deletions

View File

@ -34,12 +34,13 @@
#include "PPDownloadRequest.h"
#include "p3d_plugin_config.h"
#include "tinyxml.h"
#include "get_tinyxml.h"
#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:/cygwin/home/drose/"
#define P3D_DEFAULT_PLUGIN_FILENAME "p3d_plugin.dll"

View 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