Developers Manual > Cocos2d-x > Getting Started with Cocos2d-x > How to run cpp-tests on Mac OS X

How to run cpp-tests on Mac OSX

Environmental Requirements

Run

  • Enter cocos2d-x/build and open cocos2d_tests.xcodeproj
  • Choose cpp-tests Mac from drop-down box:

    select project

  • Click run to compile and run Test cpp sample:

    selectrunbutton

  • Running:

    run3

  • Click stop to exit the sample:

    sto5p

run.png (109.6 kB) owen, 2014-04-01 09:48

run.png (109.6 kB) owen, 2014-04-01 09:50

select_project.png (245.5 kB) owen, 2014-04-01 09:50

select_run.png (20.4 kB) owen, 2014-04-01 09:50

select_stop.png (19.3 kB) owen, 2014-04-01 09:50

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