Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 3 and Version 4 of pps/tutorial_basic


Ignore:
Timestamp:
Sep 29, 2008, 5:06:53 PM (16 years ago)
Author:
scheusso
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • pps/tutorial_basic

    v3 v4  
    4848We organise our source files via CMake as you have already found out. You now have to tell CMake to also compile the ''TutorialShip'':
    4949 1. Open orxonox/trunk/src/orxonox/CMakeLists.txt
    50  1. You will see a large list of source files (*.cc). You can add "TutorialShip.cc" anywhere you like, but it is preferred to organise the file a little bit. So look for SpaceShip.cc and add things there.
     50 1. You will see a large list of source files (*.cc). You can add "oxonox/TutorialShip.cc" anywhere you like, but it is preferred to organise the file a little bit. So look for SpaceShip.cc and add things there.
    5151 1. Save and close.
    5252The interesting part: Modifying the C++ code. '''Open orxonox/trunk/src/orxonox/objects/TutorialShip.cc'''. As you have already heard from Fabian, the Core Framework is like a language extension to C++. But it cannot be 100% automatic. That means you have to add a few lines accordingly: