~charlie.poole/nunitv2/equality-handlers

« back to all changes in this revision

Viewing changes to tools/src/CodeGeneration/CodeGeneration.build

  • Committer: Charlie Poole
  • Date: 2011-04-15 19:33:48 UTC
  • Revision ID: charlie@nunit.org-20110415193348-9cl459lou14v4l6n
Give warning if nunit.framework is not available for building code generation tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 
69
69
    <mkdir dir="${build.dir}"/>
70
70
 
 
71
    <property name="nunit.framework"
 
72
      value="${build.dir}/nunit.framework.dll"/>
 
73
 
71
74
    <csc target="library"
 
75
        if="${file::exists(nunit.framework)}"
72
76
        output="${build.dir}/CodeGenerationTests.dll"
73
77
        debug="${debug}" 
74
78
        define="${defines}">
80
84
      </sources>
81
85
      <references>
82
86
        <include name="${build.dir}/CodeGenLib.dll"/>
83
 
        <include name="nunit.framework.dll"/>
 
87
        <include name="${build.dir}/nunit.framework.dll"/>
84
88
        <include name="../../../builds/net/2.0/release/NUnit.Framework.dll"/>
85
89
      </references>
86
90
    </csc>
87
91
 
 
92
    <echo unless="${file::exists(nunit.framework)}">Skipping build of CodeGenerationTests.dll because
 
93
no copy of nunit.framework.dll is available.
 
94
 
 
95
To build the tests, place a copy of nunit.framework.dll
 
96
in the tools/bin directory. If the framework cannot be
 
97
built successfully, you may be able to use a copy from
 
98
a recent release of NUnit.</echo>
 
99
 
88
100
  </target>
89
101
 
90
102
</project>
 
 
b'\\ No newline at end of file'