flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > IDE Development > Ant task for compiling fasm source files

Author
Thread Post new topic Reply to topic
jody



Joined: 09 Sep 2016
Posts: 2
Ant task for compiling fasm source files
I have written a custom Ant task that compiles a tree of fasm source files, similar to what the javac task does for Java files. If anyone is interested, you can find it here: https://github.com/dykstrom/fasm-ant.
Post 09 Sep 2016, 12:08
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3434
Location: Bulgaria
Re: Ant task for compiling fasm source files

jody wrote:
similar to what the javac task does for Java files



And what javac does for Java files?

_________________
Tox ID: A48DEF727DF44C3B5C2E576B65021F1A45D8FA52E2F8E257F1CAE148BBADB162FDF7820BD1F9
Post 09 Sep 2016, 12:52
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
jody



Joined: 09 Sep 2016
Posts: 2
Ah, sorry for not being clearer. If one does not live in the Java universe, it may not be obvious what Ant or the javac task does. Ant is a build tool that is built in Java, and is mostly used for building Java projects.

Ant works by running various tasks. Most tasks you will ever use are built-in, but you can also create your own tasks. The built-in javac task recursively finds all Java source files in a directory, invokes the Java compiler on them, and creates a similar tree structure with the compiled files.

What I have done is creating a custom task that recursively finds all assembly source files in a directory, invokes fasm on those files that need to be recompiled, and creates an output tree structure with the compiled files.
Post 09 Sep 2016, 13:16
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.