Projects > cpp > Issues > Feature #2878

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Android build_native.cmd on Windows without Cygwin should pass args to ndk-build

Feature #2878 [Closed]
MalcolmEvershed 2013-10-03 07:08 . Updated about 3 years ago

"*" (cmd.exe syntax) should be added to the bottom:

call NDK_ROOT\ndk-build.cmd NDK_LOG=0 V=0 *

build_native.sh similarly already uses \$* (sh/bash syntax).

This change will allow build_native.cmd to be easily used from Eclipse, so that Eclipse may pass args like -j<NumCores> for parallel build and ‘clean’ to clean the project.

Thanks.

MalcolmEvershed 2013-10-03 07:10

Also, it is probably a good idea to call setlocal after @echo off, to prevent the batch file’s environment variable changes from affecting the user’s interactive cmd.exe session. Thanks.

walzer@cocos2d-x.org 2013-10-10 12:17
  • Assignee set to dumganhar
  • Target version set to 3.0-alpha1

+1 for remove cygwin dependency.

walzer@cocos2d-x.org 2013-10-10 12:19
  • Status changed from New to Closed
  • Assignee deleted (dumganhar)
  • Target version deleted (3.0-alpha1)

well, duplicated to issue #2834
Please update your ideas there.

fadookie 2013-12-04 23:31

There’s no issue at http://cocos2d-x.org/issues/2834 - what happened to this ticket?

Atom PDF

Status:Closed
Start date:2013-10-03
Priority:Normal
Due date:
Assignee:-
% Done:

0%

Category:android
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.