Changes between Version 3 and Version 4 of pps/tutorial_basic
- Timestamp:
- Sep 29, 2008, 5:06:53 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
pps/tutorial_basic
v3 v4 48 48 We organise our source files via CMake as you have already found out. You now have to tell CMake to also compile the ''TutorialShip'': 49 49 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. 51 51 1. Save and close. 52 52 The 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: