From 4fe734d836d25e1e80d36a9d8435b60b6068e6b9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 12 Apr 2009 19:28:06 +0200 Subject: Build the binary/custom example only if STL is enabled --- dist/examples/cxx/hybrid/binary/makefile | 2 ++ dist/examples/cxx/hybrid/binary/nmakefile | 2 ++ 2 files changed, 4 insertions(+) (limited to 'dist') diff --git a/dist/examples/cxx/hybrid/binary/makefile b/dist/examples/cxx/hybrid/binary/makefile index a683d0e..e093bf1 100644 --- a/dist/examples/cxx/hybrid/binary/makefile +++ b/dist/examples/cxx/hybrid/binary/makefile @@ -7,7 +7,9 @@ dirs := ifeq ($(XSDE_IOSTREAM),y) ifeq ($(XSDE_EXCEPTIONS),y) +ifeq ($(XSDE_STL),y) dirs += custom +endif ifeq ($(XSDE_CDR),y) dirs += cdr diff --git a/dist/examples/cxx/hybrid/binary/nmakefile b/dist/examples/cxx/hybrid/binary/nmakefile index 384694a..da24750 100644 --- a/dist/examples/cxx/hybrid/binary/nmakefile +++ b/dist/examples/cxx/hybrid/binary/nmakefile @@ -7,7 +7,9 @@ dirs = !if "$(XSDE_IOSTREAM)" == "y" !if "$(XSDE_EXCEPTIONS)" == "y" +!if "$(XSDE_STL)" == "y" dirs = $(dirs) custom +!endif !if "$(XSDE_CDR)" == "y" dirs = $(dirs) cdr -- cgit v1.1