summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-07-21 07:48:52 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-07-21 07:55:52 +0300
commit660931e2968a038d18393a9647403e2a53236190 (patch)
tree33dd1e924b82be6e5f0a7d4cf30d501b66843ee2 /canvas
parentb0a77d0b6e97cb0e4d93a657a788a3ee7dee0d77 (diff)
Build the cairo canvas also for Windows if we don't build the DirectX one
Diffstat (limited to 'canvas')
-rw-r--r--canvas/prj/build.lst2
-rw-r--r--canvas/source/cairo/makefile.mk7
2 files changed, 8 insertions, 1 deletions
diff --git a/canvas/prj/build.lst b/canvas/prj/build.lst
index 4719f157dfca..dad6e28c0ea5 100644
--- a/canvas/prj/build.lst
+++ b/canvas/prj/build.lst
@@ -4,7 +4,7 @@ cv canvas\inc nmake - all cv_inc NULL
cv canvas\source\tools nmake - all cv_tools cv_inc NULL
cv canvas\source\vcl nmake - all cv_vcl cv_tools cv_inc NULL
cv canvas\source\simplecanvas nmake - all cv_simplecanvas cv_tools cv_inc NULL
-cv canvas\source\cairo nmake - u cv_cairo cv_tools cv_inc NULL
+cv canvas\source\cairo nmake - all cv_cairo cv_tools cv_inc NULL
cv canvas\source\directx nmake - w cv_directx cv_tools cv_inc NULL
cv canvas\source\null nmake - all cv_null cv_tools cv_inc NULL
cv canvas\source\factory nmake - all cv_factory cv_inc NULL
diff --git a/canvas/source/cairo/makefile.mk b/canvas/source/cairo/makefile.mk
index 59d1512701a7..cbcfbe1aa710 100644
--- a/canvas/source/cairo/makefile.mk
+++ b/canvas/source/cairo/makefile.mk
@@ -47,6 +47,13 @@ DLLPRE =
@echo "Cannot build cairocanvas without cairo..."
.ENDIF
+# --- Don't build for Windows unless we're compiling with --disable-directx -----------
+.IF "$(GUI)" == "WNT" && "$(ENABLE_DIRECTX)" != ""
+@all:
+ @echo "Building with the DirectX canvas so not bothering with the cairo one..."
+.ENDIF
+
+
# --- Common ----------------------------------------------------------