flat assembler
Message board for the users of flat assembler.

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
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: 3477
Location: Bulgaria
jody wrote:
similar to what the javac task does for Java files


And what javac does for Java files?

_________________
Tox ID: 48C0321ADDB2FE5F644BB5E3D58B0D58C35E5BCBC81D7CD333633FEDF1047914A534256478D9
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


Copyright © 1999-2018, Tomasz Grysztar.

Powered by rwasa.