Commit b7951752 authored by Ghislain MARY's avatar Ghislain MARY

Remove unused code.

parent 7b1378c9
......@@ -138,21 +138,6 @@ class Target:
def build_instructions(self, debug=False):
if self.generator is not None and self.generator.startswith('Visual Studio'):
config = "Release"
if debug:
config = "Debug"
return "Open the \"{cmake_dir}/Project.sln\" Visual Studio solution and build with the \"{config}\" configuration".format(cmake_dir=self.cmake_dir, config=config)
if self.generator in [None, "Unix Makefiles"]:
builder = "make"
elif self.generator == "Ninja":
builder = "ninja"
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)
class TargetListAction(argparse.Action):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment