cmake_template icon indicating copy to clipboard operation
cmake_template copied to clipboard

Verify CLion Experience (MacOS)

Open lefticus opened this issue 2 years ago • 3 comments

This is the "out of the box" experience.

When you open this project in Clion does it Just Work?

related #17

lefticus avatar Apr 19 '23 23:04 lefticus

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.

jonathanhhoward avatar Dec 06 '23 14:12 jonathanhhoward

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 :)

JesperHerrloff avatar Sep 22 '24 09:09 JesperHerrloff

Turned out that you can change CmakeCached variables in Edit Cmake Configurations in Clion.

So all working now as expected.

JesperHerrloff avatar Sep 22 '24 11:09 JesperHerrloff