Converting PWG/TRD to native cmake