Seite 1 von 1

Zwei DLLS in einem Projekt mit und ohne Debuginformationen

Verfasst: Do, 23. Nov 2017 13:19
von sammler0002
Moin Moin,

ich habe in der Workbench ein Projekt welches eine DLL erstellt. Von dieser DLL möchte ich immer gleichzeitig eine Version mit und eine Version ohne Debuginformationen haben, das Projekt dazu ist unten.

Beim erstellen der DLL werden auch 2 DLLs erstellt, aber beide haben Debuginformationen, also auch diese, die ohne sein soll.

Hat da jemand eine Idee zu?

Code: Alles auswählen

[PROJECT]
    VERSION       = 2.1
    Project.xpj

[Project.xpj]
    xtools.dll
    xtoolsdeb.dll

[xtools.dll]
    COMPILE       = xpp
    COMPILE_FLAGS = /DLL /wi /wl /wu /w 
    DEBUG         = no
    GUI           = no
    LINKER        = alink
    LINK_FLAGS    = /dll 
    RC_COMPILE    = arc
    RC_FLAGS      = 
// $START-AUTODEPEND
    XTOOLS.obj
// $STOP-AUTODEPEND
    ADSMG.LIB
    XBTBASE1.LIB
    XBTBASE2.LIB
    XTOOLS.PRG

[xtoolsdeb.dll]
    COMPILE       = xpp
    COMPILE_FLAGS = /DLL /wi /wl /wu /w 
    DEBUG         = yes
    GUI           = no
    LINKER        = alink
    LINK_FLAGS    = /dll 
    RC_COMPILE    = arc
    RC_FLAGS      = 
// $START-AUTODEPEND
    XTOOLS.obj
// $STOP-AUTODEPEND
    ADSMG.LIB
    XBTBASE1.LIB
    XBTBASE2.LIB
    XTOOLS.PRG

Re: Zwei DLLS in einem Projekt mit und ohne Debuginformationen

Verfasst: Do, 23. Nov 2017 14:16
von Werner_Bayern
INTERMEDIATE_DEBUG = .debug
INTERMEDIATE_RELEASE = .release
Vor // $START-AUTODEPEND

Brauchst aber die aktuelle Version der WB.

Re: Zwei DLLS in einem Projekt mit und ohne Debuginformationen

Verfasst: Do, 23. Nov 2017 15:00
von sammler0002
Werner_Bayern hat geschrieben: Do, 23. Nov 2017 14:16
INTERMEDIATE_DEBUG = .debug
INTERMEDIATE_RELEASE = .release
Vor // $START-AUTODEPEND

Brauchst aber die aktuelle Version der WB.
Hat geklappt! Vielen Dank!

LG

Philipp

Re: Zwei DLLS in einem Projekt mit und ohne Debuginformationen

Verfasst: Do, 23. Nov 2017 17:01
von Werner_Bayern
Bitte.