<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">\r
<ClCompile>\r
<Optimization>Disabled</Optimization>\r
- <AdditionalIncludeDirectories>..\..\vc9;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
+ <AdditionalIncludeDirectories>..\..\vc10;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
<MinimalRebuild>true</MinimalRebuild>\r
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>\r
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">\r
<ClCompile>\r
<Optimization>Full</Optimization>\r
- <AdditionalIncludeDirectories>..\..\vc9;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
+ <AdditionalIncludeDirectories>..\..\vc10;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>\r
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>\r
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>\r
<PrecompiledHeader>\r
4. Using YASM with Visual Sudio 2010 and VC++ version 10\r
--------------------------------------------------------\r
\r
-1. Firstly you need to locate the directory (or directories) \r
+The YASM version vsyasm.exe is designed specifically for use\r
+with Visual Studio 2010. To tell Visual Studio where to find\r
+vsyasm.exe, the environment variable YASMPATH can be set to \r
+the absolute path to the directory in which vsyasm.exe is\r
+located (this path should include the final backslash). \r
+\r
+Alternatively you can locate the directory (or directories) \r
where the VC++ compiler binaries are located and put copies \r
-of the appropriate yasm.exe binary in these directories. A\r
-typical location is:\r
+of the vsyasm.exe binary in these directories. A typical \r
+location is:\r
\r
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\r
\r
Depending on your system you can use either the win32 or the\r
-x64 version of YASM. It must be named yasm.exe.\r
+x64 version of vsyasm.exe. It must be named vsyasm.exe. \r
\r
-2. To use the new custom tools facility in Visual Studio 2010,\r
-you need to place a copy of three files - yasm.props, yasm.targets \r
-and yasm.xml - into the MSBUILD customisation directory, which is\r
-typically at:\r
+To use the new custom tools facility in Visual Studio 2010, you\r
+need to place a copy of three files - yasm.props, yasm.targets \r
+and yasm.xml - into the MSBUILD customisation directory, which\r
+is typically at:\r
\r
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\r
\r
This allows you to configure YASM as an assembler within the VC++\r
-IDE. To use YASM in a project, right click on the project in the\r
+IDE. Alternatively, these three files can be placed anywhere and\r
+the build customisation process described later can be used to set \r
+their location. \r
+\r
+To use YASM in a project, right click on the project in the\r
Solution Explorer and select 'Build Customisations..'. This will \r
give you a dialog box that allows you to select YASM as an \r
assembler (note that your assembler files need to have the \r
-extension '.asm').\r
+extension '.asm'). If you have put the three vsyasm files \r
+described above in a custom location, you will need to let the\r
+dialogue find them using the 'Find Existing' button below the \r
+dialogue.\r
\r
To assemble a file with YASM, select the Property Page for the \r
file and the select 'Yasm Assembler' in the Tool dialog entry. \r
Then click 'Apply' and an additional property page entry will \r
appear and enable YASM settings to be established.\r
\r
-As alternative to placing the yasm.rules files as described \r
-above is to set the rules file path in the Visual Studio 2010\r
-settings dialogue.\r
-\r
5. A Linker Issue\r
-----------------\r
\r
YASM's creator, has given me in tracking down issues in using\r
YASM for the production of Windows x64 code.\r
\r
- Brian Gladman, 10th November 2009\r
-\r
+ Brian Gladman, 10th June 2010\r