framework2

Форк
0
58 строк · 1.8 Кб
1
import qbs
2
import qbs.Process
3
import qbs.File
4
import qbs.FileInfo
5
import qbs.TextFile
6
import "../../../libs/openFrameworksCompiled/project/qtcreator/ofApp.qbs" as ofApp
7

8
Project{
9
    property string of_root: "../../.."
10

11
    ofApp {
12
        name: { return FileInfo.baseName(path) }
13

14
        files: [
15
            'src/main.cpp',
16
            'src/ofApp.cpp',
17
            'src/ofApp.h',
18
            'src/testApp.cpp',
19
            'src/testApp.h',
20
        ]
21

22
        of.addons: [
23
            'ofxPostProcessing',
24
        ]
25

26
        // additional flags for the project. the of module sets some
27
        // flags by default to add the core libraries, search paths...
28
        // this flags can be augmented through the following properties:
29
        of.pkgConfigs: []       // list of additional system pkgs to include
30
        of.includePaths: []     // include search paths
31
        of.cFlags: []           // flags passed to the c compiler
32
        of.cxxFlags: []         // flags passed to the c++ compiler
33
        of.linkerFlags: []      // flags passed to the linker
34
        of.defines: []          // defines are passed as -D to the compiler
35
                                // and can be checked with #ifdef or #if in the code
36

37
        // other flags can be set through the cpp module: http://doc.qt.io/qbs/cpp-module.html
38
        // eg: this will enable ccache when compiling
39
        //
40
        // cpp.compilerWrapper: 'ccache'
41

42
        Depends{
43
            name: "cpp"
44
        }
45

46
        // common rules that parse the include search paths, core libraries...
47
        Depends{
48
            name: "of"
49
        }
50

51
        // dependency with the OF library
52
        Depends{
53
            name: "openFrameworks"
54
        }
55
    }
56

57
    references: [FileInfo.joinPaths(of_root, "/libs/openFrameworksCompiled/project/qtcreator/openFrameworks.qbs")]
58
}
59

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.