blob: 28e1a017e35ef1c2e04cc70f069718853233aec7 [file] [log] [blame]
Jens Geyerfea00ac2014-10-01 02:22:48 +02001#
2# Licensed to the Apache Software Foundation (ASF) under one
3# or more contributor license agreements. See the NOTICE file
4# distributed with this work for additional information
5# regarding copyright ownership. The ASF licenses this file
6# to you under the Apache License, Version 2.0 (the
7# "License"); you may not use this file except in compliance
8# with the License. You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing,
13# software distributed under the License is distributed on an
14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15# KIND, either express or implied. See the License for the
16# specific language governing permissions and limitations
17# under the License.
18#
19
20#integrate files to classpath
21-cp src
22-cp ../src
23-cp gen-haxe
24
25#this class wil be used as entry point for your app.
26-main Main
27
Jens Geyer76283922022-06-11 14:24:33 +020028# forced compile of all source files
29--macro include('org.apache.thrift', true)
30--macro include('thrift', true)
31--macro include('constantsDemo', true)
32
Jens Geyerfea00ac2014-10-01 02:22:48 +020033#CPP target
34-cpp bin
35
36#To produce 64 bit binaries the file should define the HXCPP_M64 compile variable:
37#-D HXCPP_M64
38
39#Add debug information
40-debug
41
42#dead code elimination : remove unused code
43#"-dce no" : do not remove unused code
44#"-dce std" : remove unused code in the std lib (default)
45#"-dce full" : remove all unused code
46-dce full