Menu

[r779]: / trunk / ext / build / gssapi.build  Maximize  Restore  History

Download this file

62 lines (54 with data), 2.1 kB

<?xml version="1.0"?>
<project name="gssapi" default="build"  basedir="..\gssapi">

    <target name="rebuild" depends="clean,build" />
    <target name="clean">
        <description>
            Cleans previous built files.
        </description>

        <delete>
            <fileset>
                <include name="${configuration}_${platform}\**" />
            </fileset>
        </delete>
    </target>

    <target name="build">
        <mkdir dir="${configuration}_${platform}" />
        <cl outputdir="${configuration}_${platform}">
            <arg value="/O2" if="${configuration == 'release'}" />
            <arg value="/Oy" if="${configuration == 'release'}" />
            <arg value="/Od" if="${configuration == 'debug'}" />
            <arg value="/FD" />
            <arg value="/EHa-" />
            <arg value="/MT" if="${(configuration == 'release')}" />
            <arg value="/MTd" if="${(configuration == 'debug')}" />
            <arg value="/Gy" />
            <arg value="/W0" />
            <arg value="/nologo" />
            <arg value="/c" />
            <arg value="/Zi" />
            <arg value="/errorReport:prompt" />
            <arg value="/GL" if="${configuration == 'release'}" />
            <sources>
                <include name="gssapi.cpp" />
            </sources>
            <defines>
                <define name="WIN64" if="${platform == 'x64'}" />
            </defines>
        </cl>

        <property name="machineoption" value="/MACHINE:X86" if="${platform == 'win32'}"  />
        <property name="machineoption" value="/MACHINE:X64" if="${platform == 'x64'}" />
        <lib
            output="${configuration}_${platform}\gssapiu.lib"
            options='/NOLOGO /SUBSYSTEM:WINDOWS ${machineoption}'>
            <arg value="/LTCG" if="${configuration == 'release'}" />
            <sources>
                <include name="${configuration}_${platform}\*.obj" />
            </sources>
        </lib>

        <delete>
            <fileset>
                <include name="${configuration}_${platform}\*.obj" />
            </fileset>
        </delete>

    </target>

</project>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.