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 | 6ab96ee3d57f1bdf79f58f02a1f2a455f72f3a5a (patch) | |
tree | 50d7baa0fc07d7f1cccd7a7f8c9e7492e98bb699 /sal/qa/osl/process/osl_Thread.cxx | |
parent | 7e8ce369a76f0f9bda24a24a998137fbc2dd8b23 (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/osl/process/osl_Thread.cxx')
-rw-r--r-- | sal/qa/osl/process/osl_Thread.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx index 0def479d9cf2..de0589f45e69 100644 --- a/sal/qa/osl/process/osl_Thread.cxx +++ b/sal/qa/osl/process/osl_Thread.cxx @@ -29,6 +29,10 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sal.hxx" +#ifdef IOS +#define CPPUNIT_PLUGIN_EXPORTED_NAME cppunitTest_osl_Thread +#endif + #ifdef WNT #define NOMINMAX #include <windows.h> |