return"Open the \"WORK\\cmake-{target}\\Project.sln\" Visual Studio solution and build with the \"{config}\" configuration".format(target=self.name,config=config)
return"Open the \"{cmake_dir}/Project.sln\" Visual Studio solution and build with the \"{config}\" configuration".format(cmake_dir=self.cmake_dir,config=config)
else:
ifself.generatorin[None,"Unix Makefiles"]:
builder="make"
elifself.generator=="Ninja":
builder="ninja"
else:
return"Unknown generator. Files have been generated in WORK/cmake-{target}".format(target=self.name)
return"Run the following command to build:\n\t{builder} -C WORK/cmake-{target}".format(builder=builder,target=self.name)
return"Unknown generator. Files have been generated in {cmake_dir}".format(cmake_dir=self.cmake_dir)
return"Run the following command to build:\n\t{builder} -C {cmake_dir}".format(builder=builder,cmake_dir=self.cmake_dir)