| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,29 @@ | |||
| 1 | + NASM is now licensed under the 2-clause BSD license, also known as the | ||
| 2 | + simplified BSD license. | ||
| 3 | + | ||
| 4 | + Copyright 1996-2010 the NASM Authors - All rights reserved. | ||
| 5 | + | ||
| 6 | + Redistribution and use in source and binary forms, with or without | ||
| 7 | + modification, are permitted provided that the following | ||
| 8 | + conditions are met: | ||
| 9 | + | ||
| 10 | + * Redistributions of source code must retain the above copyright | ||
| 11 | + notice, this list of conditions and the following disclaimer. | ||
| 12 | + * Redistributions in binary form must reproduce the above | ||
| 13 | + copyright notice, this list of conditions and the following | ||
| 14 | + disclaimer in the documentation and/or other materials provided | ||
| 15 | + with the distribution. | ||
| 16 | + | ||
| 17 | + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
| 18 | + CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
| 19 | + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
| 20 | + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
| 21 | + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR | ||
| 22 | + CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 23 | + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 24 | + NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 25 | + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 26 | + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
| 27 | + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
| 28 | + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 29 | + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,16 @@ | |||
| 1 | + Visual Studio 2008 NASM integration | ||
| 2 | + | ||
| 3 | + | ||
| 4 | + In order to use nasm seamlessly in your VS2k8, follow the steps below. | ||
| 5 | + | ||
| 6 | + 1. First install nasm by running its installer | ||
| 7 | + 2. copy nasm.rules to c:\Program Files\Microsoft Visual Studio 2008\VC\VCProjectDefaults | ||
| 8 | + 3. Start Visual Studio 2008 | ||
| 9 | + 4. go to Tools->Options->VC++ Directories | ||
| 10 | + 5. click on Show Directories for Executables | ||
| 11 | + 6. add C:\Program Files\NASM to the list of paths | ||
| 12 | + 7. Open a solution that you want to use NASM with | ||
| 13 | + 8. Right click on the project name and select Custom Build Rules | ||
| 14 | + 9. Check the box next to the NASM line | ||
| 15 | + 10. Add any .asm files to the project | ||
| 16 | + 11. click on build to test | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,79 @@ | |||
| 1 | + <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | + <VisualStudioToolFile | ||
| 3 | + Name="Netwide Macro Assembler" | ||
| 4 | + Version="8.00" | ||
| 5 | + > | ||
| 6 | + <Rules> | ||
| 7 | + <CustomBuildRule | ||
| 8 | + Name="NASM" | ||
| 9 | + DisplayName="Netwide Macro Assembler" | ||
| 10 | + CommandLine="nasm.exe -f win32 -Xvc [AllOptions] [AdditionalOptions] [Inputs]" | ||
| 11 | + Outputs="[$ObjectFileName]" | ||
| 12 | + FileExtensions="*.asm" | ||
| 13 | + ExecutionDescription="Assembling..." | ||
| 14 | + > | ||
| 15 | + <Properties> | ||
| 16 | + <StringProperty | ||
| 17 | + Name="ObjectFileName" | ||
| 18 | + DisplayName="Object File Name" | ||
| 19 | + PropertyPageName="Object File" | ||
| 20 | + Description="Specifies the name of the output object file. (-o [file])" | ||
| 21 | + HelpURL="http://www.nasm.us/doc/" | ||
| 22 | + Switch="-o "[value]"" | ||
| 23 | + DefaultValue="$(IntDir)\$(InputName).obj" | ||
| 24 | + /> | ||
| 25 | + <StringProperty | ||
| 26 | + Name="PreprocessorDefinitions" | ||
| 27 | + DisplayName="Preprocessor Definitions" | ||
| 28 | + Description="Defines a text macro with the given name. (-D[symbol])" | ||
| 29 | + HelpURL="http://www.nasm.us/doc/" | ||
| 30 | + Switch="-D[value]" | ||
| 31 | + Delimited="false" | ||
| 32 | + Inheritable="true" | ||
| 33 | + /> | ||
| 34 | + <StringProperty | ||
| 35 | + Name="UndefinePreprocessorDefinitions" | ||
| 36 | + DisplayName="Undefine Preprocessor Definitions" | ||
| 37 | + Description="Undefines a text macro with the given name. (-U[symbol])" | ||
| 38 | + HelpURL="http://www.nasm.us/doc/" | ||
| 39 | + Switch="-U[value]" | ||
| 40 | + Delimited="false" | ||
| 41 | + Inheritable="true" | ||
| 42 | + /> | ||
| 43 | + <StringProperty | ||
| 44 | + Name="AssembledCodeListingFile" | ||
| 45 | + DisplayName="Assembled Code Listing File" | ||
| 46 | + PropertyPageName="Listing File" | ||
| 47 | + Description="Generates an assembled code listing file. (-l [file])" | ||
| 48 | + HelpURL="http://www.nasm.us/doc/" | ||
| 49 | + Switch="-l "[value]"" | ||
| 50 | + /> | ||
| 51 | + <StringProperty | ||
| 52 | + Name="IncludePaths" | ||
| 53 | + DisplayName="Include Paths" | ||
| 54 | + Description="Sets path for include file. (-I[path])" | ||
| 55 | + HelpURL="http://www.nasm.us/doc/" | ||
| 56 | + Switch="-I[value]" | ||
| 57 | + Delimited="false" | ||
| 58 | + Inheritable="true" | ||
| 59 | + /> | ||
| 60 | + <BooleanProperty | ||
| 61 | + Name="TreatWarningsAsErrors" | ||
| 62 | + DisplayName="Treat Warnings As Errors" | ||
| 63 | + Description="Returns an error code if warnings are generated. (-Werror)" | ||
| 64 | + HelpURL="http://www.nasm.us/doc/" | ||
| 65 | + Switch="-Werror" | ||
| 66 | + /> | ||
| 67 | + <BooleanProperty | ||
| 68 | + Name="GenerateDebugInformation" | ||
| 69 | + DisplayName="Generate Debug Information" | ||
| 70 | + Description="Generates Debug Information. (-g)" | ||
| 71 | + HelpURL="http://www.nasm.us/doc/" | ||
| 72 | + Switch="-g" | ||
| 73 | + DefaultValue="true" | ||
| 74 | + /> | ||
| 75 | + | ||
| 76 | + </Properties> | ||
| 77 | + </CustomBuildRule> | ||
| 78 | + </Rules> | ||
| 79 | + </VisualStudioToolFile> | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,2 @@ | |||
| 1 | + @set path=NASM;%path% | ||
| 2 | + @%comspec% | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments