Browse Source

added opencv paths

Zachary Pavlov 20 years ago
parent
commit
cdc539e05a
2 changed files with 11 additions and 0 deletions
  1. 6 0
      dtool/Config.pp
  2. 5 0
      dtool/Package.pp

+ 6 - 0
dtool/Config.pp

@@ -510,6 +510,12 @@
 #define DX_LIBS d3d8.lib d3dx8.lib dxerr8.lib
 #define DX_LIBS d3d8.lib d3dx8.lib dxerr8.lib
 #defer HAVE_DX $[libtest $[DX_LPATH],$[DX_LIBS]]
 #defer HAVE_DX $[libtest $[DX_LPATH],$[DX_LIBS]]
 
 
+// Is CV available, and should we try to build with it?
+#define CV_IPATH $[WINTOOLS]/sdk/cv/include	
+#define CV_LPATH $[WINTOOLS]/sdk/cv/lib
+#define CV_LIBS cv.lib highgui.lib cxcore.lib
+#defer HAVE_CV $[libtest $[CV_LPATH],$[CV_LIBS]]
+
 // Do you want to build the DirectD tools for starting Panda clients
 // Do you want to build the DirectD tools for starting Panda clients
 // remotely?  This only affects the direct tree.  Enabling this may
 // remotely?  This only affects the direct tree.  Enabling this may
 // cause libdirect.dll to fail to load on Win98 clients.
 // cause libdirect.dll to fail to load on Win98 clients.

+ 5 - 0
dtool/Package.pp

@@ -192,6 +192,11 @@
 #set DX_LIBS $[DX_LIBS]
 #set DX_LIBS $[DX_LIBS]
 #set HAVE_DX $[HAVE_DX]
 #set HAVE_DX $[HAVE_DX]
 
 
+#set CV_IPATH $[unixfilename $[CV_IPATH]]
+#set CV_LPATH $[unixfilename $[CV_LPATH]]
+#set CV_LIBS $[CV_LIBS]
+#set HAVE_CV $[HAVE_CV]
+
 #set HAVE_THREADS $[HAVE_THREADS]
 #set HAVE_THREADS $[HAVE_THREADS]
 
 
 #set NET_IPATH $[unixfilename $[NET_IPATH]]
 #set NET_IPATH $[unixfilename $[NET_IPATH]]