Changes between Version 3 and Version 4 of TutorialCreatingNewComponent


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

makefile syntax for cmake

Legend:

Unmodified
Added
Removed
Modified
  • TutorialCreatingNewComponent

    v3 v4  
    1010Run a script that will create a new component (Windows batch file ```.bat``` / Unix script ```.sh```) with one argument -- component name.
    1111
     12Windows:
    1213{{{#!sh
    1314NewComponent.bat MyComponentName
    1415}}}
    15 or
     16Linux:
    1617{{{#!sh
    1718./NewComponent.sh MyComponentName
     
    2223
    2324In order to add this component to the project, just add this line to ```src/CMakeLists.txt```:
    24 {{{#!sh
     25{{{#!makefile
    2526add_directory(MyComponentName)
    2627}}}