Only debug builds with v1.2.6

Here you can discuss the universal Integrated Development Environment for OpenVMS
Post Reply
User avatar

Topic author
ajbrehm
Active Contributor
Posts: 34
Joined: Sun Jun 16, 2019 7:55 am
Reputation: 3
Location: Zurich
Status: Offline
Contact:

Only debug builds with v1.2.6

Post by ajbrehm » Tue Sep 10, 2019 4:33 pm

Since updating to v1.2.6 VMS-IDE only ever created debug builds, in the release directory, using the same configuration as before.

I got it to create one non-debug build by compiling and linking the source manually. Then it once built a non-debug build too, but it has since returned to putting out only debug builds.

What am I doing wrong?

Added in 31 minutes 2 seconds:
I notice that

"vmssoftware.project-dep.buildType": "RELEASE"

in my settings.json is now marked as a "Unknown Configuration Setting". That seems related.

Added in 16 minutes 15 seconds:
However, replacing it with

"vmssoftware.project-dep.buildName": "RELEASE"

does not change the fact that mms appears to think that DEBUG is defined.

Changing the mms file to use the same link and compile flags for DEBUG as for RELEASE does the trick. So something defines DEBUG before mms is called. But what? And why now?


sergey_vorfolomeev
VSI Expert
Contributor
Posts: 21
Joined: Thu Aug 22, 2019 12:17 am
Reputation: 0
Status: Offline

Re: Only debug builds with v1.2.6

Post by sergey_vorfolomeev » Wed Sep 11, 2019 1:13 am

Please change line in MMS file

Code: Select all

.IF DEBUG
to

Code: Select all

.IF DEBUG .AND $(DEBUG) .EQ 1

User avatar

Topic author
ajbrehm
Active Contributor
Posts: 34
Joined: Sun Jun 16, 2019 7:55 am
Reputation: 3
Location: Zurich
Status: Offline
Contact:

Re: Only debug builds with v1.2.6

Post by ajbrehm » Fri Sep 13, 2019 9:17 am

This appears to work.

Post Reply