You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Clone the repo
Configure and generate with cmake-gui for Visual Studio
Compile the solution (default is debug)
Switch to release
Compile the solution
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
The text was updated successfully, but these errors were encountered:
@Deakon997 Maybe it's related to the issue I was dealing with.
It seems this line unset(CMAKE_BUILD_TYPE CACHE) unset the CMAKE_BUILD_TYPE in the whole CMake environment and will affect the following configuration, if this parameter is used further in other libraries.
If the library is built as standalone library, there is no problem. It happens when I tried to integrate the library into the project.
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
To Reproduce
Steps to reproduce the behavior:
Expected behavior
antlr should be rebuild automatically.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: