search for: readyamlobjectfile

Displaying 2 results from an estimated 2 matches for "readyamlobjectfile".

2019 Jun 25
2
[CMake] External File Dependencies for Unit Tests
...et, then add a step in > the test's CMakeLists.txt to run yaml2obj and generate your inputs. I'm > still not convinced that it's the right way to go though. Running yaml2obj from the unit test like lldb does is probably a bit better than doing it from cmake. You can search for ReadYAMLObjectFile to see how it's done there. However, I wouldn't really recommend emulating that... :) cheers, pl
2019 Jun 25
2
[CMake] External File Dependencies for Unit Tests
Thanks James! Thanks for the help. I certainly see your point. > In either case, if you wanted to change the test input, you'd need to rerun CMake again This is unfortunate, I would have hoped I could have CMake create $(wildcard *.yaml) type of output in the make files. But it sounds like this doesn't exist on make alternatives, so this wont work. There is actually a function to get