File: wxcode.bkgen

package info (click to toggle)
wxsqlite3 3.4.1~dfsg-5
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 6,012 kB
  • sloc: cpp: 7,915; sh: 5,507; makefile: 367; ansic: 229; php: 9
file content (61 lines) | stat: -rw-r--r-- 2,158 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" ?>
<!-- $Id$ -->

<bakefile-gen xmlns="http://www.bakefile.org/schema/bakefile-gen">

    <!-- List of the default output formats to generate:

        NOTE: you may prefer e.g. 'gnu' over autoconf and/or
            want to e.g. enable msvs2005prj output.
            In this case, you can simply do, in your Bakefiles.bkgen:

                <disable-formats>autoconf</disable-formats>
                <add-formats>gnu,msvs2005prj</add-formats>
    -->
    <add-formats>autoconf,borland,mingw,msvc,watcom,gnu</add-formats>

    <!-- now all kind of MSVC project files: -->
    <add-formats>msvc6prj,msvs2003prj,msvs2005prj,msvs2008prj</add-formats>


    <!-- wxCode presets do need wxWidgets presets.

        However to make sure all components get a similar build system
        and that it is a _working_ build system, we won't include the
        wxpresets in the

            %WXWIN%\build\bakefiles\wxpresets

        folder (whose version maybe old or which may be missing).

        We rather keep the very latest version of wxpresets in a "presets"
        subfolder of wxCode and we tell Bakefile to look at that folder.
    -->
    <add-flags>-I../wxcode/bakefiles -I../../wxcode/bakefiles</add-flags>


    <!-- since it's standard on Unix to have Makefile.in and the configure script in
         the root folder of the component to build, we put Makefile.in one directory up -->
    <add-flags formats="autoconf">
        -o../Makefile.in
    </add-flags>
    <add-flags formats="autoconf">
        -DAUTOCONF_MACROS_FILE=autoconf_inc.m4
    </add-flags>


    <!-- generate the MSVC projects with different names to avoid conflicts -->
    <add-flags formats="msvc6prj">
        -o $(INPUT_FILE_BASENAME_NOEXT)_vc6.dsw
    </add-flags>
    <add-flags formats="msvs2003prj">
        -o $(INPUT_FILE_BASENAME_NOEXT)_vc7.sln
    </add-flags>
    <add-flags formats="msvs2005prj">
        -o $(INPUT_FILE_BASENAME_NOEXT)_vc8.sln
    </add-flags>
    <add-flags formats="msvs2008prj">
        -o $(INPUT_FILE_BASENAME_NOEXT)_vc9.sln
    </add-flags>

</bakefile-gen>