-
Notifications
You must be signed in to change notification settings - Fork 684
Closed
Labels
questionRaised questionRaised question
Description
Hey!
For a project that I am working on, I need a scripting language that is familiar to developers - so I decided to go and try out JerryScript. But good lord, I had no idea... ^^;
I generated this command quickly by using the fish shell:
echo gcc (find jerry-core jerry-ext jerry-main jerry-port/default/include -type d -exec echo -n "-I{} " \;) (find jerry-core jerry-ext jerry-port -name "*.c" -exec echo -n "{} " \;) jerry-main/cli.c jerry-main/main-unix.c -o jerry | pbcopy
and manually appending the -D
definition.
This command is big and I wonder: Why is JerryScript's structure so huge, and is there some kind of explanation on how to integrate JerryScript on one's own build system, what -D
's it accepts and such?
I will need to add JerryScript into my own build tool, hence I tried to reproduce a full compilation "by hand" to learn how it is being built. And well, I learned that - and I am surprised I did not exceed the maximum number of arguments... ;)
Kind regards,
Ingwie
Metadata
Metadata
Assignees
Labels
questionRaised questionRaised question