diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-07-10 14:43:03 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-07-10 14:43:03 +0300 |
commit | 51f0313728164fdb38dda2b49c7e0b52d78bc4dc (patch) | |
tree | 919f039bbf1721f063aa6ba436491a42ed37fa67 /sal/qa/rtl/cipher/makefile.mk | |
parent | bfd84a6ddb9e055908b5f02826a8c2cbd815ea59 (diff) |
Do build sal unit tests for iOS, too
We can't run them in the normal way, but we build the tests as static
archives, which we link into the single sal_cppunittester_all
executable. (Work in progress, so far just a part of the tests are
linked into it.)
There is no makefilery yet to actually construct a complete iOS app
bundle (.app directory), so just copy (in this case) the
sal_cppunittester_all iOS executable on top of the executbale some
dummy iOS app you build in Xcode... works fine, can be debugged that
way.
Diffstat (limited to 'sal/qa/rtl/cipher/makefile.mk')
-rw-r--r-- | sal/qa/rtl/cipher/makefile.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/qa/rtl/cipher/makefile.mk b/sal/qa/rtl/cipher/makefile.mk index 30fc67825..15639f26b 100644 --- a/sal/qa/rtl/cipher/makefile.mk +++ b/sal/qa/rtl/cipher/makefile.mk @@ -37,7 +37,9 @@ ENABLE_EXCEPTIONS=TRUE .INCLUDE : settings.mk -.IF "$(CROSS_COMPILING)"!="YES" +.IF "$(OS)" == "IOS" +CFLAGSCXX += -DCPPUNIT_PLUGIN_EXPORTED_NAME=cppunitTest_$(TARGET) +.ENDIF CFLAGS+= $(LFS_CFLAGS) CXXFLAGS+= $(LFS_CFLAGS) @@ -65,8 +67,6 @@ SHL1VERSIONMAP= $(PRJ)$/qa$/export.map # do this here, so we get right dependencies # SLOFILES=$(SHL1OBJS) -.ENDIF - # --- Targets ------------------------------------------------------ .INCLUDE : target.mk |