1CppApplication { 2 condition: { 3 var result = qbs.targetPlatform === qbs.hostPlatform; 4 if (!result) 5 console.info("targetPlatform differs from hostPlatform"); 6 return result; 7 } 8 Depends { name: "vcs" } 9 vcs.headerFileName: "my-repo-state.h" 10 files: ["main.cpp"] 11} 12