File: CMakeBuilder.py

package info (click to toggle)
libarcus 5.0.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 448 kB
  • sloc: cpp: 1,606; python: 128; makefile: 8
file content (13 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
from sipbuild import SetuptoolsBuilder


class CMakeBuilder(SetuptoolsBuilder):
    def __init__(self, project, **kwargs):
        print("Using the CMake builder")
        super().__init__(project, **kwargs)

    def build(self):
        """ Only Generate the source files """
        print("Generating the source files")
        self._generate_bindings()
        self._generate_scripts()