User:Nicky Perian

'''

Imprudence VS 2010 Build Instructions
''' This is an important step don't jump ahead. [Follow this to set up instructions from Second Life Wiki]

Visual Studio Express 2010 build of Imprudence 1.4.0 is branched as impvc100 at ==[my bitbucket account]

On the VS2010 release configuration the Properties->Linker->Debugging->Map File Name has a “:” in front of Release. This colon needs removed as it is carried though to a path that fails at link time.

Visual Studio 10 Express, Professional, and better versions use msbuild.exe to build solutions and projects. Instructions to set up and use the msbuild command line building of Imprudence follow:

Select All Programs -> Microsoft Windows SDK v7.1 Cursor to Windows SDK 7.1 Command Prompt Right Click->Send to->Desktop ( create shortcut)

At the just created shortcut: Right Click select Rename and rename to example "Imprudence Release SDK 7.1.

At the newly renamed shortcut: Right Click select Properties and at the Shortcut Tab target window add /x86 /Release to the end of the command.

Example: C:\Windows\System32\cmd.exe /E:ON /V:ON /T:0E /K "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x86 /Debug

Renaming at the Shortcut Tab: Change Start in: to your repository indra directory.

c:\Users\Bill\impvc100\linden\indra

Test you shortcut, it should look like:

The image shows "Targeting Windows 7" as it defaults to the machine Operating System.

Now it is time to configure and build. Adjust commands to system.

Configure develop.py -G vc100 -tRelease configure -DUSE_PRECOMPILED_HEADERS:BOOL=ON -DLL_TESTS=OFF -DPACKAGE:BOOL=TRUE'''

If desired you can use the VS2010 IDE and build the solution from there or continue from the command prompt as shown below.

Build

msbuild build-vc100\Imprudence.sln /t:build /p:Configuration=Release /p:Platform=win32 /p:"VCBuildAdditionalOptions= /useenv" /p:"VCBuildAdditionalOptions= /incremental" 2>&1 |c:\cygwin\bin\tee Build.log

2>&1 |c:\cygwin\bin\tee Build.log is a redirect to display the build and write a log file.