Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cocos console should work with cmake #19446

Open
minggo opened this Issue Feb 28, 2019 · 7 comments

Comments

Projects
None yet
2 participants
@minggo
Copy link
Contributor

minggo commented Feb 28, 2019

No description provided.

@minggo minggo added this to the metal-support milestone Feb 28, 2019

@minggo minggo self-assigned this Feb 28, 2019

@crazyhappygame

This comment has been minimized.

Copy link
Contributor

crazyhappygame commented Feb 28, 2019

@minggo for what cocos console is needed with cmake?
To compile:
mkdir build
cd build
cmake..
cmake --build .

To create new project:
cp -R tests/cpp-empty-test my_new_project

Should work for all platforms.

@minggo

This comment has been minimized.

Copy link
Contributor Author

minggo commented Mar 1, 2019

I mean cocos console commands, such as cocos compile -p mac.

@minggo

This comment has been minimized.

Copy link
Contributor Author

minggo commented Mar 1, 2019

As i knowcmake --build can not work on Android. Right?

@minggo

This comment has been minimized.

Copy link
Contributor Author

minggo commented Mar 1, 2019

Sorry, i mean can not use cmake to run Android application.

@crazyhappygame

This comment has been minimized.

Copy link
Contributor

crazyhappygame commented Mar 1, 2019

For Android:
build:

$ cd proj.android
$ gradlew assembleRelease

install:
$ adb install proj.android/app/build/outputs/apk/release/my.apk

@minggo

This comment has been minimized.

Copy link
Contributor Author

minggo commented Mar 4, 2019

Thanks. I will use these commands in cocos console. I have to make cocos console work to keep compatibility, and it is easy to use the same commands on different platforms.

@minggo

This comment has been minimized.

Copy link
Contributor Author

minggo commented Mar 6, 2019

#19466: cpp tests lua empty test work, lua tests itself can not build correctly.

Things left:

  • lua tests: #19471
  • js tests
  • new project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.