Ejemplo n.º 1
0
	def __init__(self, projectDir):
		projectDir  = projectDir.replace('/', '\\')
		projectFile = projectDir + r'\KProject.py'
		projectInfo = KUtil.readPyFileInfo(projectFile)
		self.name = projectInfo.PROJECT_NAME
		self.vcxprojPath = '..\\' + projectDir + '\\' + self.name + '.vcxproj'
		self.guid = KUtil.newGuid()
Ejemplo n.º 2
0
    def run(self):
        solutionFile = os.getcwd() + os.sep + "KMakefile.py"
        solutionInfo = KUtil.readPyFileInfo(solutionFile)

        print "Solution File:", solutionFile
        print "Generating '%s' ..." % solutionInfo.SOLUTION_NAME

        solutionInfo.SOLUTION_DIR = os.getcwd()
        compiler = KCompilerVs2012(solutionInfo)
        compiler.run()

        print "Generating done."
Ejemplo n.º 3
0
    def run(self):
        solutionFile = os.getcwd() + os.sep + 'KMakefile.py'
        solutionInfo = KUtil.readPyFileInfo(solutionFile)

        print 'Solution File:', solutionFile
        print 'Generating \'%s\' ...' % solutionInfo.SOLUTION_NAME

        solutionInfo.SOLUTION_DIR = os.getcwd()
        compiler = KCompilerVs2012(solutionInfo)
        compiler.run()

        print 'Generating done.'