cmcfarlen commented on issue #10241:
URL: 
https://github.com/apache/trafficserver/issues/10241#issuecomment-1785584227

   One way I have found to find the differences is to enable cmake's 
`CMAKE_EXPORT_COMPILE_COMMANDS` option and then compare that to the filesystem. 
 Cmake will output a compile_commands.json file that lists every file that will 
be compiled as part of the build.
   
   ```
   jq -r 'map(.file)[]' compile_commands.json | sort | uniq > compiled.txt
   ```
   
   ```
   find "$(pwd)" -type f -name "*.cc" -or -name "*.cpp" | sort > files.txt
   ```
   
   Then you can diff these files.  For this to work, you have to have a cmake 
that builds with every available option (autest, quic, experimental plugins, 
benchmarks, etc).  There are known missing items like the plugins listed in 
#10242 and the tests in swoc in yaml-cpp that we don't build.  There are also 
some files (i.e. the fastcgi plugin) that autotools also does not build.
   
   Thanks for helping to audit the cmake build @ywkaras!


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to