|
From: Teiniker E. <ego...@tu...> - 2003-10-13 13:41:17
|
Hey all!
I changed the MHomeDef and MComponentDef templates to fill the *_shared.h
files.I also changed the ccmtools-c++-generate, ccmtools-c++-configure and
ccmtools-c++-make scripts to undo the *_app.* file copy.
Finally, I added a src/ directory to the test/CppGenerator/facet and
test/CppGenerator/facet_basic_types directory.
To show the changes in component development, let's make an example:
> cd test/idl/facet
> ccmtools-c++-generate -d -p hello Hello.idl
> tree hello
hello/
|-- CCM_Local
| |-- Console.h
| `-- Makefile.py
|-- CCM_Local_CCM_Session_Hello
| |-- HelloHome_gen.cc
| |-- HelloHome_gen.h
| |-- Hello_gen.cc
| |-- Hello_gen.h
| `-- Makefile.py
|-- CCM_Local_CCM_Session_Hello_mirror
| |-- HelloHome_mirror_gen.cc
| |-- HelloHome_mirror_gen.h
| |-- Hello_mirror_gen.cc
| |-- Hello_mirror_gen.h
| `-- Makefile.py
|-- CCM_Local_CCM_Session_Hello_mirror_share
| |-- HelloHome_mirror_share.h
| |-- Hello_mirror_share.h
| `-- Makefile.py
|-- CCM_Local_CCM_Session_Hello_share
| |-- HelloHome_share.h
| |-- Hello_share.h
| `-- Makefile.py
|-- CCM_Test
| |-- Makefile.py
| `-- _check_CCM_Local_CCM_Session_Hello.cc
|-- confix.conf
|-- idl3
| |-- Console.idl3mirror
| |-- Hello.idl3mirror
| `-- HelloHome.idl3mirror
`-- src
|-- HelloHome_app.cc
|-- HelloHome_app.h
|-- HelloHome_entry.h
|-- HelloHome_mirror_app.cc
|-- HelloHome_mirror_app.h
|-- HelloHome_mirror_entry.h
|-- Hello_app.cc
|-- Hello_app.h
|-- Hello_mirror_app.cc
|-- Hello_mirror_app.h
`-- Makefile.py
# Now we use the existing business logic from test/CppGenerator/facet
> cp -r ../../CppGenerator/facet/src hello/
> cd hello/
> confix.py --profile="ccmtools" --configfile="confix.conf" \
--bootstrap --configure --mak--targets="all check"
=> ... => All 1 tests passed
# Note that we can also use the ccmtools-c++-configure and ccmtools-c++-make
# to build the component...
After that (and the test/idl/facet_basic_types) example, I checked in the
changes.
:-) Egon
|