Codebook generation creates constant tables that are used by the codec. They
are built from text file source containing the table values rather than C
program source. It should run at make time. IMO it is a mistake for the
generated files to be in SVN, this is probably due to an incomplete makefile on
some platform or "make clean" did not remove them before check-in. A
complication for cross compilation is that the generate program must be
compiled to the host's executable format and run there.
Your cmake file should ignore the SVN source and build the generated .c files
anew, placing them in the output subdirectory where it would put .o files
rather than in the source directory. There should be dependencies for the
generated table .c files on the generator program .c file and the text files,
so that changes in any of them trigger a build.
Thanks
Bruce
Richard Shaw <[email protected]> wrote:
>I'm getting closer to having the cmake config doing everything that
>autoconf does for codec2. One question I have is around codebook
>generation.
>
>1. What is it exactly?
>2. Does this need to be generated on configure? make? Or only when the
>input files change? There is already generated source files in svn...
>
>Thanks,
>Richard
>
>
>------------------------------------------------------------------------
>
>------------------------------------------------------------------------------
>Precog is a next-generation analytics platform capable of advanced
>analytics on semi-structured data. The platform includes APIs for
>building
>apps and a phenomenal toolset for data science. Developers can use
>our toolset for easy data analysis & visualization. Get a free account!
>http://www2.precog.com/precogplatform/slashdotnewsletter
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Freetel-codec2 mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/freetel-codec2
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2