summaryrefslogtreecommitdiff
path: root/tests/DLL_Test_Impl.icc
blob: 27bd28e1cfb1f5695e4fd2a372fd5cc664753229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// $Id$

include "vacpp_setup.icc"
option
    link(libSearchPath, platformLibSearchPath),
    incl(searchPath, ".."),
    link(exportAll),
    link(linkwithsharedlib),
    link(linkWithMultiThreadLib,yes),
    link(debug)
    {
        target type ( shr ) "shr.o"
        {
            run after sources("shr.o") targets ("libDLL_Test.a") "ar -r -u libDLL_Test.a shr.o", "rm -rf shr.o"
            run cleanup "rm -rf libDLL_Test.a shr.o"

	   source type (cpp) "DLL_Test_Impl.cpp"
	   if ($__IBMCPP__ >= 500) {
	     option macros(global) {
	       source type (hpp) "test_config.h"
	     }
	   }
	   source type (lib) platformLinkLibs
	}
    }