CMAKE_EXPORT_COMPILE_COMMANDS: Create empty compile_commands.json when there are no compilation actions?
See a quick example first:
install (
FILES a.txt
DESTINATION /tmp/test
)
If we run cmake on it there will not be a compile_commands.json
even with CMAKE_EXPORT_COMPILE_COMMANDS
right? Just want to know whether is intentional or not.