Usually, device tree source files are not a signal pure dts file.
It could include dtsi, dts or C code heads .h files.
Need C compiler finish the pre-compile to a pure dts file first.
It is integrated inside the like Linux build system(Makefile, etc.).
This document shows the original way to compile device tree.
This document will show compile device tree under windows.