Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1403


Ignore:
Timestamp:
03/24/09 12:05:19 (16 years ago)
Author:
gkronber
Message:

Added conditional deployment of external SQLite assembly in CopyAssemblies.cmd script. #460

Location:
trunk/sources/HeuristicLab
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab/CopyAssemblies.cmd

    r1377 r1403  
    5454copy "%SolutionDir%\HeuristicLab.SimOpt\%Outdir%\HeuristicLab.SimOpt-3.2.dll" .\plugins
    5555copy "%SolutionDir%\HeuristicLab.SQLite\%Outdir%\HeuristicLab.SQLite-3.2.dll" .\plugins
    56 copy "%SolutionDir%\HeuristicLab.SQLite\System.Data.SQLite.dll" .\plugins
    5756copy "%SolutionDir%\HeuristicLab.SQLite\SQLite License.txt" .\plugins
    5857copy "%SolutionDir%\HeuristicLab.SQLite\SQLite.NET.chm" .\plugins
     
    8180copy "%SolutionDir%\HeuristicLab.DataAccess.ADOHelper\%Outdir%\HeuristicLab.DataAccess.ADOHelper-3.2.dll" .\plugins
    8281copy "%SolutionDir%\HeuristicLab.Hive.Server.DataAccess\%Outdir%\HeuristicLab.Hive.Server.DataAccess-3.2.dll" .\plugins
     82
     83echo "Platform: %Platform%, architecture: %PROCESSOR_ARCHITECTURE%"
     84if "%Platform%" == "x86" (   
     85  xcopy "%SolutionDir%\HeuristicLab.SQLite\System.Data.SQLite.dll" .\plugins
     86) else if "%Platform%" == "x64" (
     87  xcopy "%SolutionDir%\HeuristicLab.SQLite\System.Data.SQLite.x64.dll" .\plugins\System.Data.SQLite.dll
     88) else if "%Platform%" == "AnyCPU" (
     89  if "%PROCESSOR_ARCHITECTURE%" == "x64" (
     90    xcopy "%SolutionDir%\HeuristicLab.SQLite\System.Data.SQLite.x64.dll" .\plugins\System.Data.SQLite.dll
     91  ) else if "%PROCESSOR_ARCHITECTURE%" == "x86" (
     92    xcopy "%SolutionDir%\HeuristicLab.SQLite\System.Data.SQLite.dll" .\plugins
     93  ) else (
     94    echo "ERROR: unknown architecture: "%PROCESSOR_ARCHITECTURE%"
     95  )
     96) else (
     97  echo "ERROR: unknown platform: %Platform%"
     98)
     99
  • trunk/sources/HeuristicLab/HeuristicLab.csproj

    r858 r1403  
    146146set SolutionDir=$(SolutionDir)
    147147set Outdir=$(Outdir)
     148set Platform=$(PlatformName)
    148149
    149150call MergeConfigs.cmd
Note: See TracChangeset for help on using the changeset viewer.