12.6.1 Haxe/C++ 시작하기(Getting started with Haxe/C++)

12.6.1 Haxe/C++ 시작하기(Getting started with Haxe/C++)

C++ 타깃은 가장 인기 있는 Haxe 타깃 중 하나입니다. hxcpp 라이브러리를 통해 ANative, Android, Apple 등의 다양한 네이티브 플랫폼을 지원합니다.

간단한 "Hello" 예제:

class Main {
  static function main() {
    trace("Hello World!");
  }
}

다음 명령으로 컴파일:

haxe --main Main --cpp cpp

출처: Getting started with Haxe/C++

더 알아보기