Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sarxos/fasm-compiler-plugin
Maven plugin to compile flat assembler (FASM) asm files.
https://github.com/sarxos/fasm-compiler-plugin
Last synced: 7 days ago
JSON representation
Maven plugin to compile flat assembler (FASM) asm files.
- Host: GitHub
- URL: https://github.com/sarxos/fasm-compiler-plugin
- Owner: sarxos
- License: mit
- Created: 2012-08-05T17:18:39.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-09-26T19:42:03.000Z (about 1 year ago)
- Last Synced: 2024-10-31T21:02:39.453Z (about 2 months ago)
- Language: Assembly
- Homepage: http://flatassembler.net
- Size: 41 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
fasm-compiler-plugin
====================Maven plugin to compile [flat assembler (FASM)](http://flatassembler.net) asm files. It can use
either FASM binaries from your PC or embedded ones from plugin JAR. Plugin should work on all
environments (like Linux, DOS, Windows), but was tested only on Windows.For example project please see ```example``` directory.
Plugin details can be found [here](http://fasm-compiler-plugin.sarxos.pl).
### Use Local FASM Binaries
[Download](http://flatassembler.net/download.php) zipped FASM binaries and extract somewhere in
your local environment. Set ```FASM_HOME``` environment variable to point to the directory where
FASM executable is located. Plugin will discover this variable automatically and use FASM from
this location.### Use Embedded FASM Binaries
Do nothing, just use plugin in your POM.
## Usage
1. Put your ```ASM``` files in ```src/main/asm```,
2. Use this configuration in your POM:```xml
com.github.sarxos
fasm-compiler-plugin
0.2
compile
exe
```
Above example will compile all ```asm``` files to corresponding ```exe``` ones. You
can change `````` to whatever you want (e.g. ```so```, ```dll```, ```bin```, etc).Default location for compiled binaries is ```target/fasmbin```.
Available goals:
* fasm-compiler:compile
* fasm-compiler:helpInstead of setting ```FASM_HOME``` you can also set `````` option in plugin configuration, e.g.:
```xml
com.github.sarxos
fasm-compiler-plugin
0.2
compile
C:\urs\fasm-1.70.03
exe
```
## License
Copyright (C) 2012 Bartosz Firyn
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.