mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-26 19:22:34 +01:00
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
$ !
|
|
$ ! POCOCXX.COM
|
|
$ !
|
|
$ ! $Id: //poco/Main/build/vms/pococxx.com#5 $
|
|
$ !
|
|
$ ! C++ compile procedure for Poco libraries
|
|
$ !
|
|
$ ! The logical POCO_BASE must be set and point to the
|
|
$ ! Poco base directory (e.g. USER1:[PROJECTS.POCO.])
|
|
$ !
|
|
$
|
|
$ IF "''pointerSize'" .EQS. "32"
|
|
$ THEN
|
|
$ ptropt = "/POINTER=32"
|
|
$ objdir = "OBJ32"
|
|
$ ELSE
|
|
$ ptropt = "/MODEL=ANSI"
|
|
$ objdir = "OBJ64"
|
|
$ ENDIF
|
|
$
|
|
$ IF "''buildMode'" .EQS. "RELEASE"
|
|
$ THEN
|
|
$ modeopt = "/NODEBUG"
|
|
$ modedef = "NDEBUG"
|
|
$ objdir = objdir + "R"
|
|
$ ELSE
|
|
$ modeopt = "/DEBUG=ALL/NOOPT"
|
|
$ modedef = "_DEBUG"
|
|
$ objdir = objdir + "D"
|
|
$ ENDIF
|
|
$
|
|
$ node = F$GETSYI("NODENAME")
|
|
$ baseopt = "/STANDARD=ANSI/ANSI/NOUSING/FLOAT=IEEE/IEEE=UNDER/REENT=MULTI/OBJ=[.''objdir'].OBJ"
|
|
$ repopt = "/REP=[.''objdir']"
|
|
$ defines = "/DEF=(__USE_STD_IOSTREAM,__NEW_STARLET,POCO_BUILD_HOST=''node',''modedef' ''projectDefines')"
|
|
$
|
|
$ IF "''verbose'" .EQS. "1"
|
|
$ THEN
|
|
$ WRITE SYS$OUTPUT "CXX ''baseopt' ''ptropt' ''modeopt' ''defines' ''repopt' ''P1'"
|
|
$ ENDIF
|
|
$
|
|
$ CXX 'baseopt' 'ptropt' 'modeopt' 'defines' 'repopt' 'p1'
|