Changes between Version 2 and Version 3 of TutorialCreatingNewComponent


Ignore:
Timestamp:
Nov 21, 2013, 11:25:03 AM (11 years ago)
Author:
Marek Kurdej
Comment:

Added: #!sh

Legend:

Unmodified
Added
Removed
Modified
  • TutorialCreatingNewComponent

    v2 v3  
    33Go to source directory ```src/_NewComponent```.
    44
    5 {{{
     5{{{#!sh
    66cd src
    77cd _NewComponent
     
    1010Run a script that will create a new component (Windows batch file ```.bat``` / Unix script ```.sh```) with one argument -- component name.
    1111
    12 {{{
     12{{{#!sh
    1313NewComponent.bat MyComponentName
    1414}}}
    1515or
    16 {{{
     16{{{#!sh
    1717./NewComponent.sh MyComponentName
    1818}}}
     
    2222
    2323In order to add this component to the project, just add this line to ```src/CMakeLists.txt```:
    24 {{{
     24{{{#!sh
    2525add_directory(MyComponentName)
    2626}}}