cmake_template
cmake_template copied to clipboard
Verify CLion Experience (MacOS)
This is the "out of the box" experience.
When you open this project in Clion does it Just Work?
related #17
Worked out of box for me. Using Intel MacBook Pro, Ventura 13.6.1, Xcode CLI Tools Clang 15, only tools bundled with CLion. Project built automatically when I opened it. All tests passed.
For Some reason with my macbook pro m3 clang version 16.0.0 I had to suppress knownConditionTrueFalse on CppCheck. Then all compiles.
But for Some reason I cannot run intro. Due to This error when running address Sanitizer intro(18840,0x201b4cc00) malloc: nano zone abandoned due to inability to reserve vm space.
Then I Tried to Change both undefined Sanitizer and Address Sanitizer off.
But for some reason CmakeCache.txt still have, even when Rebuild All: myproject_ENABLE_SANITIZER_ADDRESS:BOOL=ON myproject_ENABLE_SANITIZER_UNDEFINED:BOOL=ON
Will Do some more Digging to find out the reason. It is probably something I have done wrong somewhere. Its just to find where :)
Turned out that you can change CmakeCached variables in Edit Cmake Configurations in Clion.
So all working now as expected.