]> granicus.if.org Git - libmatroska/commitdiff
fix the coremake project for inclusion in other projects
authorSteve Lhomme <slhomme@matroska.org>
Mon, 15 Mar 2010 15:53:28 +0000 (15:53 +0000)
committerSteve Lhomme <slhomme@matroska.org>
Mon, 15 Mar 2010 15:53:28 +0000 (15:53 +0000)
use HAVE_EBML2 in the config.h file to use libebml2 instead of libebml

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@5 a6f86f6d-0131-4f8e-9e7b-e335508773d5

libmatroska.proj

index d6af00a3677afe3acb44e205f4130f568d644c6c..b1ae30da1ead187bcd4712a8c648dc2331141ccf 100644 (file)
@@ -3,9 +3,14 @@ Include "*/*.proj"
 LIB matroska
 {
   INCLUDE .
-  INCLUDE ../libebml
+  EXPINCLUDE .
 
-  USE ebml
+  IF HAVE_EBML2
+    USE ebml2_legacy
+  ELSE
+    USE ebml
+    USEINCLUDE corec // so that stdafx can build
+  ENDIF
 
 //  OPTIMIZE_GLOBALLY .
   FAVOR_MAX_SPEED .