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?
Only debug builds with v1.2.6
-
- VSI Expert
- Master
- Posts: 103
- Joined: Thu Aug 22, 2019 12:17 am
- Reputation: 0
- Status: Offline
Re: Only debug builds with v1.2.6
Please change line in MMS file
to
Code: Select all
.IF DEBUG
Code: Select all
.IF DEBUG .AND $(DEBUG) .EQ 1
-
Topic author - Valued Contributor
- Posts: 62
- Joined: Sun Jun 16, 2019 7:55 am
- Reputation: 6
- Location: Zurich
- Status: Offline
- Contact:
Re: Only debug builds with v1.2.6
This appears to work.