summaryrefslogtreecommitdiffstats
path: root/tools/NUnit/samples/cpp/managed/failures/cpp-managed-failures.build
blob: 5bf96a1bcac3acb5ee13c3758224b4577e6f29b2 (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
26
27
28
29
30
31
<?xml version="1.0"?>
<project name="cpp-managed-failures" default="build">

  <include buildfile="../../../samples.common" />

  <patternset id="source-files">
    <include name="AssemblyInfo.cpp" />
    <include name="cppsample.cpp" />
    <include name="cppsample.h" />
  </patternset>

  <target name="packagex">
    <copy todir="${package.samples.dir}/cpp/managed/failures">
      <fileset basedir=".">
        <include name="cpp-managed-failures.build" />
        <include name="AssemblyInfo.cpp" />
        <include name="cppsample.cpp" />
        <include name="cppsample.h" />
      </fileset>
    </copy>

    <copy todir="${package.samples.dir}/cpp/managed/failures"
        file="./cpp-managed-failures.vcproj">
      <filterchain>
        <replacestring from="$(SolutionDir)..\..\..\src\NUnitFramework\framework\bin\Debug\nunit.framework.dll"
          to="..\..\..\..\bin\nunit.framework.dll"/>
      </filterchain>
    </copy>
  </target>

</project>