diff --git a/build/ContinuousIntegration/TeamCity/prepare-t4.bat b/build/ContinuousIntegration/TeamCity/prepare-t4.bat new file mode 100644 index 00000000..024ed55e --- /dev/null +++ b/build/ContinuousIntegration/TeamCity/prepare-t4.bat @@ -0,0 +1,20 @@ +IF DEFINED CommonProgramFiles(x86) GOTO x64 + +:x86 +SET common=%CommonProgramFiles% +GOTO prepare + +:x64 +SET common=%CommonProgramFiles(x86)% +GOTO prepare + +:prepare +"%common%\Microsoft Shared\TextTemplating\1.2\texttransform.exe" -out ..\..\..\src\Numerics\Version.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\..\src\Numerics\Version.tt +"%common%\Microsoft Shared\TextTemplating\1.2\texttransform.exe" -out ..\..\..\src\Silverlight\Version.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\..\src\Silverlight\Version.tt + +"%common%\Microsoft Shared\TextTemplating\1.2\texttransform.exe" -out ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Atlas\AtlasLinearAlgebraProvider.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Atlas\AtlasLinearAlgebraProvider.tt +"%common%\Microsoft Shared\TextTemplating\1.2\texttransform.exe" -out ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Atlas\SafeNativeMethods.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Atlas\SafeNativeMethods.tt +"%common%\Microsoft Shared\TextTemplating\1.2\texttransform.exe" -out ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.tt +"%common%\Microsoft Shared\TextTemplating\1.2\texttransform.exe" -out ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\SafeNativeMethods.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\SafeNativeMethods.tt + +set common= \ No newline at end of file diff --git a/build/ContinuousIntegration/TeamCity/prepare.proj b/build/ContinuousIntegration/TeamCity/prepare.proj new file mode 100644 index 00000000..9c3dab5f --- /dev/null +++ b/build/ContinuousIntegration/TeamCity/prepare.proj @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file