cJSON icon indicating copy to clipboard operation
cJSON copied to clipboard

Also add custom compiler flags for AppleClang

Open ryandesign opened this issue 2 years ago • 1 comments

This project adds custom compiler flags when the compiler is "Clang" or "GNU" (gcc). Apple's version of Clang (which comes with Xcode and the Xcode command line tools on macOS) identifies itself not as "Clang" but "AppleClang" so before this PR it did not receive those custom flags.

ryandesign avatar Jul 10 '23 03:07 ryandesign

Apple's version of Clang … identifies itself not as "Clang" but "AppleClang"

…when CMP0025 is NEW (i.e. -DCMAKE_POLICY_DEFAULT_CMP0025=NEW is passed to cmake).

ryandesign avatar Jul 10 '23 03:07 ryandesign