docs: Updated porting documentation to reflect c++ header change.

Replaced module_h with module_hpp for example CMakeLists.txt
file.

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck 2016-04-28 17:21:20 -07:00
parent 612f53ee40
commit a7e803873f

View File

@ -14,16 +14,16 @@ example is explained in detail on @ref max31855
### CmakeLists.txt
By default you need a header called modulename.h and a C++ file called
By default you need a header called modulename.hpp and a C++ file called
modulename.cxx. You can have multiple headers and source files. Only public
headers need to be added to module_h and all source files need to be in
headers need to be added to module_hpp and all source files need to be in
module_src.
~~~~~~~~~~~
set (libname "modulename")
set (libdescription "Module Description")
set (module_src ${libname}.cxx)
set (module_h ${libname}.h)
set (module_hpp ${libname}.hpp)
upm_module_init()
~~~~~~~~~~~