a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
23 lines
1.8 KiB
XML
23 lines
1.8 KiB
XML
<?xml version="1.0"?>
|
|
<project name="ikvm-include">
|
|
<!-- find peverify.exe -->
|
|
<if test="${(not property::exists('peverify')) and framework::sdk-exists(framework::get-target-framework()) and file::exists(path::combine(framework::get-sdk-directory(framework::get-target-framework()), 'peverify.exe'))}">
|
|
<property name="peverify" value="${path::combine(framework::get-sdk-directory(framework::get-target-framework()), 'peverify.exe')}" />
|
|
</if>
|
|
<!-- we can't use framework::sdk-exists('net-2.0') on Linux, because NAnt will barf on it... -->
|
|
<if test="${platform::is-win32()}">
|
|
<if test="${(not property::exists('peverify')) and framework::sdk-exists('net-2.0') and file::exists(path::combine(framework::get-sdk-directory('net-2.0'), 'peverify.exe'))}">
|
|
<property name="peverify" value="${path::combine(framework::get-sdk-directory('net-2.0'), 'peverify.exe')}" />
|
|
</if>
|
|
</if>
|
|
|
|
<!-- HACK to support targetting .NET 4.0 when 4.5 is installed, we have to figure out the reference path ourself -->
|
|
<if test="${version::get-major(framework::get-version(framework::get-target-framework())) == 4 and (not string::starts-with(framework::get-target-framework(), 'mono'))}">
|
|
<if test="${environment::variable-exists('ProgramFiles(x86)')}">
|
|
<property name="ReferencePath" value="${environment::get-variable('ProgramFiles(x86)')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.0" />
|
|
</if>
|
|
<property overwrite="false" name="ReferencePath" value="${environment::get-folder-path('ProgramFiles')}/Reference Assemblies/Microsoft/Framework/.NETFramework/v4.0" />
|
|
</if>
|
|
<property overwrite="false" name="ReferencePath" value="${framework::get-assembly-directory(framework::get-target-framework())}" />
|
|
</project>
|