Changes between Initial Version and Version 1 of TutorialCreatingNewComponent


Ignore:
Timestamp:
Nov 20, 2013, 11:31:14 AM (11 years ago)
Author:
Marek Kurdej
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TutorialCreatingNewComponent

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