Changes between Version 2 and Version 3 of TutorialCreatingNewComponent
- Timestamp:
- Nov 21, 2013, 11:25:03 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TutorialCreatingNewComponent
v2 v3 3 3 Go to source directory ```src/_NewComponent```. 4 4 5 {{{ 5 {{{#!sh 6 6 cd src 7 7 cd _NewComponent … … 10 10 Run a script that will create a new component (Windows batch file ```.bat``` / Unix script ```.sh```) with one argument -- component name. 11 11 12 {{{ 12 {{{#!sh 13 13 NewComponent.bat MyComponentName 14 14 }}} 15 15 or 16 {{{ 16 {{{#!sh 17 17 ./NewComponent.sh MyComponentName 18 18 }}} … … 22 22 23 23 In order to add this component to the project, just add this line to ```src/CMakeLists.txt```: 24 {{{ 24 {{{#!sh 25 25 add_directory(MyComponentName) 26 26 }}}