Skip to content

Commit f82a31c

Browse files
committed
Updated engine build tool
1 parent 9d6453a commit f82a31c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

engine/tools/doriax.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ def create_build_dir(name):
104104
@click.command()
105105
@click.option('--platform', '-p', required=True, type=click.Choice(['web', 'linux', 'windows', 'macos', 'macos-xcode', 'ios-xcode'], case_sensitive=False), help="Plataform build type")
106106
@click.option('--project', '-s', default='../project', type=click.Path(), help="Source root path of project files")
107-
@click.option('--doriax', '-r', default='..', type=click.Path(), help="Doriax root directory")
108107
@click.option('--appname', '-a', default='doriax-project', help="Project target name")
109108
@click.option('--output', '-o', type=click.Path(), help="Output directory")
110109
@click.option('--build/--no-build', '-b', default=False, help="Build or no build generated Xcode project")
@@ -114,13 +113,12 @@ def create_build_dir(name):
114113
@click.option('--no-cpp-init', is_flag=True, help="No call C++ init on project start")
115114
@click.option('--no-lua-init', is_flag=True, help="No call Lua on project start")
116115
@click.option('--em-shell-file', type=click.Path(), help="Emscripten shell file")
117-
def build(platform, project, doriax, appname, output, build, debug, graphic_backend, app_backend, no_lua_init, no_cpp_init, em_shell_file):
116+
def build(platform, project, appname, output, build, debug, graphic_backend, app_backend, no_lua_init, no_cpp_init, em_shell_file):
118117

119118
projectRoot = os.path.abspath(project)
120-
doriaxRoot = os.path.abspath(doriax)
121119

122120
cmake_generator = ""
123-
source_path = doriaxRoot
121+
source_path = projectRoot
124122
cmake_definitions = []
125123

126124
build_config = []

0 commit comments

Comments
 (0)