[Developer] Addition of compilation option
Ben Leslie
benno at ok-labs.com
Fri May 4 12:16:18 EST 2007
On Sun Apr 29, 2007 at 17:13:28 +0900, mikan0731_2007 at mail.goo.ne.jp wrote:
>
>Hello Kenge-users
>
>?$B!&About the compilation option
>Does the program such as okl4_release_1.4.1.1\iguana under example, naming, and serial exist
>,
> and should be done an additional correction like any as the program is newly added,
>and the addition of the compilation option (for instance, "-IXXX" and ..-.. ..-.. DYYY) only
> for
>deflecting is general?
Hello,
I'm not really sure what you are asking. If you want to add a new program
to Iguana, you should start by copying one of the existing examples
and then modifying to suit your needs. To set extra defines
you can do something like:
obj = env.KengeProgram("app",
CPPDEFINES=env.Extra([("FOO", 1), ("BAR", 4)],
CPPPATH=env.Extra(["XXX"]),
LIBS = libs
)
Cheers,
Ben
More information about the Developer
mailing list