tuxji opened a new pull request #465: URL: https://github.com/apache/incubator-daffodil/pull/465
As requested on the dev list, reoganize C source files into two distinct groups. Separate these groups from each other by moving them into two subdirectories, "c/libcli" and "c/libruntime". In build.sbt, ensure C compiler test-builds these subdirectories. In TestCLIGenerateC.scala, update tests to keep them passing (some tests were checking the location and existence of the "generated_code.c" file). In resources/c, move the C source files into libcli and libruntime. In CodeGenerator.scala, make CodeGenerator write generated_code.[ch] into libruntime, find C source files in any subdirectory, and compile them with two include flags (one for each subdirectory). In TestCodeGenerator.scala, make all tests remove temporary output dir after using it, and update tests to keep them passing (some tests were checking the location and existence of the "generated_code.c" file). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
