simple-binary-encoding icon indicating copy to clipboard operation
simple-binary-encoding copied to clipboard

Dependency generation

Open kdoherty2 opened this issue 7 years ago • 2 comments

SBE Tool v1.7.9

To avoid manual maintenance of dependencies in CMakeFiles/MakeFiles

The SBE tool should provide a command line option to write to the standard output the path of each files it generates for a given schema file. This is to assign the paths of the generated files to variables in Makefiles and CMakeLists.txt files and help write dependencies in CMakeList.txt/Makefiles: sbe schema file -> source files -> library file

kdoherty2 avatar Oct 09 '18 10:10 kdoherty2

A suggestion that is part of this is also to generate sbe.h when generating the code to avoid having to include it specifically. Would that fall into this bucket?

tmontgomery avatar Oct 09 '18 17:10 tmontgomery

More of a CMake question. Take a look at https://github.com/real-logic/simple-binary-encoding/blob/master/sbe-samples/src/main/cpp/CMakeLists.txt

tmontgomery avatar Oct 12 '18 16:10 tmontgomery