f2c project fixed after https://codereview.scilab.org/#/c/17661/
[scilab.git] / scilab / modules / sparse / src / fortran / sparse_f2c.vcxproj
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <ItemGroup Label="ProjectConfigurations">
4     <ProjectConfiguration Include="Debug|Win32">
5       <Configuration>Debug</Configuration>
6       <Platform>Win32</Platform>
7     </ProjectConfiguration>
8     <ProjectConfiguration Include="Debug|x64">
9       <Configuration>Debug</Configuration>
10       <Platform>x64</Platform>
11     </ProjectConfiguration>
12     <ProjectConfiguration Include="Release|Win32">
13       <Configuration>Release</Configuration>
14       <Platform>Win32</Platform>
15     </ProjectConfiguration>
16     <ProjectConfiguration Include="Release|x64">
17       <Configuration>Release</Configuration>
18       <Platform>x64</Platform>
19     </ProjectConfiguration>
20   </ItemGroup>
21   <PropertyGroup Label="Globals">
22     <ProjectName>sparse_f</ProjectName>
23     <ProjectGuid>{13082624-97F9-47DB-A9A1-AD7D6BF3856A}</ProjectGuid>
24     <RootNamespace>sparse_f2c</RootNamespace>
25     <Keyword>Win32Proj</Keyword>
26   </PropertyGroup>
27   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
28   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
29     <ConfigurationType>DynamicLibrary</ConfigurationType>
30     <CharacterSet>Unicode</CharacterSet>
31     <WholeProgramOptimization>true</WholeProgramOptimization>
32     <PlatformToolset>v120</PlatformToolset>
33   </PropertyGroup>
34   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
35     <ConfigurationType>DynamicLibrary</ConfigurationType>
36     <CharacterSet>Unicode</CharacterSet>
37     <PlatformToolset>v120</PlatformToolset>
38   </PropertyGroup>
39   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
40     <ConfigurationType>DynamicLibrary</ConfigurationType>
41     <CharacterSet>Unicode</CharacterSet>
42     <WholeProgramOptimization>true</WholeProgramOptimization>
43     <PlatformToolset>v120</PlatformToolset>
44   </PropertyGroup>
45   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
46     <ConfigurationType>DynamicLibrary</ConfigurationType>
47     <CharacterSet>Unicode</CharacterSet>
48     <PlatformToolset>v120</PlatformToolset>
49   </PropertyGroup>
50   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
51   <ImportGroup Label="ExtensionSettings">
52     <Import Project="..\..\..\..\Visual-Studio-settings\f2c.props" />
53   </ImportGroup>
54   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
55     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
56   </ImportGroup>
57   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
58     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
59   </ImportGroup>
60   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
61     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
62   </ImportGroup>
63   <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
64     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
65   </ImportGroup>
66   <PropertyGroup Label="UserMacros" />
67   <PropertyGroup>
68     <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
69     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)bin\</OutDir>
70     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
71     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
72     <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)bin\</OutDir>
73     <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(ProjectDir)$(Configuration)\</IntDir>
74     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
75     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)bin\</OutDir>
76     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectDir)$(Configuration)\</IntDir>
77     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
78     <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)bin\</OutDir>
79     <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(ProjectDir)$(Configuration)\</IntDir>
80     <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
81   </PropertyGroup>
82   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
83     <PreBuildEvent>
84       <Message>Build dependencies</Message>
85       <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
86 lib /DEF:"$(ProjectDir)Elementary_functions_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)Elementary_functions_f.lib" 1&gt;NUL 2&gt;NUL
87 lib /DEF:"$(ProjectDir)Elementary_functions_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)Elementary_functions.lib" 1&gt;NUL 2&gt;NUL</Command>
88     </PreBuildEvent>
89     <ClCompile>
90       <Optimization>Disabled</Optimization>
91       <AdditionalIncludeDirectories>../../../../libs/f2c;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
92       <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;SPARSE_F2C_EXPORTS;FORDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
93       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
94       <WarningLevel>Level3</WarningLevel>
95     </ClCompile>
96     <PreLinkEvent>
97       <Message>Build $(ProjectName).def</Message>
98       <Command>setlocal EnableDelayedExpansion
99 cd $(ConfigurationName)
100 set LIST_OBJ=
101 for %%f in (*.obj) do set LIST_OBJ=!LIST_OBJ! %%f
102 "$(SolutionDir)bin\dumpexts" -o $(ProjectName).def $(ProjectName).dll %LIST_OBJ%
103 copy $(ProjectName).def ..\$(ProjectName).def &gt;nul
104 del *.def &gt;nul
105 cd ..
106 </Command>
107     </PreLinkEvent>
108     <Link>
109       <AdditionalDependencies>core.lib;elementary_functions_f.lib;elementary_functions.lib;../../../../bin/blasplus.lib;../../../../bin/libf2c.lib;%(AdditionalDependencies)</AdditionalDependencies>
110       <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
111       <ModuleDefinitionFile>sparse_f.def</ModuleDefinitionFile>
112       <GenerateDebugInformation>true</GenerateDebugInformation>
113       <SubSystem>Windows</SubSystem>
114       <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
115       <TargetMachine>MachineX86</TargetMachine>
116       <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
117       <RandomizedBaseAddress>false</RandomizedBaseAddress>
118       <LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
119     </Link>
120   </ItemDefinitionGroup>
121   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
122     <PreBuildEvent>
123       <Message>Build dependencies</Message>
124       <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
125 lib /DEF:"$(ProjectDir)Elementary_functions_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)Elementary_functions_f.lib" 1&gt;NUL 2&gt;NUL
126 lib /DEF:"$(ProjectDir)Elementary_functions_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)Elementary_functions.lib" 1&gt;NUL 2&gt;NUL</Command>
127     </PreBuildEvent>
128     <Midl>
129       <TargetEnvironment>X64</TargetEnvironment>
130     </Midl>
131     <ClCompile>
132       <Optimization>Disabled</Optimization>
133       <AdditionalIncludeDirectories>../../../../libs/f2c;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
134       <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;SPARSE_F2C_EXPORTS;FORDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
135       <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
136       <WarningLevel>Level3</WarningLevel>
137     </ClCompile>
138     <PreLinkEvent>
139       <Message>Build $(ProjectName).def</Message>
140       <Command>setlocal EnableDelayedExpansion
141 cd $(ConfigurationName)
142 set LIST_OBJ=
143 for %%f in (*.obj) do set LIST_OBJ=!LIST_OBJ! %%f
144 "$(SolutionDir)bin\dumpexts" -o $(ProjectName).def $(ProjectName).dll %LIST_OBJ%
145 copy $(ProjectName).def ..\$(ProjectName).def &gt;nul
146 del *.def &gt;nul
147 cd ..
148 </Command>
149     </PreLinkEvent>
150     <Link>
151       <AdditionalDependencies>core.lib;elementary_functions_f.lib;elementary_functions.lib;../../../../bin/blasplus.lib;../../../../bin/libf2c.lib;%(AdditionalDependencies)</AdditionalDependencies>
152       <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
153       <ModuleDefinitionFile>sparse_f.def</ModuleDefinitionFile>
154       <GenerateDebugInformation>true</GenerateDebugInformation>
155       <SubSystem>Windows</SubSystem>
156       <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
157       <TargetMachine>MachineX64</TargetMachine>
158       <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
159       <RandomizedBaseAddress>false</RandomizedBaseAddress>
160       <LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
161     </Link>
162   </ItemDefinitionGroup>
163   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
164     <PreBuildEvent>
165       <Message>Build dependencies</Message>
166       <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
167 lib /DEF:"$(ProjectDir)Elementary_functions_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)Elementary_functions_f.lib" 1&gt;NUL 2&gt;NUL
168 lib /DEF:"$(ProjectDir)Elementary_functions_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)Elementary_functions.lib" 1&gt;NUL 2&gt;NUL</Command>
169     </PreBuildEvent>
170     <ClCompile>
171       <WholeProgramOptimization>false</WholeProgramOptimization>
172       <AdditionalIncludeDirectories>../../../../libs/f2c;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
173       <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SPARSE_F2C_EXPORTS;FORDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
174       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
175       <WarningLevel>Level3</WarningLevel>
176       <MultiProcessorCompilation>true</MultiProcessorCompilation>
177     </ClCompile>
178     <PreLinkEvent>
179       <Message>Build $(ProjectName).def</Message>
180       <Command>setlocal EnableDelayedExpansion
181 cd $(ConfigurationName)
182 set LIST_OBJ=
183 for %%f in (*.obj) do set LIST_OBJ=!LIST_OBJ! %%f
184 "$(SolutionDir)bin\dumpexts" -o $(ProjectName).def $(ProjectName).dll %LIST_OBJ%
185 copy $(ProjectName).def ..\$(ProjectName).def &gt;nul
186 del *.def &gt;nul
187 cd ..
188 </Command>
189     </PreLinkEvent>
190     <Link>
191       <AdditionalDependencies>core.lib;elementary_functions_f.lib;elementary_functions.lib;../../../../bin/blasplus.lib;../../../../bin/libf2c.lib;%(AdditionalDependencies)</AdditionalDependencies>
192       <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
193       <ModuleDefinitionFile>sparse_f.def</ModuleDefinitionFile>
194       <GenerateDebugInformation>true</GenerateDebugInformation>
195       <SubSystem>Windows</SubSystem>
196       <OptimizeReferences>true</OptimizeReferences>
197       <EnableCOMDATFolding>true</EnableCOMDATFolding>
198       <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
199       <TargetMachine>MachineX86</TargetMachine>
200       <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
201       <RandomizedBaseAddress>false</RandomizedBaseAddress>
202       <LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
203     </Link>
204   </ItemDefinitionGroup>
205   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
206     <PreBuildEvent>
207       <Message>Build dependencies</Message>
208       <Command>lib /DEF:"$(ProjectDir)core_import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)core.lib" 1&gt;NUL 2&gt;NUL
209 lib /DEF:"$(ProjectDir)Elementary_functions_f_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)Elementary_functions_f.lib" 1&gt;NUL 2&gt;NUL
210 lib /DEF:"$(ProjectDir)Elementary_functions_Import.def" /SUBSYSTEM:WINDOWS /MACHINE:$(Platform) /OUT:"$(ProjectDir)Elementary_functions.lib" 1&gt;NUL 2&gt;NUL</Command>
211     </PreBuildEvent>
212     <Midl>
213       <TargetEnvironment>X64</TargetEnvironment>
214     </Midl>
215     <ClCompile>
216       <WholeProgramOptimization>false</WholeProgramOptimization>
217       <AdditionalIncludeDirectories>../../../../libs/f2c;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
218       <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;SPARSE_F2C_EXPORTS;FORDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
219       <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
220       <WarningLevel>Level3</WarningLevel>
221       <MultiProcessorCompilation>true</MultiProcessorCompilation>
222     </ClCompile>
223     <PreLinkEvent>
224       <Message>Build $(ProjectName).def</Message>
225       <Command>setlocal EnableDelayedExpansion
226 cd $(ConfigurationName)
227 set LIST_OBJ=
228 for %%f in (*.obj) do set LIST_OBJ=!LIST_OBJ! %%f
229 "$(SolutionDir)bin\dumpexts" -o $(ProjectName).def $(ProjectName).dll %LIST_OBJ%
230 copy $(ProjectName).def ..\$(ProjectName).def &gt;nul
231 del *.def &gt;nul
232 cd ..
233 </Command>
234     </PreLinkEvent>
235     <Link>
236       <AdditionalDependencies>core.lib;elementary_functions_f.lib;elementary_functions.lib;../../../../bin/blasplus.lib;../../../../bin/libf2c.lib;%(AdditionalDependencies)</AdditionalDependencies>
237       <OutputFile>$(SolutionDir)bin\$(ProjectName).dll</OutputFile>
238       <ModuleDefinitionFile>sparse_f.def</ModuleDefinitionFile>
239       <GenerateDebugInformation>true</GenerateDebugInformation>
240       <SubSystem>Windows</SubSystem>
241       <OptimizeReferences>true</OptimizeReferences>
242       <EnableCOMDATFolding>true</EnableCOMDATFolding>
243       <ImportLibrary>$(SolutionDir)bin\$(ProjectName).lib</ImportLibrary>
244       <TargetMachine>MachineX64</TargetMachine>
245       <CLRUnmanagedCodeCheck>true</CLRUnmanagedCodeCheck>
246       <RandomizedBaseAddress>false</RandomizedBaseAddress>
247       <LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
248     </Link>
249   </ItemDefinitionGroup>
250   <ItemGroup>
251     <None Include="..\..\Makefile.am" />
252     <None Include="Elementary_functions_f_Import.def" />
253     <None Include="Elementary_functions_Import.def" />
254     <None Include="core_import.def" />
255   </ItemGroup>
256   <ItemGroup>
257     <ProjectReference Include="..\..\..\..\tools\Dumpexts\Dumpexts.vcxproj">
258       <Project>{3170e4c2-1173-4264-a222-7ee8ccb3ddf7}</Project>
259       <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
260     </ProjectReference>
261   </ItemGroup>
262   <ItemGroup>
263     <f2c_rule Include="blkfc1.f" />
264     <f2c_rule Include="blkfct.f" />
265     <f2c_rule Include="inpnv.f" />
266     <f2c_rule Include="isort1.f" />
267     <f2c_rule Include="ordmmd.f" />
268     <f2c_rule Include="spreshape.f" />
269     <f2c_rule Include="spt.f" />
270     <f2c_rule Include="symfct.f" />
271     <f2c_rule Include="sz2ptr.f" />
272   </ItemGroup>
273   <ItemGroup>
274     <ClCompile Include="blkfc1.c" />
275     <ClCompile Include="blkfct.c" />
276     <ClCompile Include="inpnv.c" />
277     <ClCompile Include="isort1.c" />
278     <ClCompile Include="ordmmd.c" />
279     <ClCompile Include="spreshape.c" />
280     <ClCompile Include="spt.c" />
281     <ClCompile Include="symfct.c" />
282     <ClCompile Include="sz2ptr.c" />
283   </ItemGroup>
284   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
285   <ImportGroup Label="ExtensionTargets">
286     <Import Project="..\..\..\..\Visual-Studio-settings\f2c.targets" />
287   </ImportGroup>
288 </Project>