Sorry I am brand new to cmake and ninja was trying to figure out how to switch my project from release and debug. I build using a multi-config ninja generator like this
rerunning the commands with --config Release gives me the message of ninja: no work to do. so how do I change configs as my asserts still fire? also what would be the correct macro to use for checking if my project is in debug mode in my code?
Hello thanks for the advice. NDEBUG did the trick for the macro. Also when making the smaller project to test and give here, everything worked as expected so I went to debug my project. Looking at the output of my build script I found an terminal line buried saying I needed to delete my cache to swap Multi-Conifg generator. Sorry for the trouble and thanks for the help.