Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/FxCop.cmd @ 16125

Last change on this file since 16125 was 15682, checked in by swagner, 7 years ago

#2887: moved content of trunk/sources to trunk

  • Property svn:mergeinfo set to (toggle deleted branches)
    /stable/FxCop.cmdmergedeligible
    /branches/1721-RandomForestPersistence/FxCop.cmd10321-10322
    /branches/Algorithms.GradientDescent/FxCop.cmd5516-5520
    /branches/Async/FxCop.cmd13329-15286
    /branches/Benchmarking/sources/FxCop.cmd6917-7005
    /branches/CloningRefactoring/FxCop.cmd4656-4721
    /branches/CodeEditor/FxCop.cmd11700-11806
    /branches/DataAnalysis Refactoring/FxCop.cmd5471-5808
    /branches/DataAnalysis SolutionEnsembles/FxCop.cmd5815-6180
    /branches/DataAnalysis/FxCop.cmd4458-4459,​4462,​4464
    /branches/DataPreprocessing/FxCop.cmd10085-11101
    /branches/GP.Grammar.Editor/FxCop.cmd6284-6795
    /branches/GP.Symbols (TimeLag, Diff, Integral)/FxCop.cmd5060
    /branches/HLScript/FxCop.cmd10331-10358
    /branches/HeuristicLab.DatasetRefactor/sources/FxCop.cmd11570-12508
    /branches/HeuristicLab.Problems.DataAnalysis.Trading/FxCop.cmd6123-9799
    /branches/HeuristicLab.Problems.Orienteering/FxCop.cmd11130-12721
    /branches/HiveStatistics/sources/FxCop.cmd12440-12877
    /branches/LogResidualEvaluator/FxCop.cmd10202-10483
    /branches/NET40/sources/FxCop.cmd5138-5162
    /branches/NSGA-II Changes/FxCop.cmd12033-12122
    /branches/ParallelEngine/FxCop.cmd5175-5192
    /branches/ProblemInstancesRegressionAndClassification/FxCop.cmd7568-7810
    /branches/QAPAlgorithms/FxCop.cmd6350-6627
    /branches/Restructure trunk solution/FxCop.cmd6828
    /branches/RuntimeOptimizer/FxCop.cmd8943-9078
    /branches/ScatterSearch (trunk integration)/FxCop.cmd7787-8333
    /branches/SlaveShutdown/FxCop.cmd8944-8956
    /branches/SpectralKernelForGaussianProcesses/FxCop.cmd10204-10479
    /branches/SuccessProgressAnalysis/FxCop.cmd5370-5682
    /branches/Trunk/FxCop.cmd6829-6865
    /branches/UnloadJobs/FxCop.cmd9168-9215
    /branches/VNS/FxCop.cmd5594-5752
    /branches/crossvalidation-2434/FxCop.cmd12948-12950
    /branches/histogram/FxCop.cmd5959-6341
    /branches/symbreg-factors-2650/FxCop.cmd14232-14825
File size: 1.2 KB
Line 
1@ECHO OFF
2
3SET Outdir=bin
4SET FXCOPCMD=
5
6ECHO. > FxCopResults.txt
7
8IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" (
9  SET FXCOPCMD="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\FxCopCmd.exe"
10) ELSE (
11  IF "%PROCESSOR_ARCHITECTURE%"=="x86" (
12    REM If the PROCESSOR_ARCHITECTURE indicates x86, the OS need not necessarily by 32bit.
13    REM For WOW64 processes, a special environment variable will indicate the real architecture.
14    IF "%PROCESSOR_ARCHITEW6432%"=="AMD64" (
15      SET FXCOPCMD="C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\FxCopCmd.exe"
16    ) ELSE (
17      SET FXCOPCMD="C:\Program Files\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\FxCopCmd.exe"
18    )
19  ) ELSE (
20    ECHO Unknown architecture: %PROCESSOR_ARCHITECTURE%
21    GOTO :end
22  )
23)
24
25IF NOT EXIST %FXCOPCMD% (
26  ECHO FxCopCmd.exe could not be found.
27  GOTO :end
28)
29
30FOR /F "tokens=*" %%G IN ('DIR /B %Outdir%\HeuristicLab.*.dll') DO (
31  ECHO Performing Code Analysis on %Outdir%\%%G
32  %FXCOPCMD% /file:%Outdir%\%%G /rule:+HeuristicLab.FxCop.dll /directory:%Outdir% /console /quiet >> FxCopResults.txt
33)
34
35:end
36
37PAUSE
Note: See TracBrowser for help on using the repository browser.