How can I set "Basic Runtime Checks" to "Default" in my CMake file?
With following line in CMake, I can set it to RTCs in Release mode, but what I really need is set it to Default.
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /RTCs")
How can I set "Basic Runtime Checks" to "Default" in my CMake file?
With following line in CMake, I can set it to RTCs in Release mode, but what I really need is set it to Default.
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /RTCs")
Copyright © 2021 Jogjafile Inc.
I found the solution.
Use macro to delete the current compiler option.
Best Regards