Changes between Initial Version and Version 1 of Tutorials


Ignore:
Timestamp:
Nov 7, 2013, 10:32:16 AM (11 years ago)
Author:
Marek Kurdej
Comment:

Started. Added: new component.

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials

    v1 v1  
     1= Tutorials =
     2
     3== Creating new component ==
     4
     5Go to source directory ```src/_NewComponent```.
     6
     7{{{
     8cd src
     9cd _NewComponent
     10}}}
     11
     12Run a script that will create a new component (batch file ```.bat``` / Unix script ```.sh```) with one argument -- component name.
     13
     14{{{
     15NewComponent.bat MyComponentName
     16}}}
     17or
     18{{{
     19./NewComponent.sh MyComponentName
     20}}}
     21
     22It will use CMake to create a new component (it can take some time when used for the first time).
     23Component files will be added to ```src/MyComponentName```.
     24
     25In order to add this component to the project, just add this line to ```src/CMakeLists.txt```.
     26{{{
     27add_directory(MyComponentName)
     28}}}