My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
haxe2cpp  
Compile .hx files to C++ files.
Updated Sep 1, 2009 by wildwin...@gmail.com

The haxe2cpp task

This calls the haxe compiler to compile to a folder of C++ files.

Standard Options

All the StandardHaxeTasks options apply.

To compile to php files

<haxe2cpp main="App" out="app"/>

Where, unlike the other haxe compile tasks, out is the name of a directory.

Comment by madameru...@gmail.com, Sep 22, 2010

while trying to compile simpe examle MainTest?.hx file with haxe2cpp task on Windows 7 I am getting very strange erro message abotu not being eble to create the output directory:

exec? Parsed C:\M exec? otion-Twin\haxe/std/Reflect.hx exec? Typing Reflect.setField exec? Generating Cpp in : C:\Users\marina.russo\workspace\TestHaXeWithAnt?\tarUnix.Unix_error(12, "mkdir", "./C:\\Users\\marina.russo\\workspace\\TestHaXeWithAnt?\\target\\bin\\TestMain?") exec? get\bin\TestMain?

BUILD FAILED C:\Users\marina.russo\workspace\TestHaXeWithAnt?\build.xml:45: The following error occurred while executing this line: C:\Users\marina.russo\workspace\TestHaXeWithAnt?\build.xml:96: exec returned: 1


Sign in to add a comment
Powered by Google Project Hosting