Changeset 2601
- Timestamp:
- 01/05/10 17:19:07 (15 years ago)
- Location:
- trunk/sources/HeuristicLab
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab/CopyAssemblies.cmd
r2598 r2601 1 FOR /F "skip=1 tokens=1-2 delims=:" %%G IN ( Files.txt) DO copy "%SolutionDir%\%%G\%Outdir%\%%H" .\1 FOR /F "skip=1 tokens=1-2 delims=:" %%G IN (%ProjectDir%\Files.txt) DO copy "%SolutionDir%\%%G\%Outdir%\%%H" .\ 2 2 3 3 4 4 echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%" 5 5 if "%Platform%" == "x86" ( 6 FOR /F "skip=1 tokens=*" %%G IN ( Files.x86.txt) DO copy "%SolutionDir%\%%G" .\6 FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x86.txt) DO copy "%SolutionDir%\%%G" .\ 7 7 ) else if "%Platform%" == "x64" ( 8 FOR /F "skip=1 tokens=*" %%G IN ( Files.x64.txt) DO copy "%SolutionDir%\%%G" .\8 FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x64.txt) DO copy "%SolutionDir%\%%G" .\ 9 9 ) else if "%Platform%" == "AnyCPU" ( 10 10 if "%PROCESSOR_ARCHITECTURE%" == "x64" ( 11 FOR /F "skip=1 tokens=*" %%G IN ( Files.x64.txt) DO copy "%SolutionDir%\%%G" .\11 FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x64.txt) DO copy "%SolutionDir%\%%G" .\ 12 12 ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" ( 13 FOR /F "skip=1 tokens=*" %%G IN ( Files.x86.txt) DO copy "%SolutionDir%\%%G" .\13 FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x86.txt) DO copy "%SolutionDir%\%%G" .\ 14 14 ) else ( 15 15 echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%" … … 18 18 echo "ERROR: unknown platform: %Platform%" 19 19 ) 20 21 echo "CopyAssemblies done" -
trunk/sources/HeuristicLab/CustomPostBuildTemplate_UpdateLocalInstallation.cmd
r2598 r2601 5 5 copy HeuristicLab.PluginInfrastructure.dll "%target%" 6 6 7 FOR /F "skip=1 tokens=1-2 delims=:" %%G IN ( Files.txt) DO copy "%SolutionDir%\%%G\%Outdir%\%%H" "%target%"7 FOR /F "skip=1 tokens=1-2 delims=:" %%G IN (%ProjectDir%\Files.txt) DO copy "%SolutionDir%\%%G\%Outdir%\%%H" "%target%" 8 8 9 9 10 10 echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%" 11 11 if "%Platform%" == "x86" ( 12 FOR /F "skip=1 tokens=*" %%G IN ( Files.x86.txt) DO copy "%SolutionDir%\%%G" "%target%"12 FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x86.txt) DO copy "%SolutionDir%\%%G" "%target%" 13 13 ) else if "%Platform%" == "x64" ( 14 FOR /F "skip=1 tokens=*" %%G IN ( Files.x64.txt) DO copy "%SolutionDir%\%%G" "%target%"14 FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x64.txt) DO copy "%SolutionDir%\%%G" "%target%" 15 15 ) else if "%Platform%" == "AnyCPU" ( 16 16 if "%PROCESSOR_ARCHITECTURE%" == "x64" ( 17 FOR /F "skip=1 tokens=*" %%G IN ( Files.x64.txt) DO copy "%SolutionDir%\%%G" "%target%"17 FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x64.txt) DO copy "%SolutionDir%\%%G" "%target%" 18 18 ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" ( 19 FOR /F "skip=1 tokens=*" %%G IN ( Files.x86.txt) DO copy "%SolutionDir%\%%G" "%target%"19 FOR /F "skip=1 tokens=*" %%G IN (%ProjectDir%\Files.x86.txt) DO copy "%SolutionDir%\%%G" "%target%" 20 20 ) else ( 21 21 echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%" … … 24 24 echo "ERROR: unknown platform: %Platform%" 25 25 ) 26 27 echo "CustomPostBuild done" -
trunk/sources/HeuristicLab/HeuristicLab.csproj
r2598 r2601 114 114 <ItemGroup> 115 115 <Content Include="Files.x86.txt"> 116 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>117 116 </Content> 118 117 <Content Include="Files.x64.txt"> 119 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>120 118 </Content> 121 119 <Content Include="Files.txt"> 122 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>123 120 </Content> 124 121 <Content Include="HeuristicLab.ico" /> 125 122 <Content Include="Resources\HeuristicLab.ico" /> 126 123 <None Include="app.config" /> 124 <None Include="CreateConsoleApplication.cmd" /> 127 125 <None Include="CustomPostBuild.cmd" /> 128 126 <None Include="CopyAssemblies.cmd" /> … … 144 142 --> 145 143 <PropertyGroup> 146 <PostBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 144 <PostBuildEvent>set Path=%25Path%25;$(ProjectDir);$(SolutionDir); 147 145 set ProjectDir=$(ProjectDir) 148 146 set SolutionDir=$(SolutionDir) … … 151 149 set Configuration=$(ConfigurationName) 152 150 151 call CreateConsoleApplication.cmd 153 152 call MergeConfigs.cmd 154 153 call CopyAssemblies.cmd
Note: See TracChangeset
for help on using the changeset viewer.