In CMake, add/link the Carbon
library to the executable
FIND_LIBRARY(CARBON_LIBRARY Carbon)
set(EXTRA_LIBS
${CARBON_LIBRARY}
Make sure to add ${CARBON_LIBRARY}
in the TARGET_LINK_LIBRARIES
call for the executable.
Then create a file to hold the Object-C code, in this case changetitlebarcolor.mm