Lines Matching +full:cmake +full:- +full:generator
1 # -*- coding: utf-8 -*-
3 #-------------------------------------------------------------------------
5 # --------------------------------------
13 # http://www.apache.org/licenses/LICENSE-2.0
21 #-------------------------------------------------------------------------
64 if which("cmake") == None:
66 "/Applications/CMake.app/Contents/bin/cmake"
71 …raise FileNotFoundError("cmake executable file is not avaliable on the platform. It may not have b…
72 return "cmake"
85 args = ['-G', self.name]
87 args.append('-DCMAKE_BUILD_TYPE=%s' % buildType)
89 # this is supported since CMake 3.1, needed for VS2019+
90 args.append('-A')
97 args += ['--config', buildType]
99 args += ['--'] + self.extraBuildArgs
107 …CMakeGenerator.__init__(self, "Unix Makefiles", extraBuildArgs = ["-j%d" % multiprocessing.cpu_cou…
136 # From VS2019 onwards, the architecture is given by -A <platform-name> switch
199 # Pre-defined generators
218 for generator in generators:
219 if generator.isAvailable():
220 return generator