Skip to content

no antlr rebuild for debug / release switching in Visual Studio #174

@Deakon997

Description

@Deakon997

Describe the bug
When switch the build type from release to debug or back in Visual Studio then antlr does not rebuild for the selected build type causing the build to fail. To solve this one has to

  • rebuild the entire solution (taking a long time) or
  • rebuild antlr manually (which is ok)

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo
  2. Configure and generate with cmake-gui for Visual Studio
  3. Compile the solution (default is debug)
  4. Switch to release
  5. Compile the solution
  6. See that linking fails

Expected behavior
antlr should be rebuild automatically.

Desktop (please complete the following information):

  • OS: Windows 10 / 11
  • IDE: Visual Studio 2022

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions