Page 1 of 1

Only debug builds with v1.2.6

Posted: Tue Sep 10, 2019 4:33 pm
by ajbrehm
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?

Re: Only debug builds with v1.2.6

Posted: Wed Sep 11, 2019 1:13 am
by sergey_vorfolomeev
Please change line in MMS file

Code: Select all


Code: Select all


Re: Only debug builds with v1.2.6

Posted: Fri Sep 13, 2019 9:17 am
by ajbrehm
This appears to work.